added possibiliy to use submenus in the skin setup menus

This commit is contained in:
louis
2015-01-31 11:46:06 +01:00
parent 304f592004
commit 1883ac1691
15 changed files with 413 additions and 203 deletions

View File

@@ -2,29 +2,16 @@
<!DOCTYPE setup SYSTEM "../../dtd/setup.dtd">
<setup>
<!--
define all your parameters here which should be configurable via
OSD and the skindesigner setup menu.
Parameters must have type "bool" or "integer". For "bool" Parameters
a choice yes/no is shown in the setup menu, a "integer" parameter
can be configured to a value between "min" and "max". If "min" is not
set, "0" is the minimum, if "max" is not set, "1000" is maximum.
"displayname" is used to display the option in the setup menu.
The configured parameter value is the default value.
-->
<parameters>
<menu>
<parameter type="int" name="fadetime" min="0" max="1000" displaytext="{tr(fadetext)}">0</parameter>
<parameter type="bool" name="showdevices" displaytext="{tr(showdevices)}">0</parameter>
</parameters>
</menu>
<!--
translations of displaytexts
-->
<translations>
<token name="tr(fadetext)">
<trans lang="en_EN">Fade time in ms (needs VDR restart)</trans>
<trans lang="de_DE">Einblendzeit in ms (erfordert VDR Neustart)</trans>
<trans lang="fi_FI">Häivytyksen kesto [ms] (uud.käynnistys)</trans>
<trans lang="en_EN">Fade time in ms</trans>
<trans lang="de_DE">Einblendzeit in ms</trans>
<trans lang="fi_FI">Häivytyksen kesto [ms]</trans>
</token>
<token name="tr(showdevices)">
<trans lang="en_EN">Show DVB device info when switching channel</trans>