From 186156007aeabf1a39d3bd5c98c48668db553702 Mon Sep 17 00:00:00 2001 From: tina Date: Wed, 28 Nov 2018 14:21:04 +0100 Subject: [PATCH] moves labels from cycle-day --- components/cycle-day/cycle-day-overview.js | 2 +- components/cycle-day/symptoms/action-button-footer.js | 2 +- components/cycle-day/symptoms/bleeding.js | 2 +- components/cycle-day/symptoms/cervix.js | 2 +- components/cycle-day/symptoms/desire.js | 2 +- components/cycle-day/symptoms/mucus.js | 2 +- components/cycle-day/symptoms/note.js | 2 +- components/cycle-day/symptoms/pain.js | 2 +- components/cycle-day/symptoms/sex.js | 2 +- components/cycle-day/symptoms/temperature.js | 2 +- components/cycle-day/labels.js => copy/en/cycle-day.js | 0 11 files changed, 10 insertions(+), 10 deletions(-) rename components/cycle-day/labels.js => copy/en/cycle-day.js (100%) diff --git a/components/cycle-day/cycle-day-overview.js b/components/cycle-day/cycle-day-overview.js index 12260e7..3aec640 100644 --- a/components/cycle-day/cycle-day-overview.js +++ b/components/cycle-day/cycle-day-overview.js @@ -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' diff --git a/components/cycle-day/symptoms/action-button-footer.js b/components/cycle-day/symptoms/action-button-footer.js index c2bfe29..6634c3d 100644 --- a/components/cycle-day/symptoms/action-button-footer.js +++ b/components/cycle-day/symptoms/action-button-footer.js @@ -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() { diff --git a/components/cycle-day/symptoms/bleeding.js b/components/cycle-day/symptoms/bleeding.js index 47b140b..caa19a3 100644 --- a/components/cycle-day/symptoms/bleeding.js +++ b/components/cycle-day/symptoms/bleeding.js @@ -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' diff --git a/components/cycle-day/symptoms/cervix.js b/components/cycle-day/symptoms/cervix.js index 815787e..b8e64e1 100644 --- a/components/cycle-day/symptoms/cervix.js +++ b/components/cycle-day/symptoms/cervix.js @@ -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' diff --git a/components/cycle-day/symptoms/desire.js b/components/cycle-day/symptoms/desire.js index d019d48..f421694 100644 --- a/components/cycle-day/symptoms/desire.js +++ b/components/cycle-day/symptoms/desire.js @@ -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' diff --git a/components/cycle-day/symptoms/mucus.js b/components/cycle-day/symptoms/mucus.js index 548a8b3..7053bc3 100644 --- a/components/cycle-day/symptoms/mucus.js +++ b/components/cycle-day/symptoms/mucus.js @@ -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' diff --git a/components/cycle-day/symptoms/note.js b/components/cycle-day/symptoms/note.js index 99cc624..b557478 100644 --- a/components/cycle-day/symptoms/note.js +++ b/components/cycle-day/symptoms/note.js @@ -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) { diff --git a/components/cycle-day/symptoms/pain.js b/components/cycle-day/symptoms/pain.js index 880909e..cdbe497 100644 --- a/components/cycle-day/symptoms/pain.js +++ b/components/cycle-day/symptoms/pain.js @@ -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' diff --git a/components/cycle-day/symptoms/sex.js b/components/cycle-day/symptoms/sex.js index ec827d6..23974d3 100644 --- a/components/cycle-day/symptoms/sex.js +++ b/components/cycle-day/symptoms/sex.js @@ -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' diff --git a/components/cycle-day/symptoms/temperature.js b/components/cycle-day/symptoms/temperature.js index 8845134..49613b6 100644 --- a/components/cycle-day/symptoms/temperature.js +++ b/components/cycle-day/symptoms/temperature.js @@ -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' diff --git a/components/cycle-day/labels.js b/copy/en/cycle-day.js similarity index 100% rename from components/cycle-day/labels.js rename to copy/en/cycle-day.js