Skip to content

Commit 3104db4

Browse files
slight copy change for display language dialog (microsoft#154402)
slight copy change
1 parent 274aed0 commit 3104db4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/vs/workbench/contrib/localization/browser/localeService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class WebLocaleService implements ILocaleService {
3333

3434
const restartDialog = await this.dialogService.confirm({
3535
type: 'info',
36-
message: localize('relaunchDisplayLanguageMessage', "{0} needs to reload to change the display language", this.productService.nameLong),
36+
message: localize('relaunchDisplayLanguageMessage', "To change the display language, {0} needs to reload", this.productService.nameLong),
3737
detail: localize('relaunchDisplayLanguageDetail', "Press the reload button to refresh the page and set the display language to {0}.", languagePackItem.label),
3838
primaryButton: localize({ key: 'reload', comment: ['&& denotes a mnemonic character'] }, "&&Reload"),
3939
});
@@ -52,7 +52,7 @@ export class WebLocaleService implements ILocaleService {
5252

5353
const restartDialog = await this.dialogService.confirm({
5454
type: 'info',
55-
message: localize('clearDisplayLanguageMessage', "{0} needs to reload to change the display language", this.productService.nameLong),
55+
message: localize('clearDisplayLanguageMessage', "To change the display language, {0} needs to reload", this.productService.nameLong),
5656
detail: localize('clearDisplayLanguageDetail', "Press the reload button to refresh the page and use your browser's language."),
5757
primaryButton: localize({ key: 'reload', comment: ['&& denotes a mnemonic character'] }, "&&Reload"),
5858
});

src/vs/workbench/contrib/localization/electron-sandbox/localeService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export class NativeLocaleService implements ILocaleService {
130130
private async showRestartDialog(languageName: string) {
131131
const restartDialog = await this.dialogService.confirm({
132132
type: 'info',
133-
message: localize('restartDisplayLanguageMessage', "{0} needs to restart to change the display language", this.productService.nameLong),
133+
message: localize('restartDisplayLanguageMessage', "To change the display language, {0} needs to restart", this.productService.nameLong),
134134
detail: localize(
135135
'restartDisplayLanguageDetail',
136136
"Press the restart button to restart {0} and set the display language to {1}.",

0 commit comments

Comments
 (0)