Skip to content

Commit 0b6ff6f

Browse files
committed
Add portuguese website
1 parent fa47a0c commit 0b6ff6f

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

resources/language/English/strings.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ msgctxt "#30303"
7676
msgid "French"
7777
msgstr ""
7878

79+
msgctxt "#30304"
80+
msgid "Portuguese"
81+
msgstr ""
82+
7983
msgctxt "#30310"
8084
msgid "Force ViewMode to Thumbnail"
8185
msgstr ""

resources/lib/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class RadioApi():
4141
'english': 'http://rad.io/info',
4242
'german': 'http://radio.de/info',
4343
'french': 'http://radio.fr/info',
44+
'portuguese': 'http://radio.pt/info',
4445
}
4546

4647
CATEGORY_TYPES = (

resources/lib/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def __add_stations(stations, add_custom=False):
265265

266266

267267
def __get_language():
268-
languages = ('english', 'german', 'french')
268+
languages = ('english', 'german', 'french', 'portuguese')
269269
if not plugin.get_setting('not_first_run', str):
270270
xbmc_language = xbmc.getLanguage().lower()
271271
__log('__get_language has first run with xbmc_language=%s'

resources/settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
22
<settings>
33
<category label="30601">
4-
<setting id="language" type="enum" label="30300" lvalues="30301|30302|30303" default="0" />
4+
<setting id="language" type="enum" label="30300" lvalues="30301|30302|30303|30304" default="0" />
55
<setting id="hide-fanart" type="bool" label="30602" default="false"/>
66
</category>
77
</settings>

0 commit comments

Comments
 (0)