aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/app/store/DeviceAttributes.js12
-rw-r--r--web/l10n/en.json3
2 files changed, 15 insertions, 0 deletions
diff --git a/web/app/store/DeviceAttributes.js b/web/app/store/DeviceAttributes.js
index c7a4abef..45ae6e3d 100644
--- a/web/app/store/DeviceAttributes.js
+++ b/web/app/store/DeviceAttributes.js
@@ -36,5 +36,17 @@ Ext.define('Traccar.store.DeviceAttributes', {
name: Strings.sharedTimezone,
valueType: 'string',
dataType: 'timezone'
+ }, {
+ key: 'deviceInactivityStart',
+ name: Strings.attributeDeviceInactivityStart,
+ valueType: 'number',
+ allowDecimals: false,
+ minValue: 1
+ }, {
+ key: 'deviceInactivityPeriod',
+ name: Strings.attributeDeviceInactivityPeriod,
+ valueType: 'number',
+ allowDecimals: false,
+ minValue: 1
}]
});
diff --git a/web/l10n/en.json b/web/l10n/en.json
index 49163402..83349be5 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -82,6 +82,8 @@
"attributeReportIgnoreOdometer": "Report: Ignore Odometer",
"attributeWebReportColor": "Web: Report Color",
"attributeDevicePassword": "Device Password",
+ "attributeDeviceInactivityStart": "Device Inactivity Start",
+ "attributeDeviceInactivityPeriod": "Device Inactivity Period",
"attributeProcessingCopyAttributes": "Processing: Copy Attributes",
"attributeColor": "Color",
"attributeWebLiveRouteLength": "Web: Live Route Length",
@@ -304,6 +306,7 @@
"eventDeviceOnline": "Status online",
"eventDeviceUnknown": "Status unknown",
"eventDeviceOffline": "Status offline",
+ "eventDeviceInactive": "Device inactive",
"eventDeviceMoving": "Device moving",
"eventDeviceStopped": "Device stopped",
"eventDeviceOverspeed": "Speed limit exceeded",