moves labels from cycle-day

This commit is contained in:
tina
2018-11-28 14:21:04 +01:00
parent 75ef151098
commit 186156007a
11 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import Header from '../header'
import { getCycleDay } from '../../db'
import cycleModule from '../../lib/cycle'
import styles from '../../styles'
import * as labels from './labels'
import * as labels from '../../copy/en/cycle-day'
import AppText from '../app-text'
import DripIcon from '../../assets/drip-icons'
-96
View File
@@ -1,96 +0,0 @@
export const bleeding = ['spotting', 'light', 'medium', 'heavy']
export const mucusNFP = ['t', 'Ø', 'f', 'S', 'S+']
export const intensity = ['low', 'medium', 'high']
export const cervix = {
opening: {
categories: ['closed', 'medium', 'open'],
explainer: 'Is your cervix open or closed?'
},
firmness: {
categories: ['hard', 'soft'],
explainer: "When it's hard it might feel like the tip of your nose"
},
position: {
categories: ['low', 'medium', 'high'],
explainer: 'How high up in the vagina is the cervix?'
}
}
export const mucus = {
feeling: {
categories: ['dry', 'nothing', 'wet', 'slippery'],
explainer: 'What does your vaginal entrance feel like?'
},
texture: {
categories: ['nothing', 'creamy', 'egg white'],
explainer: "Looking at and touching your cervical mucus, which describes it best?"
},
excludeExplainer: "You can exclude this value if you don't want to use it for fertility detection"
}
export const desire = {
header: 'Intensity',
explainer: 'How would you rate your sexual desire?'
}
export const sex = {
categories:{
solo: 'Solo',
partner: 'Partner',
},
explainer: 'Were you sexually active today?',
}
export const contraceptives = {
categories:{
condom: 'Condom',
pill: 'Pill',
iud: 'IUD',
patch: 'Patch',
ring: 'Ring',
implant: 'Implant',
diaphragm: 'Diaphragm',
none: 'None',
other: 'Other',
},
explainer: 'Did you use contraceptives?'
}
export const pain = {
categories: {
cramps: 'Cramps',
ovulationPain: 'Ovulation pain',
headache: 'Headache',
backache: 'Backache',
nausea: 'Nausea',
tenderBreasts: 'Tender breasts',
migraine: 'Migraine',
other: 'Other'
},
explainer: 'How did your body feel today?'
}
export const temperature = {
outOfRangeWarning: 'This temperature value is out of the current range for the temperature chart. You can change the range in the settings.',
outOfAbsoluteRangeWarning: 'This temperature value is too high or low to be shown on the temperature chart.',
saveAnyway: 'Save anyway',
temperature: {
explainer: 'Take your temperature right after waking up, before getting out of bed'
},
note: {
explainer: 'Is there anything that could have influenced this value, such as bad sleep or alcohol consumption?'
},
excludeExplainer: "You can exclude this value if you don't want to use it for fertility detection"
}
export const noteExplainer = "Anything you want to add for the day?"
export const sharedDialogs = {
cancel: 'Cancel',
areYouSureTitle: 'Are you sure?',
areYouSureToUnset: 'Are you sure you want to unset all entered data?',
reallyUnsetData: 'Yes, I am sure',
save: 'Save',
unset: 'Unset'
}
@@ -5,7 +5,7 @@ import {
import Icon from 'react-native-vector-icons/MaterialCommunityIcons'
import { saveSymptom } from '../../../db'
import styles, {iconStyles} from '../../../styles'
import {sharedDialogs as labels} from '../labels'
import {sharedDialogs as labels} from '../../../copy/en/cycle-day'
export default class ActionButtonFooter extends Component {
render() {
+1 -1
View File
@@ -6,7 +6,7 @@ import {
} from 'react-native'
import styles from '../../../styles'
import { saveSymptom } from '../../../db'
import { bleeding as labels } from '../labels'
import { bleeding as labels } from '../../../copy/en/cycle-day'
import ActionButtonFooter from './action-button-footer'
import SelectTabGroup from '../select-tab-group'
import SymptomSection from './symptom-section'
+1 -1
View File
@@ -6,7 +6,7 @@ import {
} from 'react-native'
import styles from '../../../styles'
import { saveSymptom } from '../../../db'
import { cervix as labels } from '../labels'
import { cervix as labels } from '../../../copy/en/cycle-day'
import ActionButtonFooter from './action-button-footer'
import SelectTabGroup from '../select-tab-group'
import SymptomSection from './symptom-section'
+1 -1
View File
@@ -5,7 +5,7 @@ import {
} from 'react-native'
import styles from '../../../styles'
import { saveSymptom } from '../../../db'
import { intensity, desire } from '../labels'
import { intensity, desire } from '../../../copy/en/cycle-day'
import ActionButtonFooter from './action-button-footer'
import SelectTabGroup from '../select-tab-group'
import SymptomSection from './symptom-section'
+1 -1
View File
@@ -6,7 +6,7 @@ import {
} from 'react-native'
import styles from '../../../styles'
import { saveSymptom } from '../../../db'
import { mucus as labels } from '../labels'
import { mucus as labels } from '../../../copy/en/cycle-day'
import computeSensiplanValue from '../../../lib/sensiplan-mucus'
import ActionButtonFooter from './action-button-footer'
import SelectTabGroup from '../select-tab-group'
+1 -1
View File
@@ -9,7 +9,7 @@ import styles from '../../../styles'
import { saveSymptom } from '../../../db'
import ActionButtonFooter from './action-button-footer'
import SymptomSection from './symptom-section'
import { noteExplainer } from '../labels'
import { noteExplainer } from '../../../copy/en/cycle-day'
export default class Note extends Component {
constructor(props) {
+1 -1
View File
@@ -5,7 +5,7 @@ import {
View
} from 'react-native'
import { saveSymptom } from '../../../db'
import { pain as labels } from '../labels'
import { pain as labels } from '../../../copy/en/cycle-day'
import ActionButtonFooter from './action-button-footer'
import SelectBoxGroup from '../select-box-group'
import SymptomSection from './symptom-section'
+1 -1
View File
@@ -6,7 +6,7 @@ import {
} from 'react-native'
import styles from '../../../styles'
import { saveSymptom } from '../../../db'
import { sex as sexLabels, contraceptives as cLabels } from '../labels'
import { sex as sexLabels, contraceptives as cLabels } from '../../../copy/en/cycle-day'
import ActionButtonFooter from './action-button-footer'
import SelectBoxGroup from '../select-box-group'
import SymptomSection from './symptom-section'
+1 -1
View File
@@ -13,7 +13,7 @@ import padWithZeros from '../../helpers/pad-time-with-zeros'
import { getPreviousTemperature, saveSymptom } from '../../../db'
import styles from '../../../styles'
import { LocalTime, ChronoUnit } from 'js-joda'
import { temperature as labels } from '../labels'
import { temperature as labels } from '../../../copy/en/cycle-day'
import { scaleObservable } from '../../../local-storage'
import { shared } from '../../labels'
import ActionButtonFooter from './action-button-footer'