summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-09-12 11:59:24 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-09-12 11:59:24 -0400
commit9088544824309b2aeb2588d6530e49cfcf256b0a (patch)
tree64dc5ca43e0d9fe77bb0313ec5f099581ef01292 /www/js/app.js
parent526306440243f28f2edd9cdeb0bbf97da05115f4 (diff)
option to disable alarm APIs and language support tweaks
Former-commit-id: d2e2280b8d2a4e2bb57bbb4fd9ad7f7c317cebd5
Diffstat (limited to 'www/js/app.js')
-rw-r--r--www/js/app.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 93269a32..eb254aa8 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -578,8 +578,8 @@ angular.module('zmApp', [
$rootScope.newBlogPost = "(new post)";
return;
+
}
-
var mLastDate = moment(lastDate);
var mItemDate = moment(data[0].date);
@@ -1501,7 +1501,7 @@ angular.module('zmApp', [
//$translateProvider.useLocalStorage();
- $translateProvider.registerAvailableLanguageKeys(['en', 'de', 'es', 'fr', 'it', 'ja', 'ko', 'zh', 'zh_CN', 'zh_TW', 'pt', 'hi'], {
+ $translateProvider.registerAvailableLanguageKeys(['en', 'de', 'es', 'fr', 'it', 'ja', 'ko', 'zh', 'zh_CN', 'zh_TW', 'pt', 'ar','hi'], {
'en_*': 'en',
'de_*': 'de',
'es_*': 'es',
@@ -1510,6 +1510,7 @@ angular.module('zmApp', [
'ja_*': 'ja',
'ko_*': 'ko',
'pt_*': 'pt',
+ 'ar_*': 'ar',
'hi_*': 'hi',
'*': 'en' // must be last
});