diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-07-28 15:04:03 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-07-28 15:04:03 -0400 |
| commit | e5afebe75c1f476f409ca3ec95a940acd05c4231 (patch) | |
| tree | 940ba06f10639e793da8d9305b172d76faa0c689 /www/js | |
| parent | c464efe7116bed757bd8b4867f41dd7a84f8a22c (diff) | |
#290 - Added portugese to list of languages
Former-commit-id: 55b2022cb657d51ddc42cc5dacf3729a2ae700ce
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/DataModel.js | 4 | ||||
| -rw-r--r-- | www/js/app.js | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index bd699971..df92729e 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -33,6 +33,10 @@ angular.module('zmApp.controllers') { text: 'Italian', value: 'it' + }, + { + text: 'Portugese', + value: 'pt' } ]; diff --git a/www/js/app.js b/www/js/app.js index ef8c1990..b6afba53 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -1311,7 +1311,7 @@ angular.module('zmApp', [ //$translateProvider.useLocalStorage(); - $translateProvider.registerAvailableLanguageKeys(['en', 'de','es', 'fr', 'it', 'ja', 'ko', 'zh', 'zh_CN', 'zh_TW'], { + $translateProvider.registerAvailableLanguageKeys(['en', 'de','es', 'fr', 'it', 'ja', 'ko', 'zh', 'zh_CN', 'zh_TW', 'pt'], { 'en_*': 'en', 'de_*': 'de', 'es_*': 'es', @@ -1319,6 +1319,7 @@ angular.module('zmApp', [ 'it_*': 'it', 'ja_*': 'ja', 'ko_*': 'ko', + 'pt_*': 'pt', '*': 'en' // must be last }); |
