aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/command
diff options
context:
space:
mode:
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);
}
},