Skip to content

Commit

Permalink
Updated readme, correctly added new translations
Browse files Browse the repository at this point in the history
  • Loading branch information
jez500 committed Jul 28, 2018
1 parent f9f3769 commit 3d0da4f
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 230 deletions.
8 changes: 5 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.*
Expand Down
6 changes: 3 additions & 3 deletions src/js/apps/settings/show/local/local_controller.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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")}
]
}
]
Expand Down
8 changes: 5 additions & 3 deletions src/js/helpers/translate.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
14 changes: 13 additions & 1 deletion src/lang/_strings/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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
220 changes: 0 additions & 220 deletions src/lang/_strings/gr.po

This file was deleted.

File renamed without changes.

0 comments on commit 3d0da4f

Please sign in to comment.