From e301d477ee95c0ae7f3d06f0950368cb5d8fe226 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 3 Aug 2015 10:59:20 +1200 Subject: Rename string properties --- web/app/view/command/CommandDialog.js | 12 ++++++------ web/app/view/command/CommandDialogController.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'web/app/view/command') 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); } }, -- cgit v1.2.3