diff options
author | K-J-Dod24 <kieran.dodson@complexus.uk> | 2023-05-16 08:48:48 +0100 |
---|---|---|
committer | K-J-Dod24 <kieran.dodson@complexus.uk> | 2023-05-16 08:48:48 +0100 |
commit | 8c93f087e15d7f4452169ef80f9f5ff22a9096e1 (patch) | |
tree | 4d7214502b58c67bebc1da1d145c65a842cc632f /modern/src | |
parent | f11a92bdbc68df4696ed698b618420f643e39d42 (diff) | |
download | trackermap-web-8c93f087e15d7f4452169ef80f9f5ff22a9096e1.tar.gz trackermap-web-8c93f087e15d7f4452169ef80f9f5ff22a9096e1.tar.bz2 trackermap-web-8c93f087e15d7f4452169ef80f9f5ff22a9096e1.zip |
removed Engine temp (115)
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/common/attributes/usePositionAttributes.js | 4 | ||||
-rw-r--r-- | modern/src/common/components/PositionValue.js | 2 | ||||
-rw-r--r-- | modern/src/resources/l10n/en.json | 1 |
3 files changed, 0 insertions, 7 deletions
diff --git a/modern/src/common/attributes/usePositionAttributes.js b/modern/src/common/attributes/usePositionAttributes.js index a2fab896..2c3aa0f7 100644 --- a/modern/src/common/attributes/usePositionAttributes.js +++ b/modern/src/common/attributes/usePositionAttributes.js @@ -108,10 +108,6 @@ export default (t) => useMemo(() => ({ name: t('positionCoolantTemp'), type: 'number', }, - engineTemp: { - name: t('positionEngineTemp'), - type: 'number', - }, gps: { name: t('positionGps'), type: 'number', diff --git a/modern/src/common/components/PositionValue.js b/modern/src/common/components/PositionValue.js index 525a7047..6ff7c7ad 100644 --- a/modern/src/common/components/PositionValue.js +++ b/modern/src/common/components/PositionValue.js @@ -47,8 +47,6 @@ const PositionValue = ({ position, property, attribute }) => { return value != null ? formatPercentage(value, t) : ''; case 'coolantTemp': return formatCelsius(value); - case 'engineTemp': - return formatCelsius(value); case 'alarm': return formatAlarm(value, t); case 'odometer': diff --git a/modern/src/resources/l10n/en.json b/modern/src/resources/l10n/en.json index 32e5de6f..ab2ffd04 100644 --- a/modern/src/resources/l10n/en.json +++ b/modern/src/resources/l10n/en.json @@ -232,7 +232,6 @@ "linkAppleMaps": "Apple Maps", "linkStreetView": "Street View", "positionCoolantTemp": "Coolant Temperature", - "positionEngineTemp": "Engine Temperature", "positionFixTime": "Fix Time", "positionDeviceTime": "Device Time", "positionServerTime": "Server Time", |