Commit bac7487d authored by Trisno's avatar Trisno

translate reward history

parent 798e4770
......@@ -46,6 +46,8 @@
"policy": "By logging in or registering, you agree to ",
"privacy": "our service guide rules and privacy policy",
"rewardhistory": "REDEEM E-VOUCHER HISTORY",
"headerRewardHistory":"REWARD HISTORY",
"noRewardHistorydata":"No Reward History",
"titlerewardhistory": "REWARDS E-VOUCHER",
"orderhistory": "ORDER HISTORY",
"allcity": "All city",
......
......@@ -68,6 +68,8 @@
"orderInfo": "KAMU AKAN AMBIL PESANANMU DI",
"orderNow": "PESAN SEKARANG",
"rewardhistory": "RIWAYAT REWARDS",
"headerRewardHistory": "RIWAYAT REWARD",
"noRewardHistorydata": "Tidak ada riwayat reward",
"orderhistory": "RIWAYAT ORDER",
"titlerewardhistory": "VOUCHER",
"allcity": "Semua kota",
......
......@@ -518,7 +518,7 @@ class Auth extends React.Component {
fontSize: 20,
color: 'white',
textAlign: 'center'
}, title: 'Reward History'
}, title: i18n.t('headerRewardHistory')
}}
/>
......
......@@ -4,6 +4,7 @@ import { Card } from 'react-native-shadow-cards'
import { connect } from 'react-redux';
import Axios from 'axios';
import moment from 'moment'
import i18n from 'i18n-js';
class RewardHistory extends React.Component {
constructor(props) {
......@@ -82,7 +83,7 @@ class RewardHistory extends React.Component {
))
) : (
<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>
)
......
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