Skip to content

Commit

Permalink
Restructured settings
Browse files Browse the repository at this point in the history
  • Loading branch information
karelvasicek committed Dec 30, 2019
1 parent de12801 commit 2306862
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions resources/language/resource.language.cs_CZ/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
<string id="30002">Heslo</string>
<string id="30003">Název zařízení</string>
<string id="30004">ID zařízení</string>
<string id="30005">Uložit loga kanálů</string>
<string id="30006">Cesta k ffmpeg</string>

<string id="30100">Akce</string>
<string id="30101">Přihlásit</string>
<string id="30102">Generovat playlist</string>
<string id="30103">Nastavit spustitelné oprávnění</string>

<string id="30200">Rozšířená nastavení</string>
<string id="30201">Uložit loga kanálů</string>
<string id="30202">Cesta k ffmpeg</string>
</strings>
6 changes: 4 additions & 2 deletions resources/language/resource.language.en_GB/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
<string id="30002">Password</string>
<string id="30003">Device name</string>
<string id="30004">Device ID</string>
<string id="30005">Insert channel logos</string>
<string id="30006">ffmpeg path</string>

<string id="30100">Actions</string>
<string id="30101">Login</string>
<string id="30102">Create playlist</string>
<string id="30103">Set executable permissions</string>

<string id="30200">Advanced settings</string>
<string id="30201">Insert channel logos</string>
<string id="30202">ffmpeg path</string>
</strings>
6 changes: 4 additions & 2 deletions resources/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
<setting id="password" label="30002" type="text" option="hidden" default=""/>
<setting id="device_name" label="30003" type="text" default=""/>
<setting id="device_id" label="30004" type="text" default=""/>
<setting id="insert_logo" label="30005" type="bool" default="false"/>
<setting id="ffmpeg_path" label="30006" type="text" default="/usr/bin/"/>
</category>
<category label="30200">
<setting id="insert_logo" label="30201" type="bool" default="false"/>
<setting id="ffmpeg_path" label="30202" type="text" default="/usr/bin/"/>
</category>
<category label="30100">
<setting type="action" label="30101" action="RunPlugin(plugin://plugin.video.client-o2tv/addon.py?mode=1)"/>
Expand Down

0 comments on commit 2306862

Please sign in to comment.