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
bac7487d
Commit
bac7487d
authored
Jun 18, 2020
by
Trisno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
translate reward history
parent
798e4770
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
en.json
lib/en.json
+2
-0
id.json
lib/id.json
+2
-0
Auth.js
view/Auth.js
+1
-1
RewardHistory.js
view/RewardHistory.js
+2
-1
No files found.
lib/en.json
View file @
bac7487d
...
@@ -46,6 +46,8 @@
...
@@ -46,6 +46,8 @@
"policy"
:
"By logging in or registering, you agree to "
,
"policy"
:
"By logging in or registering, you agree to "
,
"privacy"
:
"our service guide rules and privacy policy"
,
"privacy"
:
"our service guide rules and privacy policy"
,
"rewardhistory"
:
"REDEEM E-VOUCHER HISTORY"
,
"rewardhistory"
:
"REDEEM E-VOUCHER HISTORY"
,
"headerRewardHistory"
:
"REWARD HISTORY"
,
"noRewardHistorydata"
:
"No Reward History"
,
"titlerewardhistory"
:
"REWARDS E-VOUCHER"
,
"titlerewardhistory"
:
"REWARDS E-VOUCHER"
,
"orderhistory"
:
"ORDER HISTORY"
,
"orderhistory"
:
"ORDER HISTORY"
,
"allcity"
:
"All city"
,
"allcity"
:
"All city"
,
...
...
lib/id.json
View file @
bac7487d
...
@@ -68,6 +68,8 @@
...
@@ -68,6 +68,8 @@
"orderInfo"
:
"KAMU AKAN AMBIL PESANANMU DI"
,
"orderInfo"
:
"KAMU AKAN AMBIL PESANANMU DI"
,
"orderNow"
:
"PESAN SEKARANG"
,
"orderNow"
:
"PESAN SEKARANG"
,
"rewardhistory"
:
"RIWAYAT REWARDS"
,
"rewardhistory"
:
"RIWAYAT REWARDS"
,
"headerRewardHistory"
:
"RIWAYAT REWARD"
,
"noRewardHistorydata"
:
"Tidak ada riwayat reward"
,
"orderhistory"
:
"RIWAYAT ORDER"
,
"orderhistory"
:
"RIWAYAT ORDER"
,
"titlerewardhistory"
:
"VOUCHER"
,
"titlerewardhistory"
:
"VOUCHER"
,
"allcity"
:
"Semua kota"
,
"allcity"
:
"Semua kota"
,
...
...
view/Auth.js
View file @
bac7487d
...
@@ -518,7 +518,7 @@ class Auth extends React.Component {
...
@@ -518,7 +518,7 @@ class Auth extends React.Component {
fontSize
:
20
,
fontSize
:
20
,
color
:
'white'
,
color
:
'white'
,
textAlign
:
'center'
textAlign
:
'center'
},
title
:
'Reward History'
},
title
:
i18n
.
t
(
'headerRewardHistory'
)
}}
}}
/
>
/
>
...
...
view/RewardHistory.js
View file @
bac7487d
...
@@ -4,6 +4,7 @@ import { Card } from 'react-native-shadow-cards'
...
@@ -4,6 +4,7 @@ import { Card } from 'react-native-shadow-cards'
import
{
connect
}
from
'react-redux'
;
import
{
connect
}
from
'react-redux'
;
import
Axios
from
'axios'
;
import
Axios
from
'axios'
;
import
moment
from
'moment'
import
moment
from
'moment'
import
i18n
from
'i18n-js'
;
class
RewardHistory
extends
React
.
Component
{
class
RewardHistory
extends
React
.
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -82,7 +83,7 @@ class RewardHistory extends React.Component {
...
@@ -82,7 +83,7 @@ class RewardHistory extends React.Component {
))
))
)
:
(
)
:
(
<
View
style
=
{{
alignItems
:
'center'
,
margin
:
20
}}
>
<
View
style
=
{{
alignItems
:
'center'
,
margin
:
20
}}
>
<
Text
style
=
{{
textAlign
:
'right'
,
fontSize
:
12
,
fontFamily
:
'Gotham-Light'
}}
>
No
Reward
History
<
/Text
>
<
Text
style
=
{{
textAlign
:
'right'
,
fontSize
:
12
,
fontFamily
:
'Gotham-Light'
}}
>
{
i18n
.
t
(
'noRewardHistorydata'
)}
<
/Text
>
<
/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