?localize('confirm discard all single',"Are you sure you want to discard changes in {0}?",path.basename(resources[0].resourceUri.fsPath))
:localize('confirm discard all',"Are you sure you want to discard ALL changes in {0} files?\nThis is IRREVERSIBLE!\nYour current working set will be FOREVER LOST.",resources.length);
constyes=resources.length===1
?localize('discardAll multiple',"Discard 1 File")
:localize('discardAll',"Discard All {0} Files",resources.length);
constmessage=localize('confirm delete',"Are you sure you want to DELETE {0}?\nThis is IRREVERSIBLE!\nThis file will be FOREVER LOST.",path.basename(resources[0].resourceUri.fsPath));
?localize('there are untracked files single',"The following untracked file will be DELETED FROM DISK if discarded: {0}.",path.basename(untrackedResources[0].resourceUri.fsPath))
?localize('there are untracked files single',"The following untracked file will be DELETED FROM DISK if discarded: {0}.",path.basename(untrackedResources[0].resourceUri.fsPath))
...
@@ -1254,6 +1245,74 @@ export class CommandCenter {
...
@@ -1254,6 +1245,74 @@ export class CommandCenter {
?localize('confirm discard all single',"Are you sure you want to discard changes in {0}?",path.basename(resources[0].resourceUri.fsPath))
:localize('confirm discard all',"Are you sure you want to discard ALL changes in {0} files?\nThis is IRREVERSIBLE!\nYour current working set will be FOREVER LOST.",resources.length);
constyes=resources.length===1
?localize('discardAll multiple',"Discard 1 File")
:localize('discardAll',"Discard All {0} Files",resources.length);
constmessage=localize('confirm delete',"Are you sure you want to DELETE {0}?\nThis is IRREVERSIBLE!\nThis file will be FOREVER LOST.",path.basename(resource.resourceUri.fsPath));