aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorKieran Dodson <128472473+K-J-Dod24@users.noreply.github.com>2023-05-09 14:07:01 +0100
committerGitHub <noreply@github.com>2023-05-09 14:07:01 +0100
commitab06adb8b2cd545da0cf3986344e9032a1a95bda (patch)
tree814912b9c0b5be3bb0fa8afb500911735cb686b6 /modern/src
parent7fb25ec79abadb027bae34c1a89933156e5ab670 (diff)
parent2f1eadabb795475b595476936905855c3816ff90 (diff)
downloadtrackermap-web-ab06adb8b2cd545da0cf3986344e9032a1a95bda.tar.gz
trackermap-web-ab06adb8b2cd545da0cf3986344e9032a1a95bda.tar.bz2
trackermap-web-ab06adb8b2cd545da0cf3986344e9032a1a95bda.zip
Merge pull request #4 from Complexus-Limited/Teltonika-io30-faultCount
io30 teltonika fault count
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/common/attributes/usePositionAttributes.js4
-rw-r--r--modern/src/resources/l10n/en.json1
2 files changed, 5 insertions, 0 deletions
diff --git a/modern/src/common/attributes/usePositionAttributes.js b/modern/src/common/attributes/usePositionAttributes.js
index 90905395..3c753980 100644
--- a/modern/src/common/attributes/usePositionAttributes.js
+++ b/modern/src/common/attributes/usePositionAttributes.js
@@ -112,6 +112,10 @@ export default (t) => useMemo(() => ({
name: t('positionRoaming'),
type: 'boolean',
},
+ faultCount: {
+ name: t('positionFaultCount'),
+ type: 'string',
+ },
event: {
name: t('positionEvent'),
type: 'string',
diff --git a/modern/src/resources/l10n/en.json b/modern/src/resources/l10n/en.json
index 9d76814d..99b4f285 100644
--- a/modern/src/resources/l10n/en.json
+++ b/modern/src/resources/l10n/en.json
@@ -231,6 +231,7 @@
"linkGoogleMaps": "Google Maps",
"linkAppleMaps": "Apple Maps",
"linkStreetView": "Street View",
+ "positionFaultCount": "Fault Count",
"positionFixTime": "Fix Time",
"positionDeviceTime": "Device Time",
"positionServerTime": "Server Time",