From 7f9a3dad7ed0a81c1ac46f3e5e6d611eb6b1b44e Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 12 Mar 2020 18:00:59 +1000 Subject: [PATCH] no implicit {} in replacements --- qt/po/scripts/extract-po-string.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/po/scripts/extract-po-string.py b/qt/po/scripts/extract-po-string.py index 93e66ec91..8739d5772 100644 --- a/qt/po/scripts/extract-po-string.py +++ b/qt/po/scripts/extract-po-string.py @@ -61,7 +61,7 @@ def transform_entry(entry): def transform_string(msg): for (old, new) in replacements: - msg = msg.replace(old, f"{{{new}}}") + msg = msg.replace(old, f"{new}") # strip leading/trailing whitespace return msg.strip()