runtime/PlcStatus.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 09 Feb 2021 07:55:16 +0100
branchsvghmi
changeset 3129 f2709923c82c
parent 2416 1ca207782dde
permissions -rw-r--r--
SVGHMI: Add "lang" permament persistent HMI_LOCAL variable to reflect selected language, apply stored language choice at startup and make it always subscribed to a pseudo widget (as for hearbeat) that apply language choice when it changes.
# -*- 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")