mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
clarify && in nls comments
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user