aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/src/common/attributes/useCommonDeviceAttributes.js8
-rw-r--r--web/l10n/en.json3
2 files changed, 11 insertions, 0 deletions
diff --git a/modern/src/common/attributes/useCommonDeviceAttributes.js b/modern/src/common/attributes/useCommonDeviceAttributes.js
index 8a4d886c..f9214818 100644
--- a/modern/src/common/attributes/useCommonDeviceAttributes.js
+++ b/modern/src/common/attributes/useCommonDeviceAttributes.js
@@ -6,6 +6,14 @@ export default (t) => useMemo(() => ({
type: 'number',
subtype: 'speed',
},
+ fuelDropThreshold: {
+ name: t('attributeFuelDropThreshold'),
+ type: 'number',
+ },
+ fuelIncreaseThreshold: {
+ name: t('attributeFuelIncreaseThreshold'),
+ type: 'number',
+ },
'report.ignoreOdometer': {
name: t('attributeReportIgnoreOdometer'),
type: 'boolean',
diff --git a/web/l10n/en.json b/web/l10n/en.json
index 712e32ff..c23cb402 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -97,6 +97,8 @@
"sharedColumns": "Columns",
"sharedDropzoneText": "Drag and drop a file here or click",
"attributeSpeedLimit": "Speed Limit",
+ "attributeFuelDropThreshold": "Fuel Drop Threshold",
+ "attributeFuelIncreaseThreshold": "Fuel Increase Threshold",
"attributePolylineDistance": "Polyline Distance",
"attributeReportIgnoreOdometer": "Report: Ignore Odometer",
"attributeWebReportColor": "Web: Report Color",
@@ -396,6 +398,7 @@
"eventDeviceStopped": "Device stopped",
"eventDeviceOverspeed": "Speed limit exceeded",
"eventDeviceFuelDrop": "Fuel drop",
+ "eventDeviceFuelIncrease": "Fuel increase",
"eventCommandResult": "Command result",
"eventGeofenceEnter": "Geofence entered",
"eventGeofenceExit": "Geofence exited",