mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -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:
@@ -108,7 +108,7 @@ registry.registerWorkbenchAction(
|
||||
TaskHistoryViewletAction.LABEL,
|
||||
{ primary: KeyMod.CtrlCmd | KeyCode.KEY_T }),
|
||||
'View: Show Task History',
|
||||
localize('view', "View")
|
||||
localize('taskHistory.view', "View")
|
||||
);
|
||||
|
||||
let configurationRegistry = <IConfigurationRegistry>Registry.as(Extensions.Configuration);
|
||||
|
||||
@@ -127,8 +127,8 @@ export class TaskService implements ITaskService {
|
||||
public beforeShutdown(): TPromise<boolean> {
|
||||
const message = localize('InProgressWarning', '1 or more tasks are in progress. Are you sure you want to quit?');
|
||||
const options = [
|
||||
localize('yes', "Yes"),
|
||||
localize('no', "No")
|
||||
localize('taskService.yes', "Yes"),
|
||||
localize('taskService.no', "No")
|
||||
];
|
||||
|
||||
return new TPromise<boolean>((resolve, reject) => {
|
||||
|
||||
@@ -14,7 +14,7 @@ import Severity from 'vs/base/common/severity';
|
||||
|
||||
export class CancelAction extends Action {
|
||||
public static ID = 'taskHistory.cancel';
|
||||
public static LABEL = localize('cancel', 'Cancel');
|
||||
public static LABEL = localize('cancelTask.cancel', 'Cancel');
|
||||
|
||||
constructor(
|
||||
id: string,
|
||||
@@ -48,7 +48,7 @@ export class CancelAction extends Action {
|
||||
|
||||
export class ScriptAction extends Action {
|
||||
public static ID = 'taskHistory.script';
|
||||
public static LABEL = localize('script', 'Script');
|
||||
public static LABEL = localize('taskAction.script', 'Script');
|
||||
|
||||
constructor(
|
||||
id: string,
|
||||
|
||||
@@ -94,7 +94,7 @@ export class TaskHistoryView {
|
||||
}, {
|
||||
indentPixels: 10,
|
||||
twistiePixels: 20,
|
||||
ariaLabel: nls.localize({ key: 'regTreeAriaLabel', comment: ['TaskHistory'] }, 'Task history')
|
||||
ariaLabel: nls.localize({ key: 'taskHistory.regTreeAriaLabel', comment: ['TaskHistory'] }, 'Task history')
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user