[Loc] fixes for gulpfile and update to SQL xlf (#23621)

This commit is contained in:
Alex Ma 2023-07-03 12:05:50 -07:00 коммит произвёл GitHub
Родитель d98470e34e
Коммит 0a6902eafc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 49 добавлений и 38 удалений

Просмотреть файл

@ -282,7 +282,7 @@ gulp.task(packageLocalizationExtensionsTask);
const compileLocalizationExtensionsBuildTask = task.define('compile-localization-extensions-build', task.series(
cleanExtensionsBuildTask,
compileExtensionsTask,
task.define('bundle-marketplace-extensions-build', () => ext.packageMarketplaceExtensionsStream(false, product.extensionsGallery?.serviceUrl).pipe(gulp.dest('.build'))),
task.define('bundle-marketplace-extensions-build', () => ext.packageMarketplaceExtensionsStream(false).pipe(gulp.dest('.build'))),
packageLocalizationExtensionsTask,
));

Просмотреть файл

@ -579,12 +579,12 @@ const vscodeTranslationsExport = task.define(
compileLocalizationExtensionsBuildTask, // {{SQL CARBON EDIT}} now include all extensions in ADS, not just a subset. (replaces 'compileExtensionsBuildTask' here).
function () {
const pathToMetadata = './out-vscode/nls.metadata.json';
const pathToRehWebMetadata = './out-vscode-reh-web/nls.metadata.json';
//const pathToRehWebMetadata = './out-vscode-reh-web/nls.metadata.json'; // Disabling as web build is no longer done.
const pathToExtensions = '.build/extensions/*';
const pathToSetup = 'build/win32/i18n/messages.en.isl';
return es.merge(
gulp.src([pathToMetadata, pathToRehWebMetadata]).pipe(merge({
gulp.src([pathToMetadata]).pipe(merge({ // [pathToMetadata, pathToRehWebMetadata] (use when web build is enabled).
fileName: 'nls.metadata.json',
jsonSpace: '',
concatArrays: true

Просмотреть файл

@ -4181,10 +4181,7 @@ Error: {1}</source>
</body></file>
<file original="src/sql/workbench/contrib/objectExplorer/browser/serverTreeView" source-language="en" datatype="plaintext"><body>
<trans-unit id="objectExplorer.filterDialogTitle">
<source xml:lang="en">(Preview) Filter Settings: {0}</source>
</trans-unit>
<trans-unit id="objectExplorer.nodePath">
<source xml:lang="en">Node Path: {0}</source>
<source xml:lang="en">Filter Settings</source>
</trans-unit>
<trans-unit id="serverTree.newConnection">
<source xml:lang="en">New Connection</source>
@ -4203,6 +4200,9 @@ Error: {1}</source>
</trans-unit>
</body></file>
<file original="src/sql/workbench/contrib/objectExplorer/common/serverGroup.contribution" source-language="en" datatype="plaintext"><body>
<trans-unit id="objectExplorerConfigurationTitle">
<source xml:lang="en">Object Explorer</source>
</trans-unit>
<trans-unit id="serverGroup.autoExpand">
<source xml:lang="en">Auto-expand Server Groups in the Object Explorer viewlet.</source>
</trans-unit>
@ -4235,6 +4235,9 @@ Error: {1}</source>
<trans-unit id="notebook">
<source xml:lang="en">Notebook</source>
</trans-unit>
<trans-unit id="objectExplorer">
<source xml:lang="en">Object Explorer</source>
</trans-unit>
<trans-unit id="profiler">
<source xml:lang="en">Profiler</source>
</trans-unit>
@ -4634,6 +4637,9 @@ Error: {1}</source>
<trans-unit id="queryEditor.results.showActionBar">
<source xml:lang="en">Whether to show the action bar in the query results view</source>
</trans-unit>
<trans-unit id="queryEditor.results.skipNewLineAfterTrailingLineBreak">
<source xml:lang="en">Whether to skip adding a line break between rows when copying results if the previous row already has a trailing line break. The default value is false.</source>
</trans-unit>
<trans-unit id="queryEditor.results.streaming">
<source xml:lang="en">Enable results streaming; contains few minor visual issues</source>
</trans-unit>
@ -4926,13 +4932,13 @@ Error: {1}</source>
<source xml:lang="en">An error occurred refreshing node '{0}': {1}</source>
</trans-unit>
<trans-unit id="scriptActionError">
<source xml:lang="en">An error occurred while executing the action: {0}.</source>
<source xml:lang="en">An error occurred while executing the action '{0}': {1}.</source>
</trans-unit>
<trans-unit id="scriptingAction.close">
<source xml:lang="en">Close</source>
</trans-unit>
<trans-unit id="scriptingAction.inProgress">
<source xml:lang="en">Generating script...</source>
<source xml:lang="en">Executing action: {0}...</source>
</trans-unit>
</body></file>
<file original="src/sql/workbench/contrib/tableDesigner/browser/actions" source-language="en" datatype="plaintext"><body>
@ -4954,9 +4960,6 @@ Error: {1}</source>
<trans-unit id="tasks">
<source xml:lang="en">Tasks</source>
</trans-unit>
<trans-unit id="viewCategory">
<source xml:lang="en">View</source>
</trans-unit>
</body></file>
<file original="src/sql/workbench/contrib/tasks/browser/tasksActions" source-language="en" datatype="plaintext"><body>
<trans-unit id="toggleTasks">
@ -5030,6 +5033,15 @@ Error: {1}</source>
<trans-unit id="refresh">
<source xml:lang="en">Refresh</source>
</trans-unit>
<trans-unit id="treeView.enableCollapseAll">
<source xml:lang="en">Whether the the tree view with id {0} enables collapse all.</source>
</trans-unit>
<trans-unit id="treeView.enableRefresh">
<source xml:lang="en">Whether the tree view with id {0} enables refresh.</source>
</trans-unit>
<trans-unit id="treeView.toggleCollapseAll">
<source xml:lang="en">Whether collapse all is toggled for the tree view with id {0}.</source>
</trans-unit>
</body></file>
<file original="src/sql/workbench/contrib/webview/browser/webViewDialog" source-language="en" datatype="plaintext"><body>
<trans-unit id="webViewDialog.close">
@ -5188,9 +5200,6 @@ Error: {1}</source>
<trans-unit id="guidedTour">
<source xml:lang="en">User Welcome Tour</source>
</trans-unit>
<trans-unit id="help">
<source xml:lang="en">Help</source>
</trans-unit>
<trans-unit id="hideGuidedTour">
<source xml:lang="en">Hide Welcome Tour</source>
</trans-unit>
@ -5352,6 +5361,17 @@ Error: {1}</source>
<source xml:lang="en">Open the welcome page with Getting Started Tour (default)</source>
<note>This is the description for a setting. Values surrounded by single quotes are not to be translated.</note>
</trans-unit>
</body></file>
<file original="src/sql/workbench/contrib/welcome/telemetryOptOut/browser/telemetryOptOut" source-language="en" datatype="plaintext"><body>
<trans-unit id="telemetryOptOut.optInNotice">
<source xml:lang="en">Help improve Azure Data Studio by allowing Microsoft to collect usage data. Read our [privacy statement]({0}) and learn how to [opt in]({1}).</source>
</trans-unit>
<trans-unit id="telemetryOptOut.optOutNotice">
<source xml:lang="en">Help improve Azure Data Studio by allowing Microsoft to collect usage data. Read our [privacy statement]({0}) and learn how to [opt out]({1}).</source>
</trans-unit>
<trans-unit id="telemetryOptOut.readMore">
<source xml:lang="en">Read More</source>
</trans-unit>
</body></file>
<file original="src/sql/workbench/services/accountManagement/browser/accountDialog" source-language="en" datatype="plaintext"><body>
<trans-unit id="accountDialog.addConnection">
@ -6278,12 +6298,6 @@ Error Message: {1}</source>
<trans-unit id="deleteConnectionConfirmation">
<source xml:lang="en">Are you sure you want to delete connection '{0}'?</source>
</trans-unit>
<trans-unit id="deleteConnectionConfirmationNo">
<source xml:lang="en">No</source>
</trans-unit>
<trans-unit id="deleteConnectionConfirmationYes">
<source xml:lang="en">Yes</source>
</trans-unit>
<trans-unit id="deleteConnectionGroup">
<source xml:lang="en">Delete Group</source>
</trans-unit>
@ -6291,7 +6305,7 @@ Error Message: {1}</source>
<source xml:lang="en">Are you sure you want to delete connection group '{0}'?</source>
</trans-unit>
<trans-unit id="objectExplorer.filterChildren">
<source xml:lang="en">Filter (Preview)</source>
<source xml:lang="en">Filter</source>
</trans-unit>
<trans-unit id="objectExplorer.removeFilter">
<source xml:lang="en">Remove Filter</source>
@ -6340,6 +6354,9 @@ Error Message: {1}</source>
<trans-unit id="objectExplorer.containsSelectBox">
<source xml:lang="en">Contains</source>
</trans-unit>
<trans-unit id="objectExplorer.endsWithSelectBox">
<source xml:lang="en">Ends With</source>
</trans-unit>
<trans-unit id="objectExplorer.equalsSelectBox">
<source xml:lang="en">Equals</source>
</trans-unit>
@ -6352,12 +6369,6 @@ Error Message: {1}</source>
<trans-unit id="objectExplorer.greaterThanSelectBox">
<source xml:lang="en">Greater Than</source>
</trans-unit>
<trans-unit id="objectExplorer.isNotNullSelectBox">
<source xml:lang="en">Is Not Null</source>
</trans-unit>
<trans-unit id="objectExplorer.isNullSelectBox">
<source xml:lang="en">Is Null</source>
</trans-unit>
<trans-unit id="objectExplorer.lessThanOrEqualsSelectBox">
<source xml:lang="en">Less Than Or Equals</source>
</trans-unit>
@ -6365,7 +6376,7 @@ Error Message: {1}</source>
<source xml:lang="en">Less Than</source>
</trans-unit>
<trans-unit id="objectExplorer.nodePath">
<source xml:lang="en">Node Path: {0}</source>
<source xml:lang="en">Path:</source>
</trans-unit>
<trans-unit id="objectExplorer.notBetweenSelectBox">
<source xml:lang="en">Not Between</source>
@ -6373,9 +6384,15 @@ Error Message: {1}</source>
<trans-unit id="objectExplorer.notContainsSelectBox">
<source xml:lang="en">Not Contains</source>
</trans-unit>
<trans-unit id="objectExplorer.notEndsWithSelectBox">
<source xml:lang="en">Not Ends With</source>
</trans-unit>
<trans-unit id="objectExplorer.notEqualsSelectBox">
<source xml:lang="en">Not Equals</source>
</trans-unit>
<trans-unit id="objectExplorer.notStartsWithSelectBox">
<source xml:lang="en">Not Starts With</source>
</trans-unit>
<trans-unit id="objectExplorer.okButtonText">
<source xml:lang="en">OK</source>
</trans-unit>
@ -6385,6 +6402,9 @@ Error Message: {1}</source>
<trans-unit id="objectExplorer.propertyNameColumnHeader">
<source xml:lang="en">Property</source>
</trans-unit>
<trans-unit id="objectExplorer.startsWithSelectBox">
<source xml:lang="en">Starts With</source>
</trans-unit>
<trans-unit id="objectExplorer.trueSelectBox">
<source xml:lang="en">True</source>
</trans-unit>
@ -7129,14 +7149,5 @@ Error Message: {1}</source>
<trans-unit id="taskService.yes">
<source xml:lang="en">Yes</source>
</trans-unit>
</body></file>
<file original="src/sql/workbench/update/electron-browser/gettingStarted" source-language="en" datatype="plaintext"><body>
<trans-unit id="miGettingStarted">
<source xml:lang="en">Getting &amp;&amp;Started</source>
<note>&amp;&amp; denotes a mnemonic</note>
</trans-unit>
<trans-unit id="showReleaseNotes">
<source xml:lang="en">Show Getting Started</source>
</trans-unit>
</body></file>
</xliff>