From 528dedd8138557ec076007d2ecf9817da8133dbb Mon Sep 17 00:00:00 2001 From: glubsy Date: Tue, 9 Feb 2021 01:40:00 +0100 Subject: [PATCH] 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. --- core/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/app.py b/core/app.py index fc36787b..db15fcfe 100644 --- a/core/app.py +++ b/core/app.py @@ -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