explorer: update creation labels

#111640
This commit is contained in:
isidor 2020-12-02 18:01:42 +01:00
parent acaecbdc86
commit efd8b0141e
2 changed files with 3 additions and 3 deletions

View file

@ -914,8 +914,8 @@ async function openExplorerAndCreate(accessor: ServicesAccessor, isFolder: boole
try {
const resourceToCreate = resources.joinPath(folder.resource, value);
await explorerService.applyBulkEdit([new ResourceFileEdit(undefined, resourceToCreate, { folder: isFolder })], {
progressLabel: nls.localize('newBulkEdit', "New {0}", value),
undoLabel: nls.localize('newBulkEdit', "New {0}", value)
undoLabel: nls.localize('createBulkEdit', "Create {0}", value),
progressLabel: nls.localize('creatingBulkEdit', "Creating {0}", value)
});
await refreshIfSeparator(value, explorerService);

View file

@ -1074,7 +1074,7 @@ export class FileDragAndDrop implements ITreeDragAndDrop<ExplorerItem> {
}
await this.explorerService.applyBulkEdit([new ResourceFileEdit(joinPath(target.resource, entry.name), undefined, { recursive: true })], {
undoLabel: localize('overwrite', "Overwriting {0}", entry.name),
undoLabel: localize('overwrite', "Overwrite {0}", entry.name),
progressLabel: localize('overwriting', "Overwriting {0}", entry.name),
});