From 76137fc0007d9eda85009a275a7b0ea6f1815e56 Mon Sep 17 00:00:00 2001 From: bl00dymarie Date: Wed, 14 Feb 2024 15:10:28 +0100 Subject: [PATCH] Replace hard coded text --- components/settings/customization/index.js | 4 ++-- i18n/en/settings.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/settings/customization/index.js b/components/settings/customization/index.js index 41a5cf5..49a65ff 100644 --- a/components/settings/customization/index.js +++ b/components/settings/customization/index.js @@ -123,11 +123,11 @@ const Settings = () => { const secondarySymptomButtons = [ { - label: 'cervical mucus', + label: labels.useCervix.secondarySymptomCervicalMucus, value: 0, }, { - label: 'cervix', + label: labels.useCervix.secondarySymptomCervix, value: 1, }, ] diff --git a/i18n/en/settings.js b/i18n/en/settings.js index 200ebd6..d4b307a 100644 --- a/i18n/en/settings.js +++ b/i18n/en/settings.js @@ -79,6 +79,8 @@ export default { noSecondaryEnabled: 'To switch the secondary symptom both cervical mucus an cervix need to be enabled in the customization settings.', }, + secondarySymptomCervicalMucus: 'cervical mucus', + secondarySymptomCervix: 'cervix', }, periodPrediction: { title: 'Period predictions',