mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-30 09:35:39 -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:
@@ -44,7 +44,7 @@ export interface ManageActionContext extends BaseActionContext {
|
||||
// --- actions
|
||||
export class NewQueryAction extends Task {
|
||||
public static ID = 'newQuery';
|
||||
public static LABEL = nls.localize('newQuery', 'New Query');
|
||||
public static LABEL = nls.localize('newQueryAction.newQuery', 'New Query');
|
||||
public static ICON = 'new-query';
|
||||
|
||||
constructor() {
|
||||
@@ -281,7 +281,7 @@ export class ScriptDeleteAction extends Action {
|
||||
|
||||
export class BackupAction extends Task {
|
||||
public static readonly ID = Constants.BackupFeatureName;
|
||||
public static readonly LABEL = nls.localize('backup', 'Backup');
|
||||
public static readonly LABEL = nls.localize('backupAction.backup', 'Backup');
|
||||
public static readonly ICON = Constants.BackupFeatureName;
|
||||
|
||||
constructor() {
|
||||
@@ -307,7 +307,7 @@ export class BackupAction extends Task {
|
||||
|
||||
export class RestoreAction extends Task {
|
||||
public static readonly ID = Constants.RestoreFeatureName;
|
||||
public static readonly LABEL = nls.localize('restore', 'Restore');
|
||||
public static readonly LABEL = nls.localize('restoreAction.restore', 'Restore');
|
||||
public static readonly ICON = Constants.RestoreFeatureName;
|
||||
|
||||
constructor() {
|
||||
|
||||
@@ -49,8 +49,8 @@ export class ErrorMessageDialog extends Modal {
|
||||
@IContextKeyService contextKeyService: IContextKeyService
|
||||
) {
|
||||
super('', TelemetryKeys.ErrorMessage, partService, telemetryService, contextKeyService, { isFlyout: false, hasTitleIcon: true });
|
||||
this._okLabel = localize('OK', 'OK');
|
||||
this._closeLabel = localize('close', 'Close');
|
||||
this._okLabel = localize('errorMessageDialog.ok', 'OK');
|
||||
this._closeLabel = localize('errorMessageDialog.close', 'Close');
|
||||
}
|
||||
|
||||
protected renderBody(container: HTMLElement) {
|
||||
|
||||
Reference in New Issue
Block a user