diff --git a/components/cycle-day/cycle-day-overview.js b/components/cycle-day/cycle-day-overview.js index 88de356047e2f3c7ba53ee93f2ccfe4805a68015..09e9ef9c03dfe5e085ddc009038e310bf5f743d1 100644 --- a/components/cycle-day/cycle-day-overview.js +++ b/components/cycle-day/cycle-day-overview.js @@ -14,7 +14,7 @@ import * as labels from '../../i18n/en/cycle-day' import AppText from '../app-text' import DripIcon from '../../assets/drip-icons' -const bleedingLabels = labels.bleeding +const bleedingLabels = labels.bleeding.labels const feelingLabels = labels.mucus.feeling.categories const textureLabels = labels.mucus.texture.categories const openingLabels = labels.cervix.opening.categories @@ -56,7 +56,7 @@ export default class CycleDayOverView extends Component { const l = { bleeding: bleeding => { if (isNumber(bleeding.value)) { - let bleedingLabel = `${bleedingLabels[bleeding.value]}` + let bleedingLabel = bleedingLabels[bleeding.value] if (bleeding.exclude) bleedingLabel = "( " + bleedingLabel + " )" return bleedingLabel } diff --git a/i18n/en/cycle-day.js b/i18n/en/cycle-day.js index 1a990f30a53ea5d1e9bd7b45d3c31e2dddab2695..b3c783f56bf0c5fc2a1dfe3b12a8f312e9d464fb 100644 --- a/i18n/en/cycle-day.js +++ b/i18n/en/cycle-day.js @@ -2,15 +2,15 @@ export const mucusNFP = ['t', 'Ø', 'f', 'S', 'S+'] export const intensity = ['low', 'medium', 'high'] export const bleeding = { - labels: ['spotting', 'light', 'medium', 'heavy'], - heaviness: { - header: "Heaviness", - explainer: "How heavy is the bleeding?", - }, - exclude: { - header: "Exclude", - explainer: "You can exclude this value if it's not menstrual bleeding" - } + labels: ['spotting', 'light', 'medium', 'heavy'], + heaviness: { + header: "Heaviness", + explainer: "How heavy is the bleeding?", + }, + exclude: { + header: "Exclude", + explainer: "You can exclude this value if it's not menstrual bleeding" + } } export const cervix = {