提交 b939d908 编写于 作者: B Benjamin Pasero

fix #40224

上级 b5bf2f90
......@@ -1448,7 +1448,7 @@ export class CommandCenter {
if (shouldPrompt) {
const message = localize('sync is unpredictable', "This action will push and pull commits to and from '{0}'.", HEAD.upstream);
const yes = localize('ok', "OK");
const neverAgain = localize('never again', "OK, Never Show Again");
const neverAgain = localize('never again', "OK, Don't Show Again");
const pick = await window.showWarningMessage(message, { modal: true }, yes, neverAgain);
if (pick === neverAgain) {
......
......@@ -77,7 +77,7 @@ async function _activate(context: ExtensionContext, disposables: Disposable[]):
outputChannel.show();
const download = localize('downloadgit', "Download Git");
const neverShowAgain = localize('neverShowAgain', "Don't show again");
const neverShowAgain = localize('neverShowAgain', "Don't Show Again");
const choice = await window.showWarningMessage(
localize('notfound', "Git not found. Install it or configure it using the 'git.path' setting."),
download,
......@@ -116,7 +116,7 @@ async function checkGitVersion(info: IGit): Promise<void> {
}
const update = localize('updateGit', "Update Git");
const neverShowAgain = localize('neverShowAgain', "Don't show again");
const neverShowAgain = localize('neverShowAgain', "Don't Show Again");
const choice = await window.showWarningMessage(
localize('git20', "You seem to have git {0} installed. Code works best with git >= 2", info.version),
......
......@@ -916,7 +916,7 @@ export class Repository implements Disposable {
if (didHitLimit && !shouldIgnore && !this.didWarnAboutLimit) {
const ok = { title: localize('ok', "OK"), isCloseAffordance: true };
const neverAgain = { title: localize('neveragain', "Never Show Again") };
const neverAgain = { title: localize('neveragain', "Don't Show Again") };
window.showWarningMessage(localize('huge', "The git repository at '{0}' has too many active changes, only a subset of Git features will be enabled.", this.repository.root), ok, neverAgain).then(result => {
if (result === neverAgain) {
......
......@@ -97,7 +97,7 @@ export class IntegrityServiceImpl implements IIntegrityService {
);
const dontShowAgainAction = new Action(
'integrity.dontShowAgain',
nls.localize('integrity.dontShowAgain', "Don't show again"),
nls.localize('integrity.dontShowAgain', "Don't Show Again"),
null,
true,
() => {
......
......@@ -109,7 +109,7 @@ class WordWrapMigrationController extends Disposable implements IEditorContribut
);
const dontShowAgainAction = new Action(
'wordWrapMigration.dontShowAgain',
nls.localize('wordWrapMigration.dontShowAgain', "Don't show again"),
nls.localize('wordWrapMigration.dontShowAgain', "Don't Show Again"),
null,
true,
() => {
......
......@@ -310,7 +310,7 @@ export class ExtensionTipsService extends Disposable implements IExtensionTipsSe
const options = [
localize('install', 'Install'),
recommendationsAction.label,
localize('neverShowAgain', "Don't show again"),
localize('neverShowAgain', "Don't Show Again"),
localize('close', "Close")
];
......@@ -395,7 +395,7 @@ export class ExtensionTipsService extends Disposable implements IExtensionTipsSe
const options = [
installAllAction.label,
showAction.label,
localize('neverShowAgain', "Don't show again"),
localize('neverShowAgain', "Don't Show Again"),
localize('close', "Close")
];
......
......@@ -121,7 +121,7 @@ export class TerminalService extends AbstractTerminalService implements ITermina
}
const message = nls.localize('terminal.integrated.chooseWindowsShellInfo', "You can change the default terminal shell by selecting the customize button.");
const options = [nls.localize('customize', "Customize"), nls.localize('cancel', "Cancel"), nls.localize('never again', "OK, Never Show Again")];
const options = [nls.localize('customize', "Customize"), nls.localize('cancel', "Cancel"), nls.localize('never again', "OK, Don't Show Again")];
this._choiceService.choose(Severity.Info, message, options, 1).then(choice => {
switch (choice) {
case 0:
......
......@@ -241,7 +241,7 @@ class NeverShowAgain {
private readonly key: string;
readonly action = new Action(`neverShowAgain:${this.key}`, nls.localize('neveragain', "Never Show Again"), undefined, true, () => {
readonly action = new Action(`neverShowAgain:${this.key}`, nls.localize('neveragain', "Don't Show Again"), undefined, true, () => {
return TPromise.wrap(this.storageService.store(this.key, true, StorageScope.GLOBAL));
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册