Generalize title of symptom labels
This commit is contained in:
@@ -20,7 +20,7 @@ const SymptomBox = ({
|
|||||||
editedSymptom,
|
editedSymptom,
|
||||||
setEditedSymptom,
|
setEditedSymptom,
|
||||||
}) => {
|
}) => {
|
||||||
const { t } = useTranslation(null, { keyPrefix: 'cycleDay.symptomBox' })
|
const { t } = useTranslation(null, { keyPrefix: 'symptoms' })
|
||||||
const isSymptomEdited = editedSymptom === symptom
|
const isSymptomEdited = editedSymptom === symptom
|
||||||
const isSymptomDisabled = isDateInFuture(date) && symptom !== 'note'
|
const isSymptomDisabled = isDateInFuture(date) && symptom !== 'note'
|
||||||
const isExcluded = symptomData !== null ? symptomData.exclude : false
|
const isExcluded = symptomData !== null ? symptomData.exclude : false
|
||||||
|
|||||||
+1
-3
@@ -7,8 +7,7 @@
|
|||||||
"chart": {
|
"chart": {
|
||||||
"tutorial": "You can swipe the chart to view more dates."
|
"tutorial": "You can swipe the chart to view more dates."
|
||||||
},
|
},
|
||||||
"cycleDay": {
|
"symptoms": {
|
||||||
"symptomBox": {
|
|
||||||
"bleeding": "bleeding",
|
"bleeding": "bleeding",
|
||||||
"temperature": "temperature",
|
"temperature": "temperature",
|
||||||
"mucus": "cervical mucus",
|
"mucus": "cervical mucus",
|
||||||
@@ -18,7 +17,6 @@
|
|||||||
"sex": "sex",
|
"sex": "sex",
|
||||||
"pain": "pain",
|
"pain": "pain",
|
||||||
"mood": "mood"
|
"mood": "mood"
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
"bleedingPrediction": {
|
"bleedingPrediction": {
|
||||||
|
|||||||
Reference in New Issue
Block a user