Skip to content

Commit 21cfa68

Browse files
committed
change settings to use groups about backend and change strings to not show "- "
1 parent 61b3352 commit 21cfa68

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed

pvr.rtlradio/resources/language/resource.language.en_gb/strings.po

+10-2
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ msgid "Device index"
5757
msgstr ""
5858

5959
msgctxt "#30102"
60-
msgid "rtl_tcp server address"
60+
msgid "Server address"
6161
msgstr ""
6262

6363
msgctxt "#30103"
64-
msgid "rtl_tcp server port"
64+
msgid "Server port"
6565
msgstr ""
6666

6767
msgctxt "#30104"
@@ -118,6 +118,14 @@ msgctxt "#30117"
118118
msgid "Prepend channel numbers to channel names"
119119
msgstr ""
120120

121+
msgctxt "#30118"
122+
msgid "Connection settings"
123+
msgstr ""
124+
125+
msgctxt "#30119"
126+
msgid "Device settings"
127+
msgstr ""
128+
121129
#
122130
# 302XX - Setting values
123131
#

pvr.rtlradio/resources/settings.xml.in

+11-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@
1919
<control type="spinner" format="integer"/>
2020
</setting>
2121

22+
</group>
23+
24+
<group id="2" label="30118">
25+
2226
<!-- @SETTINGS_XML_IN_CONNECTION_TYPE_NOTE@ -->
23-
<setting id="device_connection_usb_index" parent="device_connection" type="integer" label="30101" help="30501">
27+
<setting id="device_connection_usb_index" type="integer" label="30101" help="30501">
2428
<level>0</level>
2529
<visible>@SETTINGS_XML_IN_CONNECTION_TYPE_VISIBLE@</visible>
2630
<default>0</default>
@@ -35,7 +39,7 @@
3539
<control type="spinner" format="integer"/>
3640
</setting>
3741

38-
<setting id="device_connection_tcp_host" parent="device_connection" type="string" label="30102" help="30502">
42+
<setting id="device_connection_tcp_host" type="string" label="30102" help="30502">
3943
<level>0</level>
4044
<default/>
4145
<constraints>
@@ -51,7 +55,7 @@
5155
</control>
5256
</setting>
5357

54-
<setting id="device_connection_tcp_port" parent="device_connection" type="integer" label="30103" help="30503">
58+
<setting id="device_connection_tcp_port" type="integer" label="30103" help="30503">
5559
<level>0</level>
5660
<default>1234</default>
5761
<constraints>
@@ -69,6 +73,10 @@
6973
</control>
7074
</setting>
7175

76+
</group>
77+
78+
<group id="3" label="30119">
79+
7280
<setting id="device_frequency_correction" type="integer" label="30108" help="30508">
7381
<level>0</level>
7482
<default>0</default>

0 commit comments

Comments
 (0)