Skip to content

Commit

Permalink
fix #40224
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Jan 16, 2018
1 parent b5bf2f9 commit b939d90
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion extensions/git/src/commands.ts
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions extensions/git/src/main.ts
Expand Up @@ -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,
Expand Down Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion extensions/git/src/repository.ts
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/vs/platform/integrity/node/integrityServiceImpl.ts
Expand Up @@ -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,
() => {
Expand Down
Expand Up @@ -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,
() => {
Expand Down
Expand Up @@ -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")
];

Expand Down Expand Up @@ -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")
];

Expand Down
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/parts/update/electron-browser/update.ts
Expand Up @@ -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));
});

Expand Down

0 comments on commit b939d90

Please sign in to comment.