Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_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
clone_excelso
Commits
802be79f
Commit
802be79f
authored
Jun 18, 2020
by
Trisno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
translate reset password
parent
9ed8d5f5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
en.json
lib/en.json
+2
-1
id.json
lib/id.json
+2
-1
Auth.js
view/Auth.js
+1
-1
ResetPassword.js
view/ResetPassword.js
+3
-3
No files found.
lib/en.json
View file @
802be79f
...
@@ -77,6 +77,7 @@
...
@@ -77,6 +77,7 @@
"alertpoin"
:
"Sorry, your points are not enough"
,
"alertpoin"
:
"Sorry, your points are not enough"
,
"alertselectpayment"
:
"Please choose a payment method"
,
"alertselectpayment"
:
"Please choose a payment method"
,
"alertbalance"
:
"Sorry, your balance are not enough"
,
"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
lib/id.json
View file @
802be79f
...
@@ -77,7 +77,8 @@
...
@@ -77,7 +77,8 @@
"alertpoin"
:
"Maaf Point tidak cukup"
,
"alertpoin"
:
"Maaf Point tidak cukup"
,
"alertselectpayment"
:
"Silahkan pilih metode pembayaran"
,
"alertselectpayment"
:
"Silahkan pilih metode pembayaran"
,
"alertbalance"
:
"Maaf Saldo tidak cukup"
,
"alertbalance"
:
"Maaf Saldo tidak cukup"
,
"alertbalancepoin"
:
"Maaf Saldo dan poin tidak cukup"
"alertbalancepoin"
:
"Maaf Saldo dan poin tidak cukup"
,
"headerResetPassword"
:
"GANTI PASSWORD"
}
}
...
...
view/Auth.js
View file @
802be79f
...
@@ -612,7 +612,7 @@ class Auth extends React.Component {
...
@@ -612,7 +612,7 @@ class Auth extends React.Component {
fontFamily
:
'Gotham-Black'
,
fontFamily
:
'Gotham-Black'
,
color
:
'white'
color
:
'white'
},
},
headerTitle
:
'RESET PASSWORD'
headerTitle
:
i18n
.
t
(
'headerResetPassword'
)
}}
/
>
}}
/
>
...
...
view/ResetPassword.js
View file @
802be79f
...
@@ -78,7 +78,7 @@ class ResetPassword extends React.Component {
...
@@ -78,7 +78,7 @@ class ResetPassword extends React.Component {
/
>
/
>
<
View
style
=
{{
flex
:
3
}}
>
<
View
style
=
{{
flex
:
3
}}
>
<
View
style
=
{{
flex
:
1
,
marginRight
:
30
,
marginLeft
:
30
,
top
:
50
}}
>
<
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
}}
<
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
})}
onChangeText
=
{(
email
)
=>
this
.
setState
({
email
})}
autoCapitalize
=
"none"
autoCapitalize
=
"none"
...
@@ -86,11 +86,11 @@ class ResetPassword extends React.Component {
...
@@ -86,11 +86,11 @@ class ResetPassword extends React.Component {
keyboardType
=
'email-address'
/>
keyboardType
=
'email-address'
/>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
handleResetPassword
()}
>
<
TouchableOpacity
style
=
{{
height
:
100
}}
onPress
=
{()
=>
this
.
handleResetPassword
()}
>
<
View
style
=
{{
backgroundColor
:
'#CFB368'
,
height
:
45
,
top
:
20
,
borderRadius
:
10
,
marginRight
:
50
,
marginLeft
:
50
}}
>
<
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
>
<
/View
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
TouchableOpacity
style
=
{{
height
:
60
}}
onPress
=
{()
=>
this
.
handleEnterToken
()}
>
<
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
>
<
/TouchableOpacity
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
...
...
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