Skip to content

Commit

Permalink
explorer: update creation labels
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorn committed Dec 2, 2020
1 parent acaecbd commit efd8b01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/vs/workbench/contrib/files/browser/fileActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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),
});

Expand Down

0 comments on commit efd8b01

Please sign in to comment.