1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 15:28:10 +00:00
trezor-firmware/core/tools/translations/helpers.py

11 lines
258 B
Python
Raw Normal View History

from pathlib import Path
HERE = Path(__file__).parent
CORE = HERE.parent.parent
TRANSLATIONS_DIR = CORE / "translations"
ENGLISH_LANG = "en"
FOREIGN_LANGUAGES = ["cs", "de", "es", "fr", "it", "pt", "tr"]
ALL_LANGUAGES = [ENGLISH_LANG] + FOREIGN_LANGUAGES