summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-05-26 09:19:56 -0400
committerpliablepixels <pliablepixels@gmail.com>2016-05-26 09:19:56 -0400
commit75a26e142644f1a353f7ec8216e16802da8e9421 (patch)
tree7807c3c4c8708a267318d39690179ef54664cb33 /www/js
parent6bd12ed26eb063112a04b871d6f3f6f21e5ec3f3 (diff)
#261 fixes
Former-commit-id: b7e474449c605c8ae59d45f2e1dd8187f6ae2e32
Diffstat (limited to 'www/js')
-rw-r--r--www/js/StateCtrl.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/js/StateCtrl.js b/www/js/StateCtrl.js
index ac8040c8..8f3d6032 100644
--- a/www/js/StateCtrl.js
+++ b/www/js/StateCtrl.js
@@ -129,18 +129,18 @@ angular.module('zmApp.controllers').controller('zmApp.StateCtrl', ['$ionicPopup'
template: '<ion-radio-fix ng-repeat="item in allStateNames" ng-value="item" ng-model="myopt.selectedState"> {{item}} </ion-radio-fix>',
- title: 'Select run state',
- subTitle: 'current state:' + $scope.customState ? ("current state: " + $scope.customState) : "",
+ title: $translate.instant('kSelectRunState'),
+ subTitle: $translate.instant('kCurrentState') + $scope.customState ? ($translate.instant('kCurrentState')+": " + $scope.customState) : "",
buttons: [
{
- text: 'Cancel',
+ text: $translate.instant('kButtonCancel'),
onTap: function (e) {
return "CANCEL";
}
},
{
- text: 'OK',
+ text: $translate.instant('kButtonOk'),
onTap: function (e) {
return "OK";