Commit 19de3b69 authored by Trisno's avatar Trisno

rubah pesan ketika berhasil dan text tombol edit alamat

parent 9c8e9df5
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
"Viewprofil": "View Profile", "Viewprofil": "View Profile",
"searchaddress": "Search Address", "searchaddress": "Search Address",
"addaddress": "Add Address", "addaddress": "Add Address",
"editaddress": "Edit Address",
"label": "Label", "label": "Label",
"selectaddress": "SELECT", "selectaddress": "SELECT",
"detail": "Details", "detail": "Details",
...@@ -162,6 +163,7 @@ ...@@ -162,6 +163,7 @@
"alertAddressNotFound": "Address not found!", "alertAddressNotFound": "Address not found!",
"alertSuccessAddAddressTitle": "Success", "alertSuccessAddAddressTitle": "Success",
"alertSuccessAddAddressContent": "Address added successfully", "alertSuccessAddAddressContent": "Address added successfully",
"alertSuccessEditAddressContent": "Address updated successfully",
"findAddress": "Find Address", "findAddress": "Find Address",
"yourLocation": "Your Location", "yourLocation": "Your Location",
"alertCamera": "A camera permission is required for this process", "alertCamera": "A camera permission is required for this process",
......
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
"Viewprofil": "Lihat Profil", "Viewprofil": "Lihat Profil",
"searchaddress": "Cari Alamat", "searchaddress": "Cari Alamat",
"addaddress": "Tambah Alamat", "addaddress": "Tambah Alamat",
"editaddress": "Edit Alamat",
"label": "Label", "label": "Label",
"selectaddress": "PILIH", "selectaddress": "PILIH",
"detail": "Detail", "detail": "Detail",
...@@ -162,6 +163,7 @@ ...@@ -162,6 +163,7 @@
"alertAddressNotFound": "Alamat tidak ditemukan!", "alertAddressNotFound": "Alamat tidak ditemukan!",
"alertSuccessAddAddressTitle": "Berhasil", "alertSuccessAddAddressTitle": "Berhasil",
"alertSuccessAddAddressContent": "Berhasil menambahkan Alamat !", "alertSuccessAddAddressContent": "Berhasil menambahkan Alamat !",
"alertSuccessEditAddressContent": "Berhasil memperbarui Alamat !",
"findAddress": "Cari Alamat", "findAddress": "Cari Alamat",
"yourLocation": "Lokasi Anda", "yourLocation": "Lokasi Anda",
"alertCamera": "Izin ke device kamera diperlukan untuk proses ini", "alertCamera": "Izin ke device kamera diperlukan untuk proses ini",
......
...@@ -249,7 +249,7 @@ class EditAddressDetail extends React.Component { ...@@ -249,7 +249,7 @@ class EditAddressDetail extends React.Component {
Axios.post(this.props.BASE_URL + 'crm/v2/member/set_address', params).then(res => { Axios.post(this.props.BASE_URL + 'crm/v2/member/set_address', params).then(res => {
Alert.alert( Alert.alert(
i18n.t('alertSuccessAddAddressTitle'), i18n.t('alertSuccessAddAddressTitle'),
i18n.t('alertSuccessAddAddressContent') i18n.t('alertSuccessEditAddressContent')
) )
this.setState({ this.setState({
...@@ -418,7 +418,7 @@ class EditAddressDetail extends React.Component { ...@@ -418,7 +418,7 @@ class EditAddressDetail extends React.Component {
) : ( ) : (
<TouchableOpacity onPress={() => this.validation()}> <TouchableOpacity onPress={() => this.validation()}>
<View style={{ height: 40, borderRadius: 10, backgroundColor: '#CFB368', justifyContent: 'center' }}> <View style={{ height: 40, borderRadius: 10, backgroundColor: '#CFB368', justifyContent: 'center' }}>
<Text style={{ fontFamily: 'Gotham-Black', color: 'white', fontSize: 16, textAlign: 'center' }}>{i18n.t('addaddress')}</Text> <Text style={{ fontFamily: 'Gotham-Black', color: 'white', fontSize: 16, textAlign: 'center' }}>{i18n.t('editaddress')}</Text>
</View> </View>
</TouchableOpacity> </TouchableOpacity>
) )
......
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