From ebf82b821890d35a7cb050a2f2323cf9b9a5a2ab Mon Sep 17 00:00:00 2001 From: rickybiscus Date: Mon, 9 Jan 2017 10:46:11 +0100 Subject: [PATCH] fixes for localized strings --- main.py | 6 +++--- resources/language/English/strings.po | 14 +++++++++++++- resources/language/French/strings.po | 16 ++++++++++++++-- resources/language/German/strings.po | 15 +++++++++++++-- 4 files changed, 43 insertions(+), 8 deletions(-) diff --git a/main.py b/main.py index 34f0171..f4ca09e 100644 --- a/main.py +++ b/main.py @@ -82,7 +82,7 @@ def root(params): menus = { 'folders': { - 'name': 'Browse', + 'name': lang.getLocalizedString(30038), 'callback': 'browse_folders', 'thumb': None }, @@ -215,11 +215,11 @@ def menu_tracks(params): menus = { 'tracks_starred': { - 'name': 'Starred tracks', + 'name': lang.getLocalizedString(30036), 'thumb': None }, 'tracks_random': { - 'name': 'Random tracks', + 'name': lang.getLocalizedString(30037), 'thumb': None } } diff --git a/resources/language/English/strings.po b/resources/language/English/strings.po index 51a129d..540d226 100644 --- a/resources/language/English/strings.po +++ b/resources/language/English/strings.po @@ -73,7 +73,7 @@ msgid "Allow self signed certificates" msgstr "" msgctxt "#30017" -msgid "Cache (in minutes) - not yet implemented" +msgid "Cache (in minutes)" msgstr "" msgctxt "#30018" @@ -140,3 +140,15 @@ msgstr "" msgctxt "#30035" msgid "Download" msgstr "" + +msgctxt "#30036" +msgid "Starred tracks" +msgstr "" + +msgctxt "#30037" +msgid "Random tracks" +msgstr "" + +msgctxt "#30038" +msgid "Browse" +msgstr "" diff --git a/resources/language/French/strings.po b/resources/language/French/strings.po index 72c780d..cb2c2cf 100644 --- a/resources/language/French/strings.po +++ b/resources/language/French/strings.po @@ -73,8 +73,8 @@ msgid "Allow self signed certificates" msgstr "Autoriser les certificats auto-signés" msgctxt "#30017" -msgid "Cache (in minutes) - not yet implemented" -msgstr "Cache (en minutes) - pas encore implémenté" +msgid "Cache (in minutes)" +msgstr "Cache (en minutes)" msgctxt "#30018" msgid "Cache datas time" @@ -139,3 +139,15 @@ msgstr "Retirer des favoris Subsonic" msgctxt "#30035" msgid "Download" msgstr "Télécharger" + +msgctxt "#30036" +msgid "Starred tracks" +msgstr "Pistes favorites" + +msgctxt "#30037" +msgid "Random tracks" +msgstr "Pistes au hasard" + +msgctxt "#30038" +msgid "Parcourir" +msgstr "" diff --git a/resources/language/German/strings.po b/resources/language/German/strings.po index 9f5650a..0b4dbe8 100644 --- a/resources/language/German/strings.po +++ b/resources/language/German/strings.po @@ -73,8 +73,8 @@ msgid "Allow self signed certificates" msgstr "Erlaube eigensignierte Zertifikate" msgctxt "#30017" -msgid "Cache (in minutes) - not yet implemented" -msgstr "Speicher (in Minuten) - noch nicht eingebaut" +msgid "Cache (in minutes)" +msgstr "Speicher (in Minuten)" msgctxt "#30018" msgid "Cache datas time" @@ -140,3 +140,14 @@ msgctxt "#30035" msgid "Download" msgstr "Herunterladen" +msgctxt "#30036" +msgid "Starred tracks" +msgstr "Lieblings lieder" + +msgctxt "#30037" +msgid "Random tracks" +msgstr "Zufällig lieder" + +msgctxt "#30038" +msgid "Parcourir" +msgstr "Durchsuchen"