From 60c663cc1df0543d12443ec3aa76b8e65dff6744 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 14 May 2023 07:14:50 -0700 Subject: Standard heart rate attribute --- modern/src/common/attributes/usePositionAttributes.js | 4 ++++ modern/src/resources/l10n/en.json | 1 + 2 files changed, 5 insertions(+) (limited to 'modern') diff --git a/modern/src/common/attributes/usePositionAttributes.js b/modern/src/common/attributes/usePositionAttributes.js index 90905395..cc50911c 100644 --- a/modern/src/common/attributes/usePositionAttributes.js +++ b/modern/src/common/attributes/usePositionAttributes.js @@ -148,6 +148,10 @@ export default (t) => useMemo(() => ({ name: t('positionSteps'), type: 'number', }, + heartRate: { + name: t('positionHeartRate'), + type: 'number', + }, input: { name: t('positionInput'), type: 'number', diff --git a/modern/src/resources/l10n/en.json b/modern/src/resources/l10n/en.json index a6ac151f..4ad897a5 100644 --- a/modern/src/resources/l10n/en.json +++ b/modern/src/resources/l10n/en.json @@ -267,6 +267,7 @@ "positionHours": "Hours", "positionSteps": "Steps", "positionInput": "Input", + "positionHeartRate": "Heart Rate", "positionOutput": "Output", "positionBatteryLevel": "Battery Level", "positionFuelConsumption": "Fuel Consumption", -- cgit v1.2.3