提交 f4287e67 编写于 作者: B Benjamin Pasero

web - tweak upload progress message

上级 a7cd45f4
......@@ -1024,7 +1024,11 @@ export class FileDragAndDrop implements ITreeDragAndDrop<ExplorerItem> {
// Report progress
operation.worked++;
progress.report({ message: localize('uploadProgress', "{0} of {1} files", operation.worked, operation.total) });
if (operation.total === 1) {
progress.report({ message: entry.name });
} else {
progress.report({ message: localize('uploadProgress', "{0} of {1} files", operation.worked, operation.total) });
}
// Handle file upload
if (entry.isFile) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册