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: if not self.results.mark_count:
self.view.show_message(MSG_NO_MARKED_DUPES) self.view.show_message(MSG_NO_MARKED_DUPES)
return return
opname = tr("copy") if copy else tr("move") destination = self.view.select_dest_folder(
prompt = tr("Select a directory to {} marked files to").format(opname) tr("Select a directory to copy marked files to") if copy
destination = self.view.select_dest_folder(prompt) else tr("Select a directory to move marked files to"))
if destination: if destination:
desttype = self.options["copymove_dest_type"] desttype = self.options["copymove_dest_type"]
jobid = JobType.Copy if copy else JobType.Move jobid = JobType.Copy if copy else JobType.Move