Notify user of need to restart code on locale change (#51400)

* Possible improvement for making it obvious that language change needs restart.

#50970.

* Try to make request to restart feel more right.

* Update message location.
This commit is contained in:
Jackson Kearl
2018-06-07 19:31:41 -07:00
committed by Ramya Rao
parent b9ca8da902
commit 54dfa445e1

View File

@@ -24,8 +24,8 @@ export class ConfigureLocaleAction extends Action {
'{',
`\t// ${localize('displayLanguage', 'Defines VSCode\'s display language.')}`,
`\t// ${localize('doc', 'See {0} for a list of supported languages.', 'https://go.microsoft.com/fwlink/?LinkId=761051')}`,
`\t// ${localize('restart', 'Changing the value requires restarting VSCode.')}`,
`\t"locale":"${language}"`,
`\t`,
`\t"locale":"${language}" // ${localize('restart', 'Changes will not take effect until VSCode has been restarted.')}`,
'}'
].join('\n');