1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-03-09 21:24:36 +00:00

Fix problematic string for translations

Some languages have very different phrase syntaxes depending on which word is used.
Better used two separate strings than a dynamically created one.
This commit is contained in:
glubsy 2021-02-09 01:40:00 +01:00
parent b30d67b834
commit 528dedd813

View File

@ -482,9 +482,9 @@ class DupeGuru(Broadcaster):
if not self.results.mark_count:
self.view.show_message(MSG_NO_MARKED_DUPES)
return
opname = tr("copy") if copy else tr("move")
prompt = tr("Select a directory to {} marked files to").format(opname)
destination = self.view.select_dest_folder(prompt)
destination = self.view.select_dest_folder(
tr("Select a directory to copy marked files to") if copy
else tr("Select a directory to move marked files to"))
if destination:
desttype = self.options["copymove_dest_type"]
jobid = JobType.Copy if copy else JobType.Move