From 8c93f087e15d7f4452169ef80f9f5ff22a9096e1 Mon Sep 17 00:00:00 2001 From: K-J-Dod24 Date: Tue, 16 May 2023 08:48:48 +0100 Subject: removed Engine temp (115) --- modern/src/common/attributes/usePositionAttributes.js | 4 ---- modern/src/common/components/PositionValue.js | 2 -- modern/src/resources/l10n/en.json | 1 - 3 files changed, 7 deletions(-) (limited to 'modern/src') 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", -- cgit v1.2.3