aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/device/Device.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/device/Device.js')
-rw-r--r--web/app/view/device/Device.js18
1 files changed, 12 insertions, 6 deletions
diff --git a/web/app/view/device/Device.js b/web/app/view/device/Device.js
index 64f53eeb2..bccb43e9e 100644
--- a/web/app/view/device/Device.js
+++ b/web/app/view/device/Device.js
@@ -15,7 +15,7 @@
*/
Ext.define('Traccar.view.device.Device', {
- extend: 'Ext.grid.Panel',
+ extend: 'Ext.grid.Panel',
xtype: 'device-view',
requires: [
@@ -29,25 +29,31 @@ Ext.define('Traccar.view.device.Device', {
selType: 'rowmodel',
tbar: [{
- text:'Add',
+ text: strings.device_add,
handler: 'onAddClick',
reference: 'deviceAddButton'
}, {
- text:'Edit',
+ text: strings.device_edit,
disabled: true,
handler: 'onEditClick',
reference: 'deviceEditButton'
}, {
- text:'Remove',
+ text: strings.device_remove,
disabled: true,
handler: 'onRemoveClick',
reference: 'deviceRemoveButton'
}, {
xtype: 'tbfill'
}, {
- text:'Settings'
+ text: strings.device_settings,
+ menu: [{
+ text: strings.device_settings_server,
+ disabled: true,
+ handler: 'onServerClick',
+ reference: 'settingsServerButton'
+ }]
}, {
- text:'Logout',
+ text: strings.device_logout,
handler: 'onLogoutClick'
}],