detail:nls.localize('dirtyWarning',"Your changes will be lost if you don't save them."),
detail:nls.localize('dirtyWarning',"Your changes will be lost if you don't save them."),
...
@@ -644,7 +644,7 @@ class BaseDeleteFileAction extends BaseFileAction {
...
@@ -644,7 +644,7 @@ class BaseDeleteFileAction extends BaseFileAction {
constmessage=distinctElements.length>1?getConfirmMessage(nls.localize('confirmMoveTrashMessageMultiple',"Are you sure you want to delete the following {0} files?",distinctElements.length),distinctElements.map(e=>e.resource))
constmessage=distinctElements.length>1?getConfirmMessage(nls.localize('confirmMoveTrashMessageMultiple',"Are you sure you want to delete the following {0} files?",distinctElements.length),distinctElements.map(e=>e.resource))
:distinctElements[0].isDirectory?nls.localize('confirmMoveTrashMessageFolder',"Are you sure you want to delete '{0}' and its contents?",distinctElements[0].name)
:distinctElements[0].isDirectory?nls.localize('confirmMoveTrashMessageFolder',"Are you sure you want to delete '{0}' and its contents?",distinctElements[0].name)
:nls.localize('confirmMoveTrashMessageFile',"Are you sure you want to delete '{0}'?",distinctElements[0].name);
:nls.localize('confirmMoveTrashMessageFile',"Are you sure you want to delete '{0}'?",distinctElements[0].name);
detail:isWindows?nls.localize('undoBin',"You can restore from the Recycle Bin."):nls.localize('undoTrash',"You can restore from the Trash."),
detail:isWindows?nls.localize('undoBin',"You can restore from the Recycle Bin."):nls.localize('undoTrash',"You can restore from the Trash."),
primaryButton,
primaryButton,
...
@@ -660,7 +660,7 @@ class BaseDeleteFileAction extends BaseFileAction {
...
@@ -660,7 +660,7 @@ class BaseDeleteFileAction extends BaseFileAction {
constmessage=distinctElements.length>1?getConfirmMessage(nls.localize('confirmDeleteMessageMultiple',"Are you sure you want to permanently delete the following {0} files?",distinctElements.length),distinctElements.map(e=>e.resource))
constmessage=distinctElements.length>1?getConfirmMessage(nls.localize('confirmDeleteMessageMultiple',"Are you sure you want to permanently delete the following {0} files?",distinctElements.length),distinctElements.map(e=>e.resource))
:distinctElements[0].isDirectory?nls.localize('confirmDeleteMessageFolder',"Are you sure you want to permanently delete '{0}' and its contents?",distinctElements[0].name)
:distinctElements[0].isDirectory?nls.localize('confirmDeleteMessageFolder',"Are you sure you want to permanently delete '{0}' and its contents?",distinctElements[0].name)
:nls.localize('confirmDeleteMessageFile',"Are you sure you want to permanently delete '{0}'?",distinctElements[0].name);
:nls.localize('confirmDeleteMessageFile',"Are you sure you want to permanently delete '{0}'?",distinctElements[0].name);
message:folders.length>1?nls.localize('dropFolders',"Do you want to add the folders to the workspace?"):nls.localize('dropFolder',"Do you want to add the folder to the workspace?"),
message:folders.length>1?nls.localize('dropFolders',"Do you want to add the folders to the workspace?"):nls.localize('dropFolder',"Do you want to add the folder to the workspace?"),
message:sources.length>1?getConfirmMessage(nls.localize('confirmMultiMove',"Are you sure you want to move the following {0} files?",sources.length),sources.map(s=>s.resource))
message:sources.length>1?getConfirmMessage(nls.localize('confirmMultiMove',"Are you sure you want to move the following {0} files?",sources.length),sources.map(s=>s.resource))
:nls.localize('confirmMove',"Are you sure you want to move '{0}'?",sources[0].name),
:nls.localize('confirmMove',"Are you sure you want to move '{0}'?",sources[0].name),
checkbox:{
checkbox:{
...
@@ -1053,7 +1053,7 @@ export class FileDragAndDrop extends SimpleFileResourceDragAndDrop {
...
@@ -1053,7 +1053,7 @@ export class FileDragAndDrop extends SimpleFileResourceDragAndDrop {
message:localize('prof.message',"Successfully created profiles."),
message:localize('prof.message',"Successfully created profiles."),
detail:localize('prof.detail',"Please create an issue and manually attach the following files:\n{0}",profileFiles),
detail:localize('prof.detail',"Please create an issue and manually attach the following files:\n{0}",profileFiles),
...
@@ -73,7 +73,7 @@ class StartupProfiler implements IWorkbenchContribution {
...
@@ -73,7 +73,7 @@ class StartupProfiler implements IWorkbenchContribution {
action.run(`:warning: Make sure to **attach** these files from your *home*-directory: :warning:\n${files.map(file=>`-\`${file}\``).join('\n')}`)
action.run(`:warning: Make sure to **attach** these files from your *home*-directory: :warning:\n${files.map(file=>`-\`${file}\``).join('\n')}`)
]).then(()=>{
]).then(()=>{
// keep window stable until restart is selected
// keep window stable until restart is selected
returnthis._confirmationService.confirm({
returnthis._dialogService.confirm({
type:'info',
type:'info',
message:localize('prof.thanks',"Thanks for helping us."),
message:localize('prof.thanks',"Thanks for helping us."),
detail:localize('prof.detail.restart',"A final restart is required to continue to use '{0}'. Again, thank you for your contribution.",this._environmentService.appNameLong),
detail:localize('prof.detail.restart',"A final restart is required to continue to use '{0}'. Again, thank you for your contribution.",this._environmentService.appNameLong),
message:nls.localize('TaskSystem.noProcess','The launched task doesn\'t exist anymore. If the task spawned background processes exiting VS Code might result in orphaned processes. To avoid this start the last background process with a wait flag.'),
message:nls.localize('TaskSystem.noProcess','The launched task doesn\'t exist anymore. If the task spawned background processes exiting VS Code might result in orphaned processes. To avoid this start the last background process with a wait flag.'),
primaryButton:nls.localize({key:'TaskSystem.exitAnyways',comment:['&& denotes a mnemonic']},"&&Exit Anyways"),
primaryButton:nls.localize({key:'TaskSystem.exitAnyways',comment:['&& denotes a mnemonic']},"&&Exit Anyways"),
message=nls.localize('terminalService.terminalCloseConfirmationPlural',"There are {0} active terminal sessions, do you want to kill them?",this.terminalInstances.length);
message=nls.localize('terminalService.terminalCloseConfirmationPlural',"There are {0} active terminal sessions, do you want to kill them?",this.terminalInstances.length);