提交 34b51f47 编写于 作者: B Benjamin Pasero

[loc][Query][DevDiv] Please clarify placeholders "{0} ({1})" (fixes #4910)

上级 cbf2c7a2
......@@ -262,7 +262,7 @@ export class ActionItem extends BaseActionItem {
title = this.getAction().label;
if (this.options.keybinding) {
title = nls.localize('titleLabel', "{0} ({1})", title, this.options.keybinding);
title = nls.localize({ key: 'titleLabel', comment: ['action title', 'action keybinding']}, "{0} ({1})", title, this.options.keybinding);
}
}
......
......@@ -771,7 +771,7 @@ export class SideBySideEditorControl extends EventEmitter implements IVerticalSa
// Decoration
let titleLabel = (input && input.getName()) || '';
if (status && status.decoration) {
titleLabel = nls.localize({ key: 'inputDecoration', comment: ['Editor decoration (left) to editor title (right)'] }, "{0} {1}", status.decoration, titleLabel);
titleLabel = nls.localize({ key: 'inputDecoration', comment: ['editor status indicator (e.g. dirty indicator)', 'editor input title'] }, "{0} {1}", status.decoration, titleLabel);
}
this.titleLabel[position].safeInnerHtml(titleLabel);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册