diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-12-10 08:27:27 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-12-10 08:27:27 -0500 |
| commit | 898d85ded3eb2260a80573bcc7c756c56d37bf15 (patch) | |
| tree | 4f712fc07b14fabe397c5900f397fc67c60d9dc0 /www/js/StateCtrl.js | |
| parent | 6ef705d8defed1d93a321f5d4189e81cadd36bbc (diff) | |
added translations for buttons #410
Diffstat (limited to 'www/js/StateCtrl.js')
| -rw-r--r-- | www/js/StateCtrl.js | 10 |
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) { |
