diff --git a/components/cycle-day/symptom-box.js b/components/cycle-day/symptom-box.js index f9fcd0c..1d78f02 100644 --- a/components/cycle-day/symptom-box.js +++ b/components/cycle-day/symptom-box.js @@ -20,7 +20,7 @@ const SymptomBox = ({ editedSymptom, setEditedSymptom, }) => { - const { t } = useTranslation(null, { keyPrefix: 'cycleDay.symptomBox' }) + const { t } = useTranslation(null, { keyPrefix: 'symptoms' }) const isSymptomEdited = editedSymptom === symptom const isSymptomDisabled = isDateInFuture(date) && symptom !== 'note' const isExcluded = symptomData !== null ? symptomData.exclude : false diff --git a/i18n/en.json b/i18n/en.json index 436ca79..6467b64 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -7,18 +7,16 @@ "chart": { "tutorial": "You can swipe the chart to view more dates." }, - "cycleDay": { - "symptomBox": { - "bleeding": "bleeding", - "temperature": "temperature", - "mucus": "cervical mucus", - "cervix": "cervix", - "note": "note", - "desire": "desire", - "sex": "sex", - "pain": "pain", - "mood": "mood" - } + "symptoms": { + "bleeding": "bleeding", + "temperature": "temperature", + "mucus": "cervical mucus", + "cervix": "cervix", + "note": "note", + "desire": "desire", + "sex": "sex", + "pain": "pain", + "mood": "mood" }, "labels": { "bleedingPrediction": {