use enter from i18n instead of hard-coded string

- issue: 127
- by: sg
This commit is contained in:
Stefanie Grewenig
2019-01-12 15:59:16 +01:00
parent 08faf477a6
commit 6d88f2bbc0
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -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 })
}}