summaryrefslogtreecommitdiff
path: root/www/js/StateCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-12-10 08:27:27 -0500
committerPliable Pixels <pliablepixels@gmail.com>2016-12-10 08:27:27 -0500
commit898d85ded3eb2260a80573bcc7c756c56d37bf15 (patch)
tree4f712fc07b14fabe397c5900f397fc67c60d9dc0 /www/js/StateCtrl.js
parent6ef705d8defed1d93a321f5d4189e81cadd36bbc (diff)
added translations for buttons #410
Diffstat (limited to 'www/js/StateCtrl.js')
-rw-r--r--www/js/StateCtrl.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/js/StateCtrl.js b/www/js/StateCtrl.js
index 54a2c4c9..4faec748 100644
--- a/www/js/StateCtrl.js
+++ b/www/js/StateCtrl.js
@@ -339,7 +339,9 @@ angular.module('zmApp.controllers').controller('zmApp.StateCtrl', ['$ionicPopup'
$ionicPopup.alert(
{
title: $translate.instant('kOperationInProgressTitle'),
- template: $translate.instant('kOperationInProgressBody') + '...'
+ template: $translate.instant('kOperationInProgressBody') + '...',
+ okText: $translate.instant('kButtonOk'),
+ cancelText: $translate.instant('kButtonCancel'),
});
return;
}
@@ -354,15 +356,15 @@ angular.module('zmApp.controllers').controller('zmApp.StateCtrl', ['$ionicPopup'
$rootScope.zmPopup = $ionicPopup.show(
{
- title: 'Please Confirm',
+ title: $translate.instant('kPleaseConfirm'),
template: promptstring,
buttons: [
{
- text: 'Cancel',
+ text: $translate.instant('kButtonCancel'),
type: 'button-positive'
},
{
- text: 'Yes',
+ text: $translate.instant('kButtonOk'),
type: 'button-assertive',
onTap: function(e)
{