tests/svghmi_i18n/svghmi_0@svghmi/confnode.xml
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sun, 14 Feb 2021 19:15:20 +0100
branchsvghmi
changeset 3142 2637bb6a6bb0
parent 3132 a1e2eff0bc58
permissions -rw-r--r--
SVGHMI: allow i18n of formated strings of HMI:Messages. This was by construction impossible since formating was given as an argument. Now added optional "format" labelled element in HMI:Display, so that it can be translated, when labelled "_format".
3132
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
a1e2eff0bc58 SVGHMI: Add a simple i18n test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     2
<SVGHMI xmlns:xsd="http://www.w3.org/2001/XMLSchema" OnWatchdog="echo Watchdog for {name} !" OnStart="chromium http://127.0.0.1:{port}/{name}" OnStop="echo Closing {name}" WatchdogInitial="10" WatchdogInterval="5"/>