You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
288 B
10 lines
288 B
import os
|
|
import gettext
|
|
from openpilot.common.basedir import BASEDIR
|
|
|
|
UI_DIR = os.path.join(BASEDIR, "selfdrive", "ui")
|
|
TRANSLATIONS_DIR = os.path.join(UI_DIR, "translations")
|
|
LANGUAGES_FILE = os.path.join(TRANSLATIONS_DIR, "languages.json")
|
|
|
|
tr = gettext.gettext
|
|
trn = gettext.ngettext
|
|
|