add unknown (=> country) translation string
This commit is contained in:
parent
c1783e3631
commit
46538086c4
3 changed files with 11 additions and 3 deletions
|
@ -138,8 +138,8 @@ def countrycodes():
|
||||||
countrycode = entry['countrycode']
|
countrycode = entry['countrycode']
|
||||||
if countrycode != "" and countrycode not in result:
|
if countrycode != "" and countrycode not in result:
|
||||||
result.append(countrycode)
|
result.append(countrycode)
|
||||||
elif countrycode == "" and "Unknown" not in result:
|
elif countrycode == "" and translation(30124) not in result:
|
||||||
result.append('Unknown')
|
result.append(translation(30124))
|
||||||
result.sort()
|
result.sort()
|
||||||
for entry in result:
|
for entry in result:
|
||||||
addDir(entry, '&style=country&limit=' + entry + '&start=0', 'showArtist', fanart, len(result))
|
addDir(entry, '&style=country&limit=' + entry + '&start=0', 'showArtist', fanart, len(result))
|
||||||
|
@ -433,7 +433,7 @@ def showArtist(style, limit, start):
|
||||||
i = entry['countrycode']
|
i = entry['countrycode']
|
||||||
if limit == i:
|
if limit == i:
|
||||||
preresult.append(entry)
|
preresult.append(entry)
|
||||||
elif limit == 'Unknown' and i == "":
|
elif limit == translation(30124) and i == "":
|
||||||
preresult.append(entry)
|
preresult.append(entry)
|
||||||
|
|
||||||
# limit the result list according to the "Video Selection" Setting
|
# limit the result list according to the "Video Selection" Setting
|
||||||
|
|
|
@ -239,3 +239,7 @@ msgstr "Mehr von..."
|
||||||
msgctxt "#30123"
|
msgctxt "#30123"
|
||||||
msgid "Show all videos in similiar and more from... playlists"
|
msgid "Show all videos in similiar and more from... playlists"
|
||||||
msgstr "Zeige alle Videos in Similar- und "Mehr von"-Playlisten"
|
msgstr "Zeige alle Videos in Similar- und "Mehr von"-Playlisten"
|
||||||
|
|
||||||
|
msgctxt "#30124"
|
||||||
|
msgid "unknown"
|
||||||
|
msgstr "unbekannt"
|
||||||
|
|
|
@ -239,3 +239,7 @@ msgstr ""
|
||||||
msgctxt "#30123"
|
msgctxt "#30123"
|
||||||
msgid "Show all videos in similiar and more from... playlists"
|
msgid "Show all videos in similiar and more from... playlists"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "#30124"
|
||||||
|
msgid "unknown"
|
||||||
|
msgstr ""
|
||||||
|
|
Loading…
Reference in a new issue