You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable explorer pasting of files without paths (microsoft#204052)
Fixesmicrosoft#204051
This enables pasting clipboard files that don't have a `.path`. This enables:
- Pasting image data into the explorer
- Pasting files into the explorer on web
nls.localize('confirmMultiPasteNative',"Are you sure you want to paste the following {0} items?",toPaste.files.length) :
1105
+
nls.localize('confirmPasteNative',"Are you sure you want to paste '{0}'?",basename(toPaste.type==='paths' ? toPaste.files[0].fsPath : toPaste.files[0].name));
progressLabel: sourceTargetPairs.length>1 ? nls.localize({key: 'movingBulkEdit',comment: ['Placeholder will be replaced by the number of files being moved']},"Moving {0} files",sourceTargetPairs.length)
1177
+
: nls.localize({key: 'movingFileBulkEdit',comment: ['Placeholder will be replaced by the name of the file moved.']},"Moving {0}",resources.basenameOrAuthority(sourceTargetPairs[0].target)),
1178
+
undoLabel: sourceTargetPairs.length>1 ? nls.localize({key: 'moveBulkEdit',comment: ['Placeholder will be replaced by the number of files being moved']},"Move {0} files",sourceTargetPairs.length)
1179
+
: nls.localize({key: 'moveFileBulkEdit',comment: ['Placeholder will be replaced by the name of the file moved.']},"Move {0}",resources.basenameOrAuthority(sourceTargetPairs[0].target))
progressLabel: sourceTargetPairs.length>1 ? nls.localize({key: 'movingBulkEdit',comment: ['Placeholder will be replaced by the number of files being moved']},"Moving {0} files",sourceTargetPairs.length)
1173
-
: nls.localize({key: 'movingFileBulkEdit',comment: ['Placeholder will be replaced by the name of the file moved.']},"Moving {0}",resources.basenameOrAuthority(sourceTargetPairs[0].target)),
1174
-
undoLabel: sourceTargetPairs.length>1 ? nls.localize({key: 'moveBulkEdit',comment: ['Placeholder will be replaced by the number of files being moved']},"Move {0} files",sourceTargetPairs.length)
1175
-
: nls.localize({key: 'moveFileBulkEdit',comment: ['Placeholder will be replaced by the name of the file moved.']},"Move {0}",resources.basenameOrAuthority(sourceTargetPairs[0].target))
progressLabel: sourceTargetPairs.length>1 ? nls.localize({key: 'copyingBulkEdit',comment: ['Placeholder will be replaced by the number of files being copied']},"Copying {0} files",sourceTargetPairs.length)
1184
-
: nls.localize({key: 'copyingFileBulkEdit',comment: ['Placeholder will be replaced by the name of the file copied.']},"Copying {0}",resources.basenameOrAuthority(sourceTargetPairs[0].target)),
1185
-
undoLabel: sourceTargetPairs.length>1 ? nls.localize({key: 'copyBulkEdit',comment: ['Placeholder will be replaced by the number of files being copied']},"Paste {0} files",sourceTargetPairs.length)
1186
-
: nls.localize({key: 'copyFileBulkEdit',comment: ['Placeholder will be replaced by the name of the file copied.']},"Paste {0}",resources.basenameOrAuthority(sourceTargetPairs[0].target))
progressLabel: targets.length>1 ? nls.localize({key: 'copyingBulkEdit',comment: ['Placeholder will be replaced by the number of files being copied']},"Copying {0} files",targets.length)
1243
+
: nls.localize({key: 'copyingFileBulkEdit',comment: ['Placeholder will be replaced by the name of the file copied.']},"Copying {0}",resources.basenameOrAuthority(targets[0])),
1244
+
undoLabel: targets.length>1 ? nls.localize({key: 'copyBulkEdit',comment: ['Placeholder will be replaced by the number of files being copied']},"Paste {0} files",targets.length)
1245
+
: nls.localize({key: 'copyFileBulkEdit',comment: ['Placeholder will be replaced by the name of the file copied.']},"Paste {0}",resources.basenameOrAuthority(targets[0]))
0 commit comments