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
aa570bb4
Commit
aa570bb4
authored
Jun 19, 2020
by
Trisno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
translate redeem code
parent
6df414f9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
en.json
lib/en.json
+2
-1
id.json
lib/id.json
+2
-1
Auth.js
view/Auth.js
+1
-1
RedeemCode.js
view/RedeemCode.js
+4
-3
No files found.
lib/en.json
View file @
aa570bb4
...
@@ -127,5 +127,6 @@
...
@@ -127,5 +127,6 @@
"help"
:
"HELP"
,
"help"
:
"HELP"
,
"youRated"
:
"You Rated"
,
"youRated"
:
"You Rated"
,
"rateOrder"
:
"Rate Order"
,
"rateOrder"
:
"Rate Order"
,
"headerEmailConfirm"
:
"EMAIL CONFIRMATION"
"headerEmailConfirm"
:
"EMAIL CONFIRMATION"
,
"headerRedeemCode"
:
"REDEEM CODE"
}
}
\ No newline at end of file
lib/id.json
View file @
aa570bb4
...
@@ -129,5 +129,6 @@
...
@@ -129,5 +129,6 @@
"help"
:
"BANTUAN"
,
"help"
:
"BANTUAN"
,
"youRated"
:
"You Rated@"
,
"youRated"
:
"You Rated@"
,
"rateOrder"
:
"Rate Order@"
,
"rateOrder"
:
"Rate Order@"
,
"headerEmailConfirm"
:
"KONFIRMASI EMAIL"
"headerEmailConfirm"
:
"KONFIRMASI EMAIL"
,
"headerRedeemCode"
:
"REDEEM CODE@"
}
}
\ No newline at end of file
view/Auth.js
View file @
aa570bb4
...
@@ -666,7 +666,7 @@ class Auth extends React.Component {
...
@@ -666,7 +666,7 @@ class Auth extends React.Component {
color
:
'white'
,
color
:
'white'
,
fontSize
:
20
,
fontSize
:
20
,
},
},
title
:
'REDEEM CODE'
,
title
:
i18n
.
t
(
'headerRedeemCode'
)
,
headerLeft
:
props
=>
<
HeaderBackButton
{...
props
}
onPress
=
{()
=>
navigation
.
navigate
(
'Home'
,
{
screen
:
'HOME'
})}
/>
,
headerLeft
:
props
=>
<
HeaderBackButton
{...
props
}
onPress
=
{()
=>
navigation
.
navigate
(
'Home'
,
{
screen
:
'HOME'
})}
/>
,
})}
/
>
})}
/
>
...
...
view/RedeemCode.js
View file @
aa570bb4
...
@@ -5,6 +5,7 @@ import Axios from 'axios';
...
@@ -5,6 +5,7 @@ import Axios from 'axios';
import
ActionType
from
'../redux/globalActionType'
;
import
ActionType
from
'../redux/globalActionType'
;
import
NumberFormat
from
'react-number-format'
;
import
NumberFormat
from
'react-number-format'
;
import
Toast
from
'react-native-tiny-toast'
;
import
Toast
from
'react-native-tiny-toast'
;
import
i18n
from
'i18n-js'
;
class
RedeemCode
extends
React
.
Component
{
class
RedeemCode
extends
React
.
Component
{
...
@@ -88,7 +89,7 @@ class RedeemCode extends React.Component {
...
@@ -88,7 +89,7 @@ class RedeemCode extends React.Component {
<
View
style
=
{
styles
.
body
}
>
<
View
style
=
{
styles
.
body
}
>
<
View
style
=
{
styles
.
current_balance
}
>
<
View
style
=
{
styles
.
current_balance
}
>
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
<
Text
style
=
{{
fontSize
:
20
,
fontFamily
:
'Gotham-Black'
,
color
:
'#838383'
}}
>
Balance
<
/Text
>
<
Text
style
=
{{
fontSize
:
20
,
fontFamily
:
'Gotham-Black'
,
color
:
'#838383'
}}
>
{
i18n
.
t
(
'balance'
)}
<
/Text
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
{
/* <Text style={{ fontSize: 20, fontFamily: 'Gotham-Black', color: '#838383' }}>{this.props.balance_redeem}</Text> */
}
{
/* <Text style={{ fontSize: 20, fontFamily: 'Gotham-Black', color: '#838383' }}>{this.props.balance_redeem}</Text> */
}
...
@@ -97,7 +98,7 @@ class RedeemCode extends React.Component {
...
@@ -97,7 +98,7 @@ class RedeemCode extends React.Component {
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
current_balance
}
>
<
View
style
=
{
styles
.
current_balance
}
>
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
<
Text
style
=
{{
fontSize
:
20
,
fontFamily
:
'Gotham-Black'
,
color
:
'#838383'
}}
>
Points
<
/Text
>
<
Text
style
=
{{
fontSize
:
20
,
fontFamily
:
'Gotham-Black'
,
color
:
'#838383'
}}
>
{
i18n
.
t
(
'point'
)}
<
/Text
>
<
/View
>
<
/View
>
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
<
View
style
=
{{
flex
:
1
,
margin
:
10
}}
>
{
/* <Text style={{ fontSize: 20, fontFamily: 'Gotham-Black', color: '#838383' }}>{this.props.point_redeem}</Text> */
}
{
/* <Text style={{ fontSize: 20, fontFamily: 'Gotham-Black', color: '#838383' }}>{this.props.point_redeem}</Text> */
}
...
@@ -114,7 +115,7 @@ class RedeemCode extends React.Component {
...
@@ -114,7 +115,7 @@ class RedeemCode extends React.Component {
</View> */
}
</View> */
}
<
TouchableOpacity
onPress
=
{()
=>
this
.
cancel
()}
>
<
TouchableOpacity
onPress
=
{()
=>
this
.
cancel
()}
>
<
View
style
=
{
styles
.
button
}
>
<
View
style
=
{
styles
.
button
}
>
<
Text
style
=
{{
color
:
'white'
,
fontSize
:
16
,
fontFamily
:
'Gotham-Black'
}}
>
Cancel
Payment
<
/Text
>
<
Text
style
=
{{
color
:
'white'
,
fontSize
:
16
,
fontFamily
:
'Gotham-Black'
}}
>
{
i18n
.
t
(
'cancel'
)}
{
i18n
.
t
(
'payment'
)}
<
/Text
>
<
/View
>
<
/View
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
/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