Commit 19de3b69 authored by Trisno's avatar Trisno

rubah pesan ketika berhasil dan text tombol edit alamat

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