提交 b26c9851 编写于 作者: J Johannes Rieken

update wording, fixes #8396

上级 0421fa7e
......@@ -254,10 +254,10 @@ ExtensionsRegistry.registerExtensionPoint<{ [loc: string]: IDeclaredMenuItem[] }
for (let item of entry.value) {
if (!MenuRegistry.hasCommand(item.command)) {
collector.warn(localize('missing.command', "Menu item references command `{0}` but is not defined in the `commands` section.", item.command));
collector.warn(localize('missing.command', "Menu item references a command `{0}` which is not defined in the 'commands' section.", item.command));
}
if (item.alt && !MenuRegistry.hasCommand(item.alt)) {
collector.warn(localize('missing.altCommand', "Menu item references alt-command `{0}` but is not defined in the `commands` section.", item.alt));
collector.warn(localize('missing.altCommand', "Menu item references an alt-command `{0}` which is not defined in the 'commands' section.", item.alt));
}
if (item.command || item.alt) {
collector.info(localize('dupe.command', "Menu item references the same command as default and alternative command"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册