mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Carbon Edit Strings moved to Sql Folder (#15884)
* added first strings * added more localized files * translated all strings in vscode * added exported strings to editStrings * updated files * more changes * moved to base
This commit is contained in:
@@ -7,6 +7,7 @@ import { Registry } from 'vs/platform/registry/common/platform';
|
||||
import { IConfigurationRegistry, Extensions as ConfigurationExtensions, ConfigurationScope } from 'vs/platform/configuration/common/configurationRegistry';
|
||||
import { localize } from 'vs/nls';
|
||||
import { isWindows, isWeb } from 'vs/base/common/platform';
|
||||
import * as locConstants from 'sql/base/common/locConstants'; // {{SQL CARBON EDIT}}
|
||||
|
||||
const configurationRegistry = Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration);
|
||||
configurationRegistry.registerConfiguration({
|
||||
@@ -26,7 +27,7 @@ configurationRegistry.registerConfiguration({
|
||||
localize('none', "Disable updates."),
|
||||
localize('manual', "Disable automatic background update checks. Updates will be available if you manually check for updates."),
|
||||
localize('start', "Check for updates only on startup. Disable automatic background update checks."),
|
||||
localize('default', "Enable automatic update checks. Azure Data Studio will check for updates automatically and periodically.") // {{SQL CARBON EDIT}} Change product name to ADS
|
||||
locConstants.updateConfigContributionDefault // {{SQL CARBON EDIT}} Change product name to ADS
|
||||
]
|
||||
},
|
||||
'update.channel': {
|
||||
@@ -41,14 +42,14 @@ configurationRegistry.registerConfiguration({
|
||||
default: true,
|
||||
scope: ConfigurationScope.APPLICATION,
|
||||
title: localize('enableWindowsBackgroundUpdatesTitle', "Enable Background Updates on Windows"),
|
||||
description: localize('enableWindowsBackgroundUpdates', "Enable to download and install new Azure Data Studio Versions in the background on Windows"), // {{SQL CARBON EDIT}} Change product name to ADS
|
||||
description: locConstants.updateConfigContributionEnableWindowsBackgroundUpdates, // {{SQL CARBON EDIT}} Change product name to ADS
|
||||
included: isWindows && !isWeb
|
||||
},
|
||||
'update.showReleaseNotes': {
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
scope: ConfigurationScope.APPLICATION,
|
||||
description: localize('showReleaseNotes', "Show Release Notes after an update. The Release Notes are opened in a new web browser window."), // {{SQL CARBON EDIT}} Update text to be correct for ADS
|
||||
description: locConstants.updateConfigContributionShowReleaseNotes, // {{SQL CARBON EDIT}} Update text to be correct for ADS
|
||||
tags: ['usesOnlineServices']
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user