diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-11-15 16:25:08 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-11-15 16:25:08 -0500 |
| commit | 0ba027bbd4bf31c14a02d7c2adc1c45bb73def96 (patch) | |
| tree | 0b4983af0fecc3993e65f3903420ca9890254638 /www/js | |
| parent | a95c46923dbe74a3bd042383be6ca5f620c386b7 (diff) | |
integrated polish language into app #372 #368 #370
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/DataModel.js | 8 | ||||
| -rw-r--r-- | www/js/app.js | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index e6af8baa..572a9cf4 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -35,7 +35,13 @@ angular.module('zmApp.controllers') }, { text: 'Italian', value: 'it' - }, { + }, + { + text: 'Polksi', + value: 'pl' + }, + + { text: 'Русский', value: 'ru' }, { diff --git a/www/js/app.js b/www/js/app.js index 660eace4..36b67869 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -1687,7 +1687,7 @@ angular.module('zmApp', [ //$translateProvider.useLocalStorage(); - $translateProvider.registerAvailableLanguageKeys(['en', 'de', 'es', 'fr', 'it', 'ru', 'ja', 'ko', 'zh', 'zh_CN', 'zh_TW', 'pt', 'ar', 'hi'], { + $translateProvider.registerAvailableLanguageKeys(['en', 'de', 'es', 'fr', 'it', 'ru', 'ja', 'ko', 'pl','zh', 'zh_CN', 'zh_TW', 'pt', 'ar', 'hi'], { 'en_*': 'en', 'de_*': 'de', 'es_*': 'es', @@ -1697,6 +1697,7 @@ angular.module('zmApp', [ 'ja_*': 'ja', 'ko_*': 'ko', 'pt_*': 'pt', + 'pl_*': 'pl', 'ar_*': 'ar', 'hi_*': 'hi', '*': 'en' // must be last |
