diff --git a/extensions/git/package.nls.json b/extensions/git/package.nls.json index a9850cbb978..ae7b0dd7f02 100644 --- a/extensions/git/package.nls.json +++ b/extensions/git/package.nls.json @@ -11,8 +11,8 @@ "command.unstage": "Unstage File", "command.unstageAll": "Unstage All Files", "command.unstageSelectedRanges": "Unstage Selected Ranges", - "command.clean": "Clean File", - "command.cleanAll": "Clean All Files", + "command.clean": "Discard File", + "command.cleanAll": "Discard All Files", "command.commit": "Commit", "command.commitStaged": "Commit Staged", "command.commitStagedSigned": "Commit Staged (Signed Off)", diff --git a/extensions/git/src/commands.ts b/extensions/git/src/commands.ts index 1576b4b60e6..13553a1cb62 100644 --- a/extensions/git/src/commands.ts +++ b/extensions/git/src/commands.ts @@ -430,8 +430,8 @@ export class CommandCenter { } const basename = path.basename(resource.uri.fsPath); - const message = localize('confirm clean', "Are you sure you want to clean changes in {0}?", basename); - const yes = localize('clean', "Clean Changes"); + const message = localize('confirm discard', "Are you sure you want to discard changes in {0}?", basename); + const yes = localize('discard', "Discard Changes"); const pick = await window.showWarningMessage(message, { modal: true }, yes); if (pick !== yes) { @@ -443,8 +443,8 @@ export class CommandCenter { @command('git.cleanAll') async cleanAll(): Promise { - const message = localize('confirm clean all', "Are you sure you want to clean all changes?"); - const yes = localize('clean', "Clean Changes"); + const message = localize('confirm discard all', "Are you sure you want to discard ALL changes?"); + const yes = localize('discard', "Discard Changes"); const pick = await window.showWarningMessage(message, { modal: true }, yes); if (pick !== yes) {