aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/device/Device.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-10 19:16:38 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-10 19:16:38 +1200
commitb36a8688af39b0d43126d46275f83fa9c940ed62 (patch)
tree2b5ac4606c9850d010067db129388c0cbc521e03 /web/app/view/device/Device.js
parentc5bfe9746e7c0382ca5ab767486f425e96fd0ace (diff)
downloadtraccar-server-b36a8688af39b0d43126d46275f83fa9c940ed62.tar.gz
traccar-server-b36a8688af39b0d43126d46275f83fa9c940ed62.tar.bz2
traccar-server-b36a8688af39b0d43126d46275f83fa9c940ed62.zip
Re-organize strings for localization
Diffstat (limited to 'web/app/view/device/Device.js')
-rw-r--r--web/app/view/device/Device.js23
1 files changed, 12 insertions, 11 deletions
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'
}],