update wording, fixes #8396

This commit is contained in:
Johannes Rieken
2016-06-29 09:42:36 +02:00
parent 0421fa7e1d
commit b26c985148
@@ -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"));