etherlab/__init__.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 16 Feb 2021 09:38:28 +0100
branchsvghmi
changeset 3144 2af6afaccaf2
parent 2274 5cb9ef5351cc
child 3750 f62625418bff
permissions -rw-r--r--
SVGHMI: i18n: ensure langs always appea in same order, and add two variables that are updated automatically when selecting a new language : lang_name and lang_code. Also fixed i18n startup, prevent wrong lang numer to crash loading.
from __future__ import absolute_import

from etherlab.etherlab import *
from util.BitmapLibrary import AddBitmapFolder
import util.paths as paths

AddBitmapFolder(os.path.join(paths.AbsDir(__file__), "images"))