mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fix duplicate localization ids (#803)
* Add sqlops-core loc project * Fix duplicate ids step 1 * Merge duplicate id changes. * A few more duplicate ids
This commit is contained in:
@@ -153,7 +153,7 @@ export class PinUnpinTabAction extends Action {
|
||||
|
||||
export class AddFeatureTabAction extends Action {
|
||||
private static readonly ID = 'openInstalledFeatures';
|
||||
private static readonly LABEL = nls.localize('openInstalledFeatures', "Open installed features");
|
||||
private static readonly LABEL = nls.localize('addFeatureAction.openInstalledFeatures', "Open installed features");
|
||||
private static readonly ICON = 'new';
|
||||
|
||||
private _disposables: IDisposable[] = [];
|
||||
|
||||
@@ -121,7 +121,7 @@ export class NewDashboardTabDialog extends Modal {
|
||||
@IContextKeyService contextKeyService: IContextKeyService
|
||||
) {
|
||||
super(
|
||||
localize('openInstalledFeatures', 'Open installed features'),
|
||||
localize('newDashboardTab.openInstalledFeatures', 'Open installed features'),
|
||||
TelemetryKeys.AddNewDashboardTab,
|
||||
partService,
|
||||
telemetryService,
|
||||
@@ -147,8 +147,8 @@ export class NewDashboardTabDialog extends Modal {
|
||||
super.render();
|
||||
attachModalDialogStyler(this, this._themeService);
|
||||
|
||||
this._addNewTabButton = this.addFooterButton(localize('ok', 'OK'), () => this.addNewTabs());
|
||||
this._cancelButton = this.addFooterButton(localize('cancel', 'Cancel'), () => this.cancel());
|
||||
this._addNewTabButton = this.addFooterButton(localize('newDashboardTab.ok', 'OK'), () => this.addNewTabs());
|
||||
this._cancelButton = this.addFooterButton(localize('newDashboardTab.cancel', 'Cancel'), () => this.cancel());
|
||||
this.registerListeners();
|
||||
}
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ export function generateDashboardTabSchema(type?: 'database' | 'server'): IJSONS
|
||||
properties: {
|
||||
tabId: {
|
||||
type: 'string',
|
||||
description: localize('sqlops.extension.contributes.dashboard.tab.id', "Unique identifier for this tab. Will be passed to the extension for any requests."),
|
||||
description: localize('sqlops.extension.contributes.dashboardPage.tab.id', "Unique identifier for this tab. Will be passed to the extension for any requests."),
|
||||
enum: [],
|
||||
enumDescriptions: [],
|
||||
errorMessage: localize('dashboardTabError', "Extension tab is unknown or not installed.")
|
||||
|
||||
Reference in New Issue
Block a user