aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-26 17:21:18 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-26 17:21:18 +0500
commit5b8306084be0e203801c7e25d4084ef0b56b724c (patch)
treee9b5f6648996aa846863ad954cd08b6653782345
parent9f7a04a6bf64554e3d2adccac9698801a0f47296 (diff)
downloadtrackermap-web-5b8306084be0e203801c7e25d4084ef0b56b724c.tar.gz
trackermap-web-5b8306084be0e203801c7e25d4084ef0b56b724c.tar.bz2
trackermap-web-5b8306084be0e203801c7e25d4084ef0b56b724c.zip
Add roaming and steps attributes
-rw-r--r--web/app/store/PositionAttributes.js8
-rw-r--r--web/l10n/en.json2
2 files changed, 10 insertions, 0 deletions
diff --git a/web/app/store/PositionAttributes.js b/web/app/store/PositionAttributes.js
index e457dafc..c8feb0a5 100644
--- a/web/app/store/PositionAttributes.js
+++ b/web/app/store/PositionAttributes.js
@@ -57,6 +57,10 @@ Ext.define('Traccar.store.PositionAttributes', {
name: Strings.positionGps,
valueType: 'number'
}, {
+ key: 'roaming',
+ name: Strings.positionRoaming,
+ valueType: 'boolean'
+ }, {
key: 'event',
name: Strings.positionEvent,
valueType: 'string'
@@ -88,6 +92,10 @@ Ext.define('Traccar.store.PositionAttributes', {
name: Strings.positionHours,
valueType: 'string'
}, {
+ key: 'steps',
+ name: Strings.positionSteps,
+ valueType: 'number'
+ }, {
key: 'input',
name: Strings.positionInput,
valueType: 'string'
diff --git a/web/l10n/en.json b/web/l10n/en.json
index 91f5ca7f..5abeea67 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",