Change:
Issue Type: <bBug</bGo to menu affichage apparence afficher la barre latérale secondaire L'item indique ceci " afficher la bar&re latérale secondaire" Un petit And & se balade Have a nice day VS Code version: Code 1.67.1 (, 2022-05-06T12:37:03.389Z) OS version: WindowsNT x64 10.0. Restricted Mode: No <details<summarySystem Info</summary </details<details<summaryExtensions (3)</summaryExtensionVersion ------ copilot1.20.5902 vscode-pull-request-github0.42.0 vscode-language-pack-fr1.67.3 </details<details<summaryA/B Experiments</summary</details<!-- generated by issue reporter --
the translation lacks an extra ampersand to turn this into a mnemonic <img width="501" alt="image" src="https://user-"
can you ensure there's a comment that says "don't touch the ampersand"? Additionally, you can add another comment in the form of: to ensure that they do not get "translated". See this example:
I have the same comment in 275 places across the code base And this is the string
Best I can do is ask for the string to be updated manually to ensure is not translated... but that won't prevent this from happening in the future due to human error. better is using a locked comment like the one above... could also have the be a runtime string instead... but really we need language-aware mnemonics where the position of the changes based on the language but I'm not sure if there's a process for that. do you know?
so I add? what kind of enforcement does this do? does it just force that a mnemonic exists? its not really required that a translation contains a mnemonic even if the original does
I believe it forces that it exists, though or are experts here.
I know a little bit more... this does basically "fail the string" until it meets the criteria of "there should be a somewhere in the string and a translator looks at this. did you get the chance to add this to the comments?

Discussion:
id: 'editor.action.toggleStickyScroll', title: { value: localize('toggleStickyScroll', "Toggle Sticky Scroll"), <del> mnemonicTitle: localize('mitoggleStickyScroll', "&&Toggle Sticky Scroll"), </del> <ins> mnemonicTitle: localize({ key: 'mitoggleStickyScroll', comment: ['&& denotes a mnemonic'] }, "&&Toggle Sticky Scroll"), </ins> original: 'Toggle Sticky Scroll', }, category: Categories.View, toggled: { condition: ContextKeyExpr.equals('config.editor.stickyScroll.enabled', true), title: localize('stickyScroll', "Sticky Scroll"), <del> mnemonicTitle: localize('miStickyScroll', "&&Sticky Scroll"), </del> <ins> mnemonicTitle: localize({ key: 'miStickyScroll', comment: ['&& denotes a mnemonic'] }, "&&Sticky Scroll"), </ins> }, menu: [ { id: MenuId.CommandPalette },

toggled: { condition: SideBarVisibleContext, title: localize('primary sidebar', "Primary Side Bar"), <del> mnemonicTitle: localize('primary sidebar mnemonic', "&&Primary Side Bar"), </del> <ins> mnemonicTitle: localize({ key: 'primary sidebar mnemonic', comment: ['&& denotes a mnemonic'] }, "&&Primary Side Bar"), </ins> }, category: Categories.View, f1: true,

id: 'workbench.action.toggleZenMode', title: { value: localize('toggleZenMode', "Toggle Zen Mode"), <del> mnemonicTitle: localize('miToggleZenMode', "Zen Mode"), </del> <ins> mnemonicTitle: localize({ key: 'miToggleZenMode', comment: ['&& denotes a mnemonic'] }, "Zen Mode"), </ins> original: 'Toggle Zen Mode' }, category: Categories.View,

toggled: { condition: AuxiliaryBarVisibleContext, title: localize('secondary sidebar', "Secondary Side Bar"), <del> mnemonicTitle: localize('secondary sidebar mnemonic', "Secondary Si&&de Bar"), </del> <ins> mnemonicTitle: localize({ key: 'secondary sidebar mnemonic', comment: ['&& denotes a mnemonic'] }, "Secondary Si&&de Bar"), </ins> }, category: Categories.View,

id: 'breadcrumbs.toggle', title: { value: localize('cmd.toggle', "Toggle Breadcrumbs"), <del> mnemonicTitle: localize('miBreadcrumbs', "Toggle &&Breadcrumbs"), </del> <ins> mnemonicTitle: localize({ key: 'miBreadcrumbs', comment: ['&& denotes a mnemonic'] }, "Toggle &&Breadcrumbs"), </ins> original: 'Toggle Breadcrumbs', }, category: Categories.View, toggled: { condition: ContextKeyExpr.equals('config.breadcrumbs.enabled', true), title: localize('cmd.toggle2', "Breadcrumbs"), <del> mnemonicTitle: localize('miBreadcrumbs2', "&&Breadcrumbs") </del> <ins> mnemonicTitle: localize({ key: 'miBreadcrumbs2', comment: ['&& denotes a mnemonic'] }, "&&Breadcrumbs") </ins> }, menu: [ { id: MenuId.CommandPalette },

toggled: { condition: PanelVisibleContext, title: localize('toggle panel', "Panel"), <del> mnemonicTitle: localize('toggle panel mnemonic', "&&Panel"), </del> <ins> mnemonicTitle: localize({ key: 'toggle panel mnemonic', comment: ['&& denotes a mnemonic'] }, "&&Panel"), </ins> }, f1: true, category: Categories.View,

title: { value: 'Preferences', original: 'Preferences', <del> mnemonicTitle: localize('mPreferences', "Preferences") </del> <ins> mnemonicTitle: localize({ key: 'mPreferences', comment: ['&& denotes a mnemonic'] }, "Preferences") </ins> }, when: IsMacNativeContext, order: 9

id: ShowCurrentReleaseNotesActionId, title: { value: localize('showReleaseNotes', "Show Release Notes"), <del> mnemonicTitle: localize('mshowReleaseNotes', "Show &&Release Notes"), </del> <ins> mnemonicTitle: localize({ key: 'mshowReleaseNotes', comment: ['&& denotes a mnemonic'] }, "Show &&Release Notes"), </ins> original: 'Show Release Notes' }, category: { value: product.nameShort, original: product.nameShort },