Quote file names in text, fixes #553

This commit is contained in:
Jeremy Soller 2024-10-11 14:35:12 -06:00
parent 45f10be123
commit 12d47c8c80
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
2 changed files with 14 additions and 13 deletions

View file

@ -70,7 +70,7 @@ rename-folder = Rename folder
## Replace Dialog
replace = Replace
replace-title = {$filename} already exists in this location.
replace-title = "{$filename}" already exists in this location.
replace-warning = Do you want to replace it with the one you are saving? Replacing it will overwrite its content.
replace-warning-operation = Do you want to replace it? Replacing it will overwrite its content.
original-file = Original file
@ -132,44 +132,44 @@ complete = Complete
compressing = Compressing {$items} {$items ->
[one] item
*[other] items
} from {$from} to {$to}
} from "{$from}" to "{$to}"
compressed = Compressed {$items} {$items ->
[one] item
*[other] items
} from {$from} to {$to}
} from "{$from}" to "{$to}"
copy_noun = Copy
creating = Creating {$name} in {$parent}
created = Created {$name} in {$parent}
creating = Creating "{$name}" in "{$parent}"
created = Created "{$name}" in "{$parent}"
copying = Copying {$items} {$items ->
[one] item
*[other] items
} from {$from} to {$to}
} from "{$from}" to "{$to}"
copied = Copied {$items} {$items ->
[one] item
*[other] items
} from {$from} to {$to}
} from "{$from}" to "{$to}"
emptying-trash = Emptying {trash}
emptied-trash = Emptied {trash}
extracting = Extracting {$items} {$items ->
[one] item
*[other] items
} from {$from} to {$to}
} from "{$from}" to "{$to}"
extracted = Extracted {$items} {$items ->
[one] item
*[other] items
} from {$from} to {$to}
} from "{$from}" to "{$to}"
setting-executable-and-launching = Setting "{$name}" as executable and launching
set-executable-and-launched = Set "{$name}" as executable and launched
moving = Moving {$items} {$items ->
[one] item
*[other] items
} from {$from} to {$to}
} from "{$from}" to "{$to}"
moved = Moved {$items} {$items ->
[one] item
*[other] items
} from {$from} to {$to}
renaming = Renaming {$from} to {$to}
renamed = Renamed {$from} to {$to}
} from "{$from}" to "{$to}"
renaming = Renaming "{$from}" to "{$to}"
renamed = Renamed "{$from}" to "{$to}"
restoring = Restoring {$items} {$items ->
[one] item
*[other] items

View file

@ -303,6 +303,7 @@ async fn copy_or_move(
}
}
if moving {
//TODO: optimize to fs::rename when possible
fs_extra::file::move_file_with_progress(
from,
to,