aboutsummaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorAlwin Esch <alwin.esch@web.de>2020-07-20 21:28:20 +0200
committerAlwin Esch <alwin.esch@web.de>2020-07-23 20:06:31 +0200
commitc90c5f2a2878429c690b462f5a96030a0129f515 (patch)
treeaae72c2fd497db4b2234823fec10915ad2b16734 /addons
parentdf0b73936652854159a5d0fc43509c593fcb00e1 (diff)
[addons][internal] change screensaver.xbmc.builtin.dim settings.xml to new format
Also becomes a category label added and a help text about.
Diffstat (limited to 'addons')
-rw-r--r--addons/screensaver.xbmc.builtin.dim/resources/language/resource.language.en_gb/strings.po16
-rw-r--r--addons/screensaver.xbmc.builtin.dim/resources/settings.xml14
2 files changed, 27 insertions, 3 deletions
diff --git a/addons/screensaver.xbmc.builtin.dim/resources/language/resource.language.en_gb/strings.po b/addons/screensaver.xbmc.builtin.dim/resources/language/resource.language.en_gb/strings.po
index 32ed725dbc..32d143f718 100644
--- a/addons/screensaver.xbmc.builtin.dim/resources/language/resource.language.en_gb/strings.po
+++ b/addons/screensaver.xbmc.builtin.dim/resources/language/resource.language.en_gb/strings.po
@@ -16,6 +16,20 @@ msgstr ""
"Language: en_GB\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. Setting name for edit screen dim in percentage (0% = black, 100% = no dim)
+#: resources/settings.xml
msgctxt "#30000"
-msgid "Dim level"
+msgid "Brightness level"
+msgstr ""
+
+#. Setting help text
+#: resources/settings.xml
+msgctxt "#30001"
+msgid "Level in percent of how strongly the screen remains illuminated."
+msgstr ""
+
+#. Setting category name
+#: resources/settings.xml
+msgctxt "#30002"
+msgid "Preferences"
msgstr ""
diff --git a/addons/screensaver.xbmc.builtin.dim/resources/settings.xml b/addons/screensaver.xbmc.builtin.dim/resources/settings.xml
index 1d50cb792e..fd15366398 100644
--- a/addons/screensaver.xbmc.builtin.dim/resources/settings.xml
+++ b/addons/screensaver.xbmc.builtin.dim/resources/settings.xml
@@ -1,4 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
-<settings>
- <setting label="30000" type="slider" id="level" range="0,1,100" option="percent" default="20"/>
+<settings version="1">
+ <section id="screensaver.xbmc.builtin.dim">
+ <category id="preferences" label="30002">
+ <group id="1">
+ <setting id="level" type="integer" label="30000" help="30001">
+ <level>0</level>
+ <default>20</default>
+ <control type="slider" format="percentage" range="0,100" />
+ </setting>
+ </group>
+ </category>
+ </section>
</settings>