use enter from i18n instead of hard-coded string
- issue: 127 - by: sg
This commit is contained in:
@@ -10,6 +10,7 @@ import { saveSymptom } from '../../../db'
|
||||
import ActionButtonFooter from './action-button-footer'
|
||||
import SymptomSection from './symptom-section'
|
||||
import { noteExplainer } from '../../../i18n/en/cycle-day'
|
||||
import { shared } from '../../../i18n/en/labels'
|
||||
|
||||
export default class Note extends Component {
|
||||
constructor(props) {
|
||||
@@ -33,7 +34,7 @@ export default class Note extends Component {
|
||||
<TextInput
|
||||
autoFocus={!this.state.currentValue}
|
||||
multiline={true}
|
||||
placeholder="Enter"
|
||||
placeholder={shared.enter}
|
||||
onChangeText={(val) => {
|
||||
this.setState({ currentValue: val })
|
||||
}}
|
||||
|
||||
@@ -6,6 +6,7 @@ import {
|
||||
} from 'react-native'
|
||||
import { saveSymptom } from '../../../db'
|
||||
import { pain as labels } from '../../../i18n/en/cycle-day'
|
||||
import { shared } from '../../../i18n/en/labels'
|
||||
import ActionButtonFooter from './action-button-footer'
|
||||
import SelectBoxGroup from '../select-box-group'
|
||||
import SymptomSection from './symptom-section'
|
||||
@@ -49,7 +50,7 @@ export default class Pain extends Component {
|
||||
<TextInput
|
||||
autoFocus={this.state.focusTextArea}
|
||||
multiline={true}
|
||||
placeholder="Enter"
|
||||
placeholder={shared.enter}
|
||||
value={this.state.note}
|
||||
onChangeText={(val) => {
|
||||
this.setState({note: val})
|
||||
|
||||
@@ -142,7 +142,7 @@ export default class Temp extends Component {
|
||||
<TextInput
|
||||
multiline={true}
|
||||
autoFocus={this.state.focusTextArea}
|
||||
placeholder="Enter"
|
||||
placeholder={shared.enter}
|
||||
value={this.state.note}
|
||||
onChangeText={(val) => {
|
||||
this.setState({ note: val })
|
||||
|
||||
Reference in New Issue
Block a user