mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Update to XLF file names and LCL files (#24135)
* added changes to gulpfile and locfunc along with updated lcls * Added Portuguese updated lcls * added last batch of renamed lcl files * added renamed XLF files
This commit is contained in:
@@ -155,34 +155,34 @@ gulp.task(optimizeVSCodeTask);
|
||||
|
||||
// List of ADS extension XLF files that we want to put into the English resource folder.
|
||||
const extensionsFilter = filter([
|
||||
'**/admin-tool-ext-win.xlf',
|
||||
'**/agent.xlf',
|
||||
'**/arc.xlf',
|
||||
'**/asde-deployment.xlf',
|
||||
'**/azcli.xlf',
|
||||
'**/azurecore.xlf',
|
||||
'**/azuremonitor.xlf',
|
||||
'**/cms.xlf',
|
||||
'**/context-monitor.xlf',
|
||||
'**/dacpac.xlf',
|
||||
'**/data-workspace.xlf',
|
||||
'**/datavirtualization.xlf',
|
||||
'**/git.xlf',
|
||||
'**/import.xlf',
|
||||
'**/kusto.xlf',
|
||||
'**/machine-learning.xlf',
|
||||
'**/mssql.xlf',
|
||||
'**/notebook.xlf',
|
||||
'**/profiler.xlf',
|
||||
'**/query-history.xlf',
|
||||
'**/query-store.xlf',
|
||||
'**/resource-deployment.xlf',
|
||||
'**/schema-compare.xlf',
|
||||
'**/server-report.xlf',
|
||||
'**/sql-assessment.xlf',
|
||||
'**/sql-bindings.xlf',
|
||||
'**/sql-database-projects.xlf',
|
||||
'**/sql-migration.xlf'
|
||||
'**/Microsoft.admin-tool-ext-win.xlf',
|
||||
'**/Microsoft.agent.xlf',
|
||||
'**/Microsoft.arc.xlf',
|
||||
'**/Microsoft.asde-deployment.xlf',
|
||||
'**/Microsoft.azcli.xlf',
|
||||
'**/Microsoft.azurecore.xlf',
|
||||
'**/Microsoft.azuremonitor.xlf',
|
||||
'**/Microsoft.cms.xlf',
|
||||
'**/Microsoft.context-builder.xlf',
|
||||
'**/Microsoft.dacpac.xlf',
|
||||
'**/Microsoft.data-workspace.xlf',
|
||||
'**/Microsoft.datavirtualization.xlf',
|
||||
'**/Microsoft.import.xlf',
|
||||
'**/Microsoft.kusto.xlf',
|
||||
'**/Microsoft.machine-learning.xlf',
|
||||
'**/Microsoft.mssql.xlf',
|
||||
'**/Microsoft.notebook.xlf',
|
||||
'**/Microsoft.profiler.xlf',
|
||||
'**/Microsoft.query-history.xlf',
|
||||
'**/Microsoft.query-store.xlf',
|
||||
'**/Microsoft.resource-deployment.xlf',
|
||||
'**/Microsoft.schema-compare.xlf',
|
||||
'**/Microsoft.server-report.xlf',
|
||||
'**/Microsoft.sql-assessment.xlf',
|
||||
'**/Microsoft.sql-database-projects.xlf',
|
||||
'**/Microsoft.sql-migration.xlf',
|
||||
'**/ms-mssql.sql-bindings-vscode.xlf',
|
||||
'**/vscode.git.xlf',
|
||||
]);
|
||||
|
||||
// Copy ADS extension XLFs into English resource folder.
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -19,11 +19,6 @@ import * as vfs from 'vinyl-fs';
|
||||
* If you need to compile this file for any changes, please run: yarn tsc -p ./build/tsconfig.json
|
||||
*/
|
||||
|
||||
//List of extensions that we changed from vscode, so we can exclude them from having "Microsoft." appended in front.
|
||||
const alteredVSCodeExtensions = [
|
||||
'git'
|
||||
];
|
||||
|
||||
const root = path.dirname(path.dirname(__dirname));
|
||||
|
||||
// Modified packageLocalExtensionsStream from extensions.ts, but for langpacks.
|
||||
@@ -154,13 +149,7 @@ export function modifyI18nPackFiles(existingTranslationFolder: string, resulting
|
||||
for (let extension in extensionsPacks) {
|
||||
const translatedExtFile = i18n.createI18nFile(`extensions/${extension}`, extensionsPacks[extension]);
|
||||
this.queue(translatedExtFile);
|
||||
let adsExtensionId = 'Microsoft.' + extension;
|
||||
// Exclude altered vscode extensions from having a new id, as it's identified this way in ADS.
|
||||
// We will use ADS's i18n file for actual translations.
|
||||
if (alteredVSCodeExtensions.indexOf(extension) !== -1) {
|
||||
adsExtensionId = 'vscode.' + extension;
|
||||
}
|
||||
resultingTranslationPaths.push({ id: adsExtensionId, resourceName: `extensions/${extension}.i18n.json` });
|
||||
resultingTranslationPaths.push({ id: extension, resourceName: `extensions/${extension}.i18n.json` });
|
||||
}
|
||||
this.queue(null);
|
||||
})
|
||||
@@ -190,7 +179,6 @@ const VSCODEExtensions = [
|
||||
"git-base",
|
||||
"github",
|
||||
"github-authentication",
|
||||
"image-preview",
|
||||
"ipynb",
|
||||
"javascript",
|
||||
"json",
|
||||
|
||||
Reference in New Issue
Block a user