Skip to content

Commit

Permalink
[settings] Add help labels and reorder some group settings
Browse files Browse the repository at this point in the history
Add some help label and information about some strings for translators
Move discovery settings into their own specific group
  • Loading branch information
fuzzard committed Dec 28, 2022
1 parent 99de229 commit 44c05ef
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ msgctxt "Addon Description"
msgid "HDHomeRun PVR Client"
msgstr ""

#. label-category: general
msgctxt "#32001"
msgid "General"
msgstr ""
Expand All @@ -44,10 +45,35 @@ msgctxt "#32005"
msgid "Mark new show"
msgstr ""

#. label: Device Discovery - http_discovery
msgctxt "#32006"
msgid "Use HTTP discovery"
msgstr ""

#. label: Device Discovery - force_ip
msgctxt "#32007"
msgid "Set IP of device to use"
msgstr ""

#. label-group: General - Device Discovery
msgctxt "#32008"
msgid "Device Discovery"
msgstr ""

#empty strings from id 32009 to 320099

#. ############
#. help info #
#. ############

#. help info - General

#. help: Device Discovery - http_discovery
msgctxt "#32100"
msgid "This uses Silicondust web API to return HDHomeRun devices connected with the same internet IP address"
msgstr ""

#. help: Device Discovery - force_ip
msgctxt "#32101"
msgid "When other discovery methods do not work, enter an [B]IPv4[/B] address of a HDHomeRun device to explicitly search only that IP. This works when Broadcast and HTTP discovery do not find devices due to LAN/WAN differences in Client/Tuner. Restart Addon by Disabling and Enabling when changed."
msgstr ""
6 changes: 4 additions & 2 deletions pvr.hdhomerun/resources/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@
<default>true</default>
<control type="toggle"/>
</setting>
<setting id="http_discovery" type="boolean" label="32006">
</group>
<group id="2" label="32008">
<setting id="http_discovery" type="boolean" label="32006" help="32100">
<level>0</level>
<default>false</default>
<control type="toggle"/>
</setting>
<setting id="force_ip" type="string" label="32007">
<setting id="force_ip" type="string" label="32007" help="32101">
<level>0</level>
<default></default>
<constraints>
Expand Down

0 comments on commit 44c05ef

Please sign in to comment.