beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: i18n: now loads PO filesand match translation against catalog. Refactored a bit to move i18n related code in i18n.py
svghmi
2021-01-21, Edouard Tisserant
18133b90196e
SVGHMI: i18n: now loads PO filesand match translation against catalog. Refactored a bit to move i18n related code in i18n.py
# -*- coding: utf-8 -*-
# See COPYING.Runtime file for copyrights details.
def _(x):
"""No translation"""
return x
Broken = _("Broken")
Started = _("Started")
Stopped = _("Stopped")
Disconnected = _("Disconnected")
Empty = _("Empty")