From 5b8306084be0e203801c7e25d4084ef0b56b724c Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 26 Sep 2017 17:21:18 +0500 Subject: Add roaming and steps attributes --- web/app/store/PositionAttributes.js | 8 ++++++++ web/l10n/en.json | 2 ++ 2 files changed, 10 insertions(+) diff --git a/web/app/store/PositionAttributes.js b/web/app/store/PositionAttributes.js index e457daf..c8feb0a 100644 --- a/web/app/store/PositionAttributes.js +++ b/web/app/store/PositionAttributes.js @@ -56,6 +56,10 @@ Ext.define('Traccar.store.PositionAttributes', { key: 'gps', name: Strings.positionGps, valueType: 'number' + }, { + key: 'roaming', + name: Strings.positionRoaming, + valueType: 'boolean' }, { key: 'event', name: Strings.positionEvent, @@ -87,6 +91,10 @@ Ext.define('Traccar.store.PositionAttributes', { key: 'hours', name: Strings.positionHours, valueType: 'string' + }, { + key: 'steps', + name: Strings.positionSteps, + valueType: 'number' }, { key: 'input', name: Strings.positionInput, diff --git a/web/l10n/en.json b/web/l10n/en.json index 91f5ca7..5abeea6 100644 --- a/web/l10n/en.json +++ b/web/l10n/en.json @@ -181,6 +181,7 @@ "positionSatVisible": "Visible Satellites", "positionRssi": "RSSI", "positionGps": "GPS", + "positionRoaming": "Roaming", "positionEvent": "Event", "positionAlarm": "Alarm", "positionStatus": "Status", @@ -188,6 +189,7 @@ "positionServiceOdometer": "Service Odometer", "positionTripOdometer": "Trip Odometer", "positionHours": "Hours", + "positionSteps": "Steps", "positionInput": "Input", "positionOutput": "Output", "positionBatteryLevel": "Battery Level", -- cgit v1.2.3