tests/svghmi_widgets/svghmi_0@svghmi/confnode.xml
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 16 Feb 2021 09:38:28 +0100
branchsvghmi
changeset 3144 2af6afaccaf2
parent 3122 229795c03e11
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.
<?xml version='1.0' encoding='utf-8'?>
<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"/>