aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/command
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 10:59:20 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 10:59:20 +1200
commite301d477ee95c0ae7f3d06f0950368cb5d8fe226 (patch)
tree11d08db1bd0397fe5521a4096ef416b7e73d4dbc /web/app/view/command
parent53f9c016515b9700dedb4e2b9bad02a85ee07460 (diff)
downloadtrackermap-server-e301d477ee95c0ae7f3d06f0950368cb5d8fe226.tar.gz
trackermap-server-e301d477ee95c0ae7f3d06f0950368cb5d8fe226.tar.bz2
trackermap-server-e301d477ee95c0ae7f3d06f0950368cb5d8fe226.zip
Rename string properties
Diffstat (limited to 'web/app/view/command')
-rw-r--r--web/app/view/command/CommandDialog.js12
-rw-r--r--web/app/view/command/CommandDialogController.js2
2 files changed, 7 insertions, 7 deletions
diff --git a/web/app/view/command/CommandDialog.js b/web/app/view/command/CommandDialog.js
index a8da68380..ae88add21 100644
--- a/web/app/view/command/CommandDialog.js
+++ b/web/app/view/command/CommandDialog.js
@@ -25,7 +25,7 @@ Ext.define('Traccar.view.command.CommandDialog', {
controller: 'commanddialog',
bodyPadding: styles.panel_padding,
- title: strings.command_title,
+ title: strings.commandTitle,
resizable: false,
modal: true,
@@ -34,7 +34,7 @@ Ext.define('Traccar.view.command.CommandDialog', {
items: [{
xtype: 'combobox',
name: 'type',
- fieldLabel: strings.command_type,
+ fieldLabel: strings.commandType,
store: 'CommandTypes',
displayField: 'name',
valueField: 'key',
@@ -49,11 +49,11 @@ Ext.define('Traccar.view.command.CommandDialog', {
items: [{
xtype: 'numberfield',
- fieldLabel: strings.command_frequency,
+ fieldLabel: strings.commandFrequency,
name: 'frequency'
}, {
xtype: 'combobox',
- fieldLabel: strings.command_unit,
+ fieldLabel: strings.commandUnit,
name: 'unit',
store: 'TimeUnits',
displayField: 'name',
@@ -63,10 +63,10 @@ Ext.define('Traccar.view.command.CommandDialog', {
},
buttons: [{
- text: strings.command_send,
+ text: strings.commandSend,
handler: 'onSendClick'
}, {
- text: strings.shared_cancel,
+ text: strings.sharedCancel,
handler: 'onCancelClick'
}]
diff --git a/web/app/view/command/CommandDialogController.js b/web/app/view/command/CommandDialogController.js
index c5e98450f..84004e2aa 100644
--- a/web/app/view/command/CommandDialogController.js
+++ b/web/app/view/command/CommandDialogController.js
@@ -50,7 +50,7 @@ Ext.define('Traccar.view.command.CommandDialogController', {
onSendReturn: function(options, success, response) {
if (Traccar.ErrorManager.check(success, response)) {
this.closeView();
- //TODO toast Ext.toast(strings.login_created);
+ //TODO toast Ext.toast(strings.loginCreated);
}
},