From 1afac2492b9d2abcdb4085cfd2df3a15c9619f4b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 24 Feb 2020 18:37:02 +1000 Subject: [PATCH] fix tr() --- qt/aqt/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/utils.py b/qt/aqt/utils.py index 1872743c1..26cc4fa5e 100644 --- a/qt/aqt/utils.py +++ b/qt/aqt/utils.py @@ -34,7 +34,7 @@ def locale_dir() -> str: def tr(key: FString, **kwargs: Union[str, int, float]) -> str: "Shortcut to access Fluent translations." - return anki.lang.current_i18n.translate(key, *kwargs) + return anki.lang.current_i18n.translate(key, **kwargs) def openHelp(section):