clarify && in nls comments

This commit is contained in:
Benjamin Pasero
2016-03-18 09:49:09 +01:00
parent ce7de94138
commit 35fd228ffc
8 changed files with 140 additions and 132 deletions

View File

@@ -27,7 +27,7 @@ export class MessageService extends WorkbenchMessageService {
public confirm(confirmation: IConfirmation): boolean {
if (!confirmation.primaryButton) {
confirmation.primaryButton = nls.localize('yesButton', "&&Yes");
confirmation.primaryButton = nls.localize({ key: 'yesButton', comment: ['&& denotes a mnemonic'] }, "&&Yes");
}
if (!confirmation.secondaryButton) {