diff --git a/common/translations-cli/helpers.js b/common/translations-cli/helpers.js index b153eb6f9..fca2eeec8 100644 --- a/common/translations-cli/helpers.js +++ b/common/translations-cli/helpers.js @@ -30,6 +30,10 @@ async function getFiles(dir, extensions) { if (stats.isDirectory()) { return getFiles(filePath, extensions); } else if (stats.isFile() && hasValidExtension(file, extensions)) { + const slashPath = filePath.replace(/\\/g, '/'); + if (slashPath.includes('/node_modules/') || slashPath.includes('/build/')) { + return null; + } return filePath; } return null; diff --git a/translations/en.json b/translations/en.json index e7e65e679..bf1eaf46d 100644 --- a/translations/en.json +++ b/translations/en.json @@ -40,6 +40,18 @@ "common.refresh": "Refresh", "common.save": "Save", "common.schema": "Schema", + "connection.connect": "Connect", + "connection.createDatabase": "Create database", + "connection.databaseName": "Database name", + "connection.delete": "Delete", + "connection.disconnect": "Disconnect", + "connection.duplicate": "Duplicate", + "connection.edit": "Edit", + "connection.newQuery": "New Query (server)", + "connection.refresh": "Refresh", + "connection.serverSummary": "Server summary", + "connection.sqlRestore": "Restore/import SQL dump", + "connection.viewDetails": "View details", "error.driverNotFound": "Invalid database connection, driver not found", "importExport.sourceFiles": "Source files", "importExport.tablesViewsCollections": "Tables / views / collections",