Commit 802be79f authored by Trisno's avatar Trisno

translate reset password

parent 9ed8d5f5
......@@ -77,6 +77,7 @@
"alertpoin":"Sorry, your points are not enough",
"alertselectpayment":"Please choose a payment method",
"alertbalance":"Sorry, your balance are not enough",
"alertbalancepoin":"Sorry, your balance and points are not enough"
"alertbalancepoin":"Sorry, your balance and points are not enough",
"headerResetPassword":"RESET PASSWORD"
}
\ No newline at end of file
......@@ -77,7 +77,8 @@
"alertpoin":"Maaf Point tidak cukup",
"alertselectpayment":"Silahkan pilih metode pembayaran",
"alertbalance":"Maaf Saldo tidak cukup",
"alertbalancepoin":"Maaf Saldo dan poin tidak cukup"
"alertbalancepoin":"Maaf Saldo dan poin tidak cukup",
"headerResetPassword":"GANTI PASSWORD"
}
......
......@@ -612,7 +612,7 @@ class Auth extends React.Component {
fontFamily: 'Gotham-Black',
color: 'white'
},
headerTitle: 'RESET PASSWORD'
headerTitle: i18n.t('headerResetPassword')
}} />
......
......@@ -78,7 +78,7 @@ class ResetPassword extends React.Component {
/>
<View style={{ flex: 3 }}>
<View style={{ flex: 1, marginRight: 30, marginLeft: 30, top: 50 }}>
<Text style={{ fontFamily: 'Gotham-Black', color: '#CFB368', fontSize: 20, textAlign: 'center', margin: 3 }}>Email</Text>
<Text style={{ fontFamily: 'Gotham-Black', color: '#CFB368', fontSize: 20, textAlign: 'center', margin: 3 }}>{i18n.t('email')}</Text>
<TextInput style={{ height: 40, borderWidth: 1, padding: 5, margin: 10, borderRadius: 10, borderColor: 'grey', fontFamily: 'Gotham-Black', textAlign: 'center', color: 'grey', fontWeight: 'bold', fontSize: 20 }}
onChangeText={(email) => this.setState({ email })}
autoCapitalize="none"
......@@ -86,11 +86,11 @@ class ResetPassword extends React.Component {
keyboardType='email-address' />
<TouchableOpacity style={{ height: 100 }} onPress={() => this.handleResetPassword()}>
<View style={{ backgroundColor: '#CFB368', height: 45, top: 20, borderRadius: 10, marginRight: 50, marginLeft: 50 }}>
<Text style={{ alignSelf: 'center', top: 10, color: 'white', fontFamily: 'Gotham-Black', fontSize: 20 }}>SUBMIT</Text>
<Text style={{ alignSelf: 'center', top: 10, color: 'white', fontFamily: 'Gotham-Black', fontSize: 20 }}>{i18n.t('submit')}</Text>
</View>
</TouchableOpacity>
<TouchableOpacity style={{ height: 60 }} onPress={() => this.handleEnterToken()}>
<Text style={{ alignSelf: 'center', color: '#CFB368', fontFamily: 'Gotham-Black', fontSize: 20 }}>ENTER TOKEN</Text>
<Text style={{ alignSelf: 'center', color: '#CFB368', fontFamily: 'Gotham-Black', fontSize: 20 }}>{i18n.t('enterToken')}</Text>
</TouchableOpacity>
</View>
</View>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment