From e27dba1da3c358c184f5866d7d057b6b63234b02 Mon Sep 17 00:00:00 2001 From: isidor Date: Thu, 18 Feb 2016 09:35:07 +0100 Subject: [PATCH] lint: fix duplicate nls keys --- src/vs/workbench/electron-browser/darwin/cli.contribution.ts | 4 ++-- .../workbench/parts/debug/browser/debugEditorModelManager.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vs/workbench/electron-browser/darwin/cli.contribution.ts b/src/vs/workbench/electron-browser/darwin/cli.contribution.ts index 4d869f65836..4152bdc03aa 100644 --- a/src/vs/workbench/electron-browser/darwin/cli.contribution.ts +++ b/src/vs/workbench/electron-browser/darwin/cli.contribution.ts @@ -100,7 +100,7 @@ class InstallAction extends Action { }); } }) - .then(() => this.messageService.show(Severity.Info, nls.localize('success', "Shell command '{0}' successfully installed in PATH.", this.applicationName))); + .then(() => this.messageService.show(Severity.Info, nls.localize('successIn', "Shell command '{0}' successfully installed in PATH.", this.applicationName))); }); } @@ -181,7 +181,7 @@ class UninstallAction extends Action { run(): TPromise { return pfs.unlink(this.target) .then(null, ignore('ENOENT')) - .then(() => this.messageService.show(Severity.Info, nls.localize('success', "Shell command '{0}' successfully uninstalled from PATH.", this.applicationName))); + .then(() => this.messageService.show(Severity.Info, nls.localize('successFrom', "Shell command '{0}' successfully uninstalled from PATH.", this.applicationName))); } } diff --git a/src/vs/workbench/parts/debug/browser/debugEditorModelManager.ts b/src/vs/workbench/parts/debug/browser/debugEditorModelManager.ts index 04c6cf8a643..a856a908d7f 100644 --- a/src/vs/workbench/parts/debug/browser/debugEditorModelManager.ts +++ b/src/vs/workbench/parts/debug/browser/debugEditorModelManager.ts @@ -305,13 +305,13 @@ export class DebugEditorModelManager implements IWorkbenchContribution { private static BREAKPOINT_UNVERIFIED_DECORATION: editorcommon.IModelDecorationOptions = { glyphMarginClassName: 'debug-breakpoint-unverified-glyph', - hoverMessage: nls.localize('breakpointDisabledHover', "Unverified Breakpoint"), + hoverMessage: nls.localize('breakpointUnverifieddHover', "Unverified Breakpoint"), stickiness: editorcommon.TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges }; private static BREAKPOINT_DIRTY_DECORATION: editorcommon.IModelDecorationOptions = { glyphMarginClassName: 'debug-breakpoint-unverified-glyph', - hoverMessage: nls.localize('breakpointDisabledHover', "Unverified breakpoint. File is modified, please restart debug session."), + hoverMessage: nls.localize('breakpointDirtydHover', "Unverified breakpoint. File is modified, please restart debug session."), stickiness: editorcommon.TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges }; -- GitLab