mirror of
https://github.com/ankitects/anki.git
synced 2026-01-14 06:23:57 -05:00
fix tr()
This commit is contained in:
parent
d085fcea64
commit
0e6b584483
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue