From b36a8688af39b0d43126d46275f83fa9c940ed62 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 10 Jul 2015 19:16:38 +1200 Subject: Re-organize strings for localization --- web/app/view/device/Device.js | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'web/app/view/device/Device.js') diff --git a/web/app/view/device/Device.js b/web/app/view/device/Device.js index 25c067242..0f8cb876e 100644 --- a/web/app/view/device/Device.js +++ b/web/app/view/device/Device.js @@ -29,39 +29,40 @@ Ext.define('Traccar.view.device.Device', { selType: 'rowmodel', tbar: [{ - text: strings.device_add, + text: strings.shared_add, handler: 'onAddClick', - reference: 'deviceAddButton' + reference: 'deviceAddButton', + glyph: 'xf067@FontAwesome' }, { - text: strings.device_edit, disabled: true, handler: 'onEditClick', - reference: 'deviceEditButton' + reference: 'deviceEditButton', + glyph: 'xf040@FontAwesome' }, { - text: strings.device_remove, disabled: true, handler: 'onRemoveClick', - reference: 'deviceRemoveButton' + reference: 'deviceRemoveButton', + glyph: 'xf00d@FontAwesome' }, { xtype: 'tbfill' }, { - text: strings.device_settings, + text: strings.settings_title, menu: [{ - text: strings.device_settings_user, + text: strings.settings_user, handler: 'onUserClick' }, { - text: strings.device_settings_server, + text: strings.settings_server, disabled: true, handler: 'onServerClick', reference: 'settingsServerButton' }, { - text: strings.device_settings_users, + text: strings.settings_users, disabled: true, handler: 'onUsersClick', reference: 'settingsUsersButton' }] }, { - text: strings.device_logout, + text: strings.login_logout, handler: 'onLogoutClick' }], -- cgit v1.2.3