✏️ git: use discard instead of clean

This commit is contained in:
Joao Moreno
2017-03-09 18:38:33 +01:00
parent f27ef3e352
commit 0428dd5dc3
2 changed files with 6 additions and 6 deletions

View File

@@ -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<void> {
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) {