Skip to content

Commit d37ee81

Browse files
authored
Git - l10n discard changes dialogs (microsoft#254366)
1 parent 1459561 commit d37ee81

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

extensions/git/src/commands.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,8 +2247,8 @@ export class CommandCenter {
22472247

22482248
const messageWarning = !discardUntrackedChangesToTrash
22492249
? resources.length === 1
2250-
? '\n\nThis is IRREVERSIBLE!\nThis file will be FOREVER LOST if you proceed.'
2251-
: '\n\nThis is IRREVERSIBLE!\nThese files will be FOREVER LOST if you proceed.'
2250+
? '\n\n' + l10n.t('This is IRREVERSIBLE!\nThis file will be FOREVER LOST if you proceed.')
2251+
: '\n\n' + l10n.t('This is IRREVERSIBLE!\nThese files will be FOREVER LOST if you proceed.')
22522252
: '';
22532253

22542254
const message = resources.length === 1
@@ -2258,11 +2258,11 @@ export class CommandCenter {
22582258
const messageDetail = discardUntrackedChangesToTrash
22592259
? isWindows
22602260
? resources.length === 1
2261-
? 'You can restore this file from the Recycle Bin.'
2262-
: 'You can restore these files from the Recycle Bin.'
2261+
? l10n.t('You can restore this file from the Recycle Bin.')
2262+
: l10n.t('You can restore these files from the Recycle Bin.')
22632263
: resources.length === 1
2264-
? 'You can restore this file from the Trash.'
2265-
: 'You can restore these files from the Trash.'
2264+
? l10n.t('You can restore this file from the Trash.')
2265+
: l10n.t('You can restore these files from the Trash.')
22662266
: '';
22672267

22682268
const primaryAction = discardUntrackedChangesToTrash

0 commit comments

Comments
 (0)