Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
new_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasetya Saputra
new_excelso
Commits
19de3b69
Commit
19de3b69
authored
Oct 12, 2020
by
Trisno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rubah pesan ketika berhasil dan text tombol edit alamat
parent
9c8e9df5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
en.json
lib/en.json
+2
-0
id.json
lib/id.json
+2
-0
EditAddressDetail.js
view/EditAddressDetail.js
+2
-2
No files found.
lib/en.json
View file @
19de3b69
...
...
@@ -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"
,
...
...
lib/id.json
View file @
19de3b69
...
...
@@ -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"
,
...
...
view/EditAddressDetail.js
View file @
19de3b69
...
...
@@ -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
(
'alertSuccess
Add
AddressContent'
)
i18n
.
t
(
'alertSuccess
Edit
AddressContent'
)
)
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
(
'
add
address'
)}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'white'
,
fontSize
:
16
,
textAlign
:
'center'
}}
>
{
i18n
.
t
(
'
edit
address'
)}
<
/Text
>
<
/View
>
<
/TouchableOpacity
>
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment