mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
fixup! feat(tests): simplify asserts on translated strings
This commit is contained in:
parent
0396064df5
commit
eb6ed9b969
@ -117,6 +117,7 @@ class Translation:
|
|||||||
|
|
||||||
|
|
||||||
TRANSLATIONS = {lang: Translation(lang) for lang in LANGUAGES}
|
TRANSLATIONS = {lang: Translation(lang) for lang in LANGUAGES}
|
||||||
|
_CURRENT_TRANSLATION.TR = TRANSLATIONS["en"]
|
||||||
|
|
||||||
|
|
||||||
def translate(key: str, _stacklevel: int = 0) -> str:
|
def translate(key: str, _stacklevel: int = 0) -> str:
|
||||||
|
Loading…
Reference in New Issue
Block a user