diff --git a/readme.md b/readme.md index 18b53db0..683e9b8e 100755 --- a/readme.md +++ b/readme.md @@ -76,8 +76,10 @@ test if it is possible (and fast track development by adding a working example t via "Chorus Lab" (bottom right 3 vertical dots > "The Lab") or directly via `http://localhost:8080/#lab/api-browser`. ## Contributing -If you would like to make this project better I would appreciate any help. Please do pull requests against the `develop` branch. -I am happy to assist with getting an development environment up and running if you are happy to contribute. +If you would like to make this project better I would appreciate any help. There is a develop branch for each version of +Kodi. Please do pull requests against the `dev` branch for the correct version (even better if you can do a PR for both). +Leia (v18) dev branch is `18.x-dev`, Krypton (v17) dev branch is `17.x-dev`. I am happy to assist with getting an +development environment up and running if you are happy to contribute. ### Translations I only know English so definitely need help with this. I also don't know heaps about javascript multilingual stuff but @@ -87,7 +89,7 @@ At the moment, there are [a handful](https://github.com/xbmc/chorus2/tree/master but more can be easily added. More strings are always being added so always consider english as the source of truth. So if you see something in english but want it in your language, I need you! To contribute, send me a PR on a new branch -against `develop`, or if you don't know git, a link to the language file. +against `18.x-dev` and/or `17.x-dev`, or if you don't know git, a link to the language file. Language Files [here](https://github.com/xbmc/chorus2/tree/master/src/lang). *English is the only real complete translation file so start with that as your base.* diff --git a/src/js/apps/settings/show/local/local_controller.js.coffee b/src/js/apps/settings/show/local/local_controller.js.coffee index 66c4cf3d..ee5121c5 100755 --- a/src/js/apps/settings/show/local/local_controller.js.coffee +++ b/src/js/apps/settings/show/local/local_controller.js.coffee @@ -78,9 +78,9 @@ title: 'API Keys' id: 'apikeys' children:[ - {id: 'apiKeyTMDB', title: tr("The Movie DB"), type: 'textfield', defaultValue: '', description: tr("Set your own TMDB API key.")} - {id: 'apiKeyFanartTv', title: tr("FanartTV"), type: 'textfield', defaultValue: '', description: tr("Set your own FanartTv API key.")} - {id: 'apiKeyYouTube', title: tr("YouTube"), type: 'textfield', defaultValue: '', description: tr("Set your own YouTube API key.")} + {id: 'apiKeyTMDB', title: tr("The Movie DB"), type: 'textfield', defaultValue: '', description: tr("Set your personal API key")} + {id: 'apiKeyFanartTv', title: tr("FanartTV"), type: 'textfield', defaultValue: '', description: tr("Set your personal API key")} + {id: 'apiKeyYouTube', title: tr("YouTube"), type: 'textfield', defaultValue: '', description: tr("Set your personal API key")} ] } ] diff --git a/src/js/helpers/translate.js.coffee b/src/js/helpers/translate.js.coffee index 51ffc575..710854cc 100755 --- a/src/js/helpers/translate.js.coffee +++ b/src/js/helpers/translate.js.coffee @@ -9,14 +9,16 @@ helpers.translate = {} helpers.translate.getLanguages = -> { en: "English" - fr: "French" + cs: "Czech" de: "German" + es: "Spanish" + fr: "French" + hu: "Hungarian" lt: "Lithuanian" nl: "Dutch" pl: "Polish" - es: "Spanish" + pt: "Portuguese" zh_hans: "Chinese, Simplified" - cs: "Czech" } ## Init language and translations. diff --git a/src/lang/_strings/en.po b/src/lang/_strings/en.po index e033f1cc..884fa5be 100755 --- a/src/lang/_strings/en.po +++ b/src/lang/_strings/en.po @@ -1452,4 +1452,16 @@ msgstr "This should be the play path for the trailer. Eg. %1$s" msgctxt "" msgid "%1$s party mode toggled" -msgstr "%1$s party mode toggled" \ No newline at end of file +msgstr "%1$s party mode toggled" + +msgctxt "" +msgid "Set your personal API key" +msgstr "Set your personal API key" + +msgctxt "" +msgid "The Movie DB" +msgstr "The Movie DB" + +msgctxt "" +msgid "FanartTV" +msgstr "FanartTV diff --git a/src/lang/_strings/gr.po b/src/lang/_strings/gr.po deleted file mode 100755 index b7eb5478..00000000 --- a/src/lang/_strings/gr.po +++ /dev/null @@ -1,220 +0,0 @@ -# Kodi Media Center language file -# Addon Name: Default Webinterface? -# Addon id: webinterface.default? -# Addon Provider: Team Kodi? -msgid "" -msgstr "" -"Project-Id-Version: XBMC Addons\n" -"Report-Msgid-Bugs-To: alanwww1@xbmc.org\n" -"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: XBMC Translation Team\n" -"Language-Team: English (http://www.transifex.com/projects/p/xbmc-addons/language/en/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: gr\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -msgctxt "" -msgid "Nothing playing" -msgstr "" - -msgctxt "" -msgid "Deselect all" -msgstr "" - -msgctxt "" -msgid "Filters" -msgstr "" - -msgctxt "" -msgid "Sort" -msgstr "" - -msgctxt "" -msgid "Select a filter" -msgstr "" - -msgctxt "" -msgid "Select an option" -msgstr "" - -msgctxt "" -msgid "filter" -msgstr "" - -msgctxt "" -msgid "Add Filter" -msgstr "" - -msgctxt "" -msgid "Which player to start with" -msgstr "" - -msgctxt "" -msgid "Ignore terms such as 'The' and 'A' when sorting lists" -msgstr "" - -msgctxt "" -msgid "When listing artists should we only see artists with albums or all artists found. Warning: turning this off can impact performance with large libraries" -msgstr "" - -msgctxt "" -msgid "Default is" -msgstr "" - -msgctxt "" -msgid "The hostname used for websockets connection. Set to 'auto' to use the current hostname." -msgstr "" - -msgctxt "" -msgid "How often do I poll for updates from Kodi (Only applies when websockets inactive" -msgstr "" - -msgctxt "" -msgid "Enable support for reverse proxying." -msgstr "" - -msgctxt "" -msgid "Web settings saved." -msgstr "" - -msgctxt "" -msgid "Just a sec..." -msgstr "" - -msgctxt "" -msgid "Unable to communicate with Kodi in a long time. I think it's dead Jim!" -msgstr "" - -msgctxt "" -msgid "Video library scan started" -msgstr "" - -msgctxt "" -msgid "Video library scan complete" -msgstr "" - -msgctxt "" -msgid "Audio library scan started" -msgstr "" - -msgctxt "" -msgid "Audio library scan complete" -msgstr "" - -msgctxt "" -msgid "Kodi has quit" -msgstr "" - -msgctxt "" -msgid "Back" -msgstr "" - -msgctxt "" -msgid "Loading folder..." -msgstr "" - -msgctxt "" -msgid "Show More" -msgstr "" - -msgctxt "" -msgid "to Kodi" -msgstr "" - -msgctxt "" -msgid "Playlist refreshed" -msgstr "" - -msgctxt "" -msgid "Kodi" -msgstr "" - -msgctxt "" -msgid "Local" -msgstr "" - -msgctxt "" -msgid "Playlists" -msgstr "" - -msgctxt "" -msgid "Existing playlists" -msgstr "" - -msgctxt "" -msgid "Empty Playlist, you should probably add something to it?" -msgstr "" - -msgctxt "" -msgid "Create a new list" -msgstr "" - -msgctxt "" -msgid "Add to playlist" -msgstr "" - -msgctxt "" -msgid "Added to your playlist" -msgstr "" - -msgctxt "" -msgid "Give your playlist a name" -msgstr "" - -msgctxt "" -msgid "Season" -msgstr "" - -msgctxt "" -msgid "Episode" -msgstr "" - -msgctxt "" -msgid "Play" -msgstr "" - -msgctxt "" -msgid "Queue" -msgstr "" - -# Video and audio stream, such as 720, x264, AC3, etc. -msgctxt "" -msgid "Stream" -msgstr "" - -msgctxt "" -msgid "Download" -msgstr "" - -msgctxt "" -msgid "complete" -msgstr "" - -msgctxt "" -msgid "Synopsis" -msgstr "" - -msgctxt "" -msgid "Full Cast" -msgstr "" - -msgctxt "" -msgid "Websockets Closed" -msgstr "" - -msgctxt "" -msgid "Your browser doesn't support websockets! Get with the times and update your browser." -msgstr "" - -msgctxt "" -msgid "Failed to connect to websockets, so I am falling back to polling for updates. Which makes things slower and uses more resources. Please ensure you have 'Allow programs on other systems to control Kodi' ENABLED in the Kodi settings (System > Services > Remote control). You may also get this if you are using proxies or accessing via an IP addess when localhost will suffice. If websockets normally works, you might just need to refresh your browser." -msgstr "" - -msgctxt "" -msgid "Result" -msgid_plural "Results" -msgstr[0] "" -msgstr[1] "" \ No newline at end of file diff --git a/src/lang/_strings/pt_BR.po b/src/lang/_strings/pt.po similarity index 100% rename from src/lang/_strings/pt_BR.po rename to src/lang/_strings/pt.po