summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-05-26 08:10:14 -0400
committerpliablepixels <pliablepixels@gmail.com>2016-05-26 08:10:14 -0400
commit59bfe98d911728cfefd2321bf4ac86d62f4c64f8 (patch)
tree2a8d29b87d53430adb0925746c0c048bc2c41251 /www/js/app.js
parent92c3f2f7d30741ac708dd18deddfaecd9e0e34d5 (diff)
more translations, dummy italian language (all caps) to check if things are working
Former-commit-id: e02d1017b1e818a4b90faa18b0f0e221d867e543
Diffstat (limited to 'www/js/app.js')
-rw-r--r--www/js/app.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 71015c7d..f0f99be9 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -715,7 +715,7 @@ angular.module('zmApp', [
// This service automatically logs into ZM at periodic intervals
//------------------------------------------------------------------
-.factory('zmAutoLogin', function ($interval, ZMDataModel, $http, zm, $browser, $timeout, $q, $rootScope, $ionicLoading, $ionicPopup, $state, $ionicContentBanner, EventServer, $ionicHistory) {
+.factory('zmAutoLogin', function ($interval, ZMDataModel, $http, zm, $browser, $timeout, $q, $rootScope, $ionicLoading, $ionicPopup, $state, $ionicContentBanner, EventServer, $ionicHistory, $translate) {
var zmAutoLoginHandle;
//------------------------------------------------------------------
@@ -864,7 +864,7 @@ angular.module('zmApp', [
], "", 8000);
var alertPopup = $ionicPopup.alert({
title: 'reCaptcha enabled',
- template: 'Looks like you have enabled reCaptcha. It needs to be turned off for '+$rootScope.appName+' to work'
+ template: $translate.instant('kRecaptcha')
});
@@ -1163,8 +1163,8 @@ angular.module('zmApp', [
if (requireLogin) {
$ionicPopup.alert({
- title: "Credentials Required",
- template: "Please provide your ZoneMinder credentials"
+ title: $translate.instant('kCredentialsTitle'),
+ template: $translate.instant('kCredentialsBody')
});
// for whatever reason, .go was resulting in digest loops.
// if you don't prevent, states will stack