beremiz

PY2 specific fix: disable translation.
py2compat
22 months ago, Edouard Tisserant
b67a88003c0e
PY2 specific fix: disable translation.

SVGHMI build is broken when windows language use coma as a decimal point.
Didn't find the way to just change just decimal point locale setting with wxPython 3.x.
No way either to use XSLT format-number, since it produces only fixed decimal point numbers.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# See COPYING.Runtime file for copyrights details.
LogLevels = ["CRITICAL", "WARNING", "INFO", "DEBUG"]
LogLevelsCount = len(LogLevels)
LogLevelsDict = dict(zip(LogLevels, range(LogLevelsCount)))
LogLevelsDefault = LogLevelsDict["DEBUG"]