Skip to content

Commit

Permalink
Quote file names in text, fixes pop-os#553
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Oct 11, 2024
1 parent 45f10be commit 12d47c8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
26 changes: 13 additions & 13 deletions i18n/en/cosmic_files.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 12d47c8

Please sign in to comment.