From ff50795afb7764b769ec0f09ae2012644b4baac5 Mon Sep 17 00:00:00 2001 From: KOL Date: Wed, 3 Jun 2015 23:25:21 +0300 Subject: [PATCH] - Fix Hungarian localization - Add Polish localization --- Contents/Code/__init__.py | 2 +- Contents/Info.plist | 2 +- Contents/Strings/{hu-HU.json => hu.json} | 0 Contents/Strings/pl.json | 52 ++++++++++++++++++++++++ README.md | 2 +- 5 files changed, 55 insertions(+), 3 deletions(-) rename Contents/Strings/{hu-HU.json => hu.json} (100%) create mode 100644 Contents/Strings/pl.json diff --git a/Contents/Code/__init__.py b/Contents/Code/__init__.py index a789776..e9f8317 100644 --- a/Contents/Code/__init__.py +++ b/Contents/Code/__init__.py @@ -98,7 +98,7 @@ def ValidatePrefs(): '%s.json' % loc ) )): - Locale.DefaultLocale = GetLanguage() + Locale.DefaultLocale = loc else: Locale.DefaultLocale = 'en-us' diff --git a/Contents/Info.plist b/Contents/Info.plist index 4472aa9..b45c2e2 100644 --- a/Contents/Info.plist +++ b/Contents/Info.plist @@ -14,7 +14,7 @@ CFBundleSignature hook CFBundleVersion - 2.9 + 3.0 PlexPluginVersionUrl https://api.github.com/repos/kolsys/YouTubeTV.bundle/releases/latest diff --git a/Contents/Strings/hu-HU.json b/Contents/Strings/hu.json similarity index 100% rename from Contents/Strings/hu-HU.json rename to Contents/Strings/hu.json diff --git a/Contents/Strings/pl.json b/Contents/Strings/pl.json new file mode 100644 index 0000000..b55f195 --- /dev/null +++ b/Contents/Strings/pl.json @@ -0,0 +1,52 @@ +{ + "Error": "Błąd", + "Next page": "Następna strona", + "No entries found": "Nie znaleziono wpisów", + "Search": "Szukaj", + "Search Video": "Szukaj filmów", + "Success": "Sukces", + "Title": "YouTubeTV", + "Search HD only": "Szukaj tylko w HD", + "Items per page": "Ilość na stronie", + "likes": "Polubione Filmy", + "favorites": "Ulubione", + "uploads": "Filmy", + "watchHistory": "Historia", + "watchLater": "Obejrzyj później", + "Authorize": "Autoryzuj", + "You must enter code for continue": "Musisz wprowadzić kod żeby kontynuować", + "My Subscriptions": "Moje subscrybcje", + "What to Watch": "Co oglądać", + "Playlists": "Lista odtwarzania", + "My channel": "Mój kanał", + "Channels": "Kanały", + "Categories": "Categorie", + "Subscriptions": "Subskrybcja", + "More playlists": "Więcej list odtwarzania", + "More subscriptions": "Więcej Subskrypcji ", + "Complete authorization": "Pełna autoryzacja ", + "Service temporarily unavailable": "Serwis chwilowo niedostępny", + "Preferred Region for Videos and channels": "Preferowany Region dla wideo i kanałów ", + "Preferred language for Videos and channels": "Preferowany język dla Filmów i Kanałów ", + "Search playlists": "Szukaj list odtwarzania", + "Search channels": "Szukaj kanałow", + "Browse channels": "Przeglądaj kanały", + "enterCodeSite": "Proszę wprowadzić kod \"%s\" w %s", + "codeIs": "Kod: %s", + "Play video": "Odtwórz", + "Related videos": "Powiązane filmy", + "I like this": "Lubie to", + "Add to favorites": "Dodaj do ulubionych", + "Extended video info in My subscriptions": "Rozszerzona informacja o wideo w Moich Subscrybcjach", + "Extended video info in Playlists": "Rozszerzona informacja o wideo w Liscie Odtwarzania", + "Extended video info in Categories": "Rozrzeszona informacja o wideo w Kategoriach", + "Extended video info in Search": "Rozszerzona informacja o wyszukiwanych filmach", + "Update available: %s": "Aktualizacja dostępna %s", + "Install latest version of the channel.": "Zainstaluj najnowsza wersje kanału.", + "Channel updated to version %s": "Kanał uaktualniony do wersji %s", + "Remove from playlist": "Usuń z listy odtwarzania", + "Action complete": "Zakończono", + "An error has occurred": "Wystąpił błąd", + "Sign out": "Wyloguj się", + "Subscriptions list sorting order": "Posortowana lista subscrybcji" +} \ No newline at end of file diff --git a/README.md b/README.md index cca2d63..bacda77 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Features * Does not require Google login and password * Navigation like YouTube Apps * Pagination and regional settings -* Russian, Swedish, Danish, Dutch, French, French (Belgium), Hungarian (Hungary), Italian, Spanish, German localization +* Russian, Swedish, Danish, Dutch, French, French (Belgium), Hungarian, Italian, Spanish, German, Polish localization * YouTube content localization by region preferences * "Like" and "Watch later" video functions including edit function * Update function