1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

fixup! feat(tests): simplify asserts on translated strings

This commit is contained in:
matejcik 2024-11-20 15:09:03 +01:00
parent 0396064df5
commit eb6ed9b969

View File

@ -117,6 +117,7 @@ class Translation:
TRANSLATIONS = {lang: Translation(lang) for lang in LANGUAGES}
_CURRENT_TRANSLATION.TR = TRANSLATIONS["en"]
def translate(key: str, _stacklevel: int = 0) -> str: