Commit 9ed690f9 authored by Trisno's avatar Trisno

translate upgrade premium

parent a363b791
{
"welcome":"NEXT",
"login":"LOGIN",
"Confirmpassword":"Confirm Password",
"Name":"Name",
"other":"Other",
"male":"Male",
"female":"Female",
"pilih":"Select",
"NotActivate":"You have not activated the card",
"NotorderHistory":"No Order History",
"gender":"Gender",
"dob":"Date of Birth",
"logout":"LOGOUT",
"email":"Email",
"phone":"Phone",
"amount":"Amount",
"currentbalance":"Current Balance",
"renewalfees":"Renewal of fees",
"renewuntil":"Renew Until",
"renew":"RENEW",
"message":"Message",
"changepassword":"CHANGE PASSWORD",
"changeEmail":"CHANGE EMAIL",
"save":"Save",
"currentpassword":"Current Password",
"newpassword":"New Password",
"headerNewPassword":"NEW PASSWORD",
"repeatpassword":"Repeat Password",
"language":"LANGUAGE",
"password":"Password",
"register":"REGISTER",
"forgotPassword":"FORGOT PASSWORD",
"policy":"By logging in or registering, you agree to ",
"privacy":"our service guide rules and privacy policy",
"rewardhistory":"REDEEM E-VOUCHER HISTORY",
"titlerewardhistory":"REWARDS E-VOUCHER",
"orderhistory":"ORDER HISTORY",
"allcity":"All city",
"emptyvoucherlist":"No E-Voucher Available",
"emptyvoucherhistory":"No E-Voucher Available",
"name":"Name",
"open":"OPEN",
"closed":"CLOSED",
"openinghours":"Opening Hours",
"searchpickups":"Search the pickup store location",
"submit":"SUBMIT",
"cancel":"CANCEL",
"resendemail":"RENSEND EMAIL TOKEN",
"enterToken":"Enter Token",
"token":"Token",
"delivery":"DELIVERY",
"pickup":"PICKUP",
"orderInfo" : "YOU WILL PICKUP YOUR ORDER AT",
"orderNow" : "ORDER NOW",
"cardnumber" : "YOUR CARD NUMBER",
"deliveryinfo":"OUR DRIVER WILL DELIVER YOUR ORDER TO",
"topup":" TOP UP BALANCE ",
"welcome": "NEXT",
"login": "LOGIN",
"Confirmpassword": "Confirm Password",
"firstName": "First Name",
"lastName": "Last Name",
"birthPlace": "Birth Place",
"permanentAddress": "Permanent Address",
"province": "Province",
"city": "City",
"village": "Village",
"district": "District",
"job": "Job",
"idCard": "ID Card",
"nationality": "Nationality",
"selfieImage": "Upload Selfie Image",
"idCardImage": "Upload ID Card Image",
"other": "Other",
"male": "Male",
"female": "Female",
"pilih": "Select",
"NotActivate": "You have not activated the card",
"NotorderHistory": "No Order History",
"gender": "Gender",
"dob": "Date of Birth",
"logout": "LOGOUT",
"email": "Email",
"phone": "Phone",
"amount": "Amount",
"currentbalance": "Current Balance",
"renewalfees": "Renewal of fees",
"renewuntil": "Renew Until",
"renew": "RENEW",
"message": "Message",
"changepassword": "CHANGE PASSWORD",
"changeEmail": "CHANGE EMAIL",
"save": "Save",
"currentpassword": "Current Password",
"newpassword": "New Password",
"headerNewPassword": "NEW PASSWORD",
"repeatpassword": "Repeat Password",
"language": "LANGUAGE",
"password": "Password",
"register": "REGISTER",
"forgotPassword": "FORGOT PASSWORD",
"policy": "By logging in or registering, you agree to ",
"privacy": "our service guide rules and privacy policy",
"rewardhistory": "REDEEM E-VOUCHER HISTORY",
"titlerewardhistory": "REWARDS E-VOUCHER",
"orderhistory": "ORDER HISTORY",
"allcity": "All city",
"emptyvoucherlist": "No E-Voucher Available",
"emptyvoucherhistory": "No E-Voucher Available",
"name": "Name",
"open": "OPEN",
"closed": "CLOSED",
"openinghours": "Opening Hours",
"searchpickups": "Search the pickup store location",
"submit": "SUBMIT",
"cancel": "CANCEL",
"resendemail": "RENSEND EMAIL TOKEN",
"enterToken": "Enter Token",
"token": "Token",
"delivery": "DELIVERY",
"pickup": "PICKUP",
"orderInfo": "YOU WILL PICKUP YOUR ORDER AT",
"orderNow": "ORDER NOW",
"cardnumber": "YOUR CARD NUMBER",
"deliveryinfo": "OUR DRIVER WILL DELIVER YOUR ORDER TO",
"topup": " TOP UP BALANCE ",
"usebalance": "USE BALANCE",
"promotion":"TODAY PROMOTION",
"promotion": "TODAY PROMOTION",
"expired": "Expired At",
"balance" : "BALANCE",
"redeem":"REDEEM",
"point" : "POINTS",
"profile" : "Profile",
"Viewcart":"View Cart",
"Viewprofil" :"View Profile",
"searchaddress":"Search Address",
"addaddress":"Add Address",
"label":"Label",
"selectaddress":"SELECT",
"detail":"Details",
"Transferbalance":"TRANSFER BALANCE",
"Transactionhistory":"TRANSACTION HISTORY",
"Renewal":"RENEWAL",
"Usebalancepoint":"USE BALANCE / POINTS",
"Acitvatecard":"ACTIVATE CARD",
"upgradePremium" :"UPGRADE PREMIUM",
"alertpoin":"Sorry, your points are not enough",
"alertselectpayment":"Please choose a payment method",
"alertbalance":"Sorry, your balance are not enough",
"alertbalancepoin":"Sorry, your balance and points are not enough",
"headerResetPassword":"RESET PASSWORD"
"balance": "BALANCE",
"redeem": "REDEEM",
"point": "POINTS",
"profile": "Profile",
"Viewcart": "View Cart",
"Viewprofil": "View Profile",
"searchaddress": "Search Address",
"addaddress": "Add Address",
"label": "Label",
"selectaddress": "SELECT",
"detail": "Details",
"Transferbalance": "TRANSFER BALANCE",
"Transactionhistory": "TRANSACTION HISTORY",
"Renewal": "RENEWAL",
"Usebalancepoint": "USE BALANCE / POINTS",
"Acitvatecard": "ACTIVATE CARD",
"upgradePremium": "UPGRADE PREMIUM",
"alertpoin": "Sorry, your points are not enough",
"alertselectpayment": "Please choose a payment method",
"alertbalance": "Sorry, your balance are not enough",
"alertbalancepoin": "Sorry, your balance and points are not enough",
"headerResetPassword": "RESET PASSWORD"
}
\ No newline at end of file
{
"welcome": "LANJUT",
"login":"MASUK",
"register":"DAFTAR",
"Confirmpassword":"Konfirmasi Password",
"Name":"Nama",
"NotorderHistory":"Tidak ada riwayat transaksi",
"NotActivate":"Anda belum aktivasi kartu",
"dob":"Tanggal Lahir",
"logout":"KELUAR",
"email":"Email",
"phone":"Telephone",
"amount":"Jumlah",
"currentbalance":"Saldo saat ini",
"renewalfees":"Biaya Perpanjang",
"renewuntil":"Perpanjang Hingga",
"emptyvoucherlist":"Tidak Ada E-Voucher Tersedia",
"emptyvoucherhistory":"Tidak Ada E-Voucher Tersedia",
"open":"BUKA",
"closed":"TUTUP",
"searchpickups":"Cari lokasi pickup store",
"openinghours":"Buka Pada Jam",
"renew":"PERPANJANG",
"message":"Pesan",
"other":"Lain",
"male":"Pria",
"female":"Wanita",
"pilih":"pilih",
"gender":"Jenis Kelamin",
"password":"Kata Sandi",
"signin":"Masuk",
"forgotPassword":"LUPA KATA SANDI",
"policy":"Dengan Login atau Register, Kamu menyetujui aturan",
"privacy":"Panduan Layanan dan Kebijakan Privasi kami",
"submit":"KIRIM",
"cancel":"BATALKAN",
"searchaddress":"Cari Alamat",
"addaddress":"Tambah Alamat",
"selectaddress":"PILIH",
"label":"Label",
"detail":"Details",
"resendemail":"KIRIM ULANG EMAIL TOKEN",
"enterToken":"Masukan Token",
"token":"Token",
"delivery":"ANTAR",
"pickup":"AMBIL",
"changepassword":"GANTI KATA SANDI",
"changeEmail":"GANTI EMAIL",
"currentpassword":"Kata sandi lama",
"newpassword":"Kata sandi baru",
"headerNewPassword":"KATA SANDI BARU",
"repeatpassword":"Ulangi Kata sandi",
"save":"Simpan",
"language":"BAHASA",
"orderInfo" :"KAMU AKAN AMBIL PESANANMU DI",
"orderNow" :"PESAN SEKARANG",
"rewardhistory":"RIWAYAT REWARDS",
"orderhistory":"RIWAYAT ORDER",
"titlerewardhistory":"VOUCHER",
"allcity":"Semua kota",
"cardnumber" :"NOMOR KARTU",
"login": "MASUK",
"register": "DAFTAR",
"Confirmpassword": "Konfirmasi Password",
"firstName": "Nama Depan",
"lastName": "Nama Belakang",
"birthPlace": "Tempat Lahir",
"permanentAddress":"Alamat Permanen",
"province":"Provinsi",
"city":"Kota",
"village":"Kecamatan",
"district":"Kelurahan",
"job":"Pekerjaan",
"idCard":"KTP",
"nationality":"Kebangsaan",
"selfieImage":"Upload Foto Diri",
"idCardImage":"Upload Foto KTP",
"Name": "Nama",
"NotorderHistory": "Tidak ada riwayat transaksi",
"NotActivate": "Anda belum aktivasi kartu",
"dob": "Tanggal Lahir",
"logout": "KELUAR",
"email": "Email",
"phone": "Telephone",
"amount": "Jumlah",
"currentbalance": "Saldo saat ini",
"renewalfees": "Biaya Perpanjang",
"renewuntil": "Perpanjang Hingga",
"emptyvoucherlist": "Tidak Ada E-Voucher Tersedia",
"emptyvoucherhistory": "Tidak Ada E-Voucher Tersedia",
"open": "BUKA",
"closed": "TUTUP",
"searchpickups": "Cari lokasi pickup store",
"openinghours": "Buka Pada Jam",
"renew": "PERPANJANG",
"message": "Pesan",
"other": "Lain",
"male": "Pria",
"female": "Wanita",
"pilih": "pilih",
"gender": "Jenis Kelamin",
"password": "Kata Sandi",
"signin": "Masuk",
"forgotPassword": "LUPA KATA SANDI",
"policy": "Dengan Login atau Register, Kamu menyetujui aturan",
"privacy": "Panduan Layanan dan Kebijakan Privasi kami",
"submit": "KIRIM",
"cancel": "BATALKAN",
"searchaddress": "Cari Alamat",
"addaddress": "Tambah Alamat",
"selectaddress": "PILIH",
"label": "Label",
"detail": "Details",
"resendemail": "KIRIM ULANG EMAIL TOKEN",
"enterToken": "Masukan Token",
"token": "Token",
"delivery": "ANTAR",
"pickup": "AMBIL",
"changepassword": "GANTI KATA SANDI",
"changeEmail": "GANTI EMAIL",
"currentpassword": "Kata sandi lama",
"newpassword": "Kata sandi baru",
"headerNewPassword": "KATA SANDI BARU",
"repeatpassword": "Ulangi Kata sandi",
"save": "Simpan",
"language": "BAHASA",
"orderInfo": "KAMU AKAN AMBIL PESANANMU DI",
"orderNow": "PESAN SEKARANG",
"rewardhistory": "RIWAYAT REWARDS",
"orderhistory": "RIWAYAT ORDER",
"titlerewardhistory": "VOUCHER",
"allcity": "Semua kota",
"cardnumber": "NOMOR KARTU",
"expired": "Berakhir Pada",
"promotion":"PROMOSI HARI INI",
"deliveryinfo":"DRIVER KAMI AKAN MENGIRIMKAN PESANAN ANDA KE",
"topup":" PENGISIAN SALDO ",
"promotion": "PROMOSI HARI INI",
"deliveryinfo": "DRIVER KAMI AKAN MENGIRIMKAN PESANAN ANDA KE",
"topup": " PENGISIAN SALDO ",
"usebalance": "GUNAKAN SALDO",
"balance" :"SALDO",
"redeem":"REDEEM@",
"point" : "POIN",
"profile" :"Profil",
"upgradePremium" :"TINGKATKAN PREMIUM",
"cardActivation" :"Aktivasi Kartu",
"Viewcart":"Keranjang",
"Viewprofil" :"Lihat Profil",
"Transferbalance":"TRANSFER SALDO",
"Transactionhistory":"RIWAYAT TRANSAKSI",
"Renewal":"RENEWAL",
"Usebalancepoint":"GUNAKAN SALDO / POINT",
"Acitvatecard":"AKTIVASI KARTU",
"alertpoin":"Maaf Point tidak cukup",
"alertselectpayment":"Silahkan pilih metode pembayaran",
"alertbalance":"Maaf Saldo tidak cukup",
"alertbalancepoin":"Maaf Saldo dan poin tidak cukup",
"headerResetPassword":"GANTI PASSWORD"
"balance": "SALDO",
"redeem": "REDEEM@",
"point": "POIN",
"profile": "Profil",
"upgradePremium": "TINGKATKAN PREMIUM",
"cardActivation": "Aktivasi Kartu",
"Viewcart": "Keranjang",
"Viewprofil": "Lihat Profil",
"Transferbalance": "TRANSFER SALDO",
"Transactionhistory": "RIWAYAT TRANSAKSI",
"Renewal": "RENEWAL",
"Usebalancepoint": "GUNAKAN SALDO / POINT",
"Acitvatecard": "AKTIVASI KARTU",
"alertpoin": "Maaf Point tidak cukup",
"alertselectpayment": "Silahkan pilih metode pembayaran",
"alertbalance": "Maaf Saldo tidak cukup",
"alertbalancepoin": "Maaf Saldo dan poin tidak cukup",
"headerResetPassword": "GANTI PASSWORD"
}
\ No newline at end of file
......@@ -431,7 +431,7 @@ class Auth extends React.Component {
fontSize: 20,
color: 'white',
textAlign: 'center'
}, title: 'Upgrade Premium'
}, title: i18n.t('upgradePremium')
}} />
<Stack.Screen name="Camera" component={Cameras} />
<Stack.Screen name="Delivery Address" component={DeliveryAddress} options={{
......
......@@ -20,6 +20,7 @@ import {
Alert
} from 'react-native'
import MyStatusBar from './MyStatusBar';
import i18n from 'i18n-js';
const jobs = ["Pilih", "Siswa", "Mahasiswa", "Karyawan", "Pengusaha", "Lainnya"];
const _jobs = [
......@@ -203,7 +204,7 @@ class UpgradePremium extends React.Component {
/>
<ScrollView>
<View style={styles.textLabel}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>Nama Depan</Text>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>{i18n.t('firstName')}</Text>
</View>
<View style={{ margin: 10 }}>
<TextInput
......@@ -214,7 +215,7 @@ class UpgradePremium extends React.Component {
/>
</View>
<View style={styles.textLabel}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>Nama Belakang</Text>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>{i18n.t('lastName')}</Text>
</View>
<View style={{ margin: 10 }}>
<TextInput
......@@ -225,7 +226,7 @@ class UpgradePremium extends React.Component {
/>
</View>
<View style={styles.textLabel}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>Tempat Lahir</Text>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>{i18n.t('birthPlace')}</Text>
</View>
<View style={{ margin: 10 }}>
<TextInput
......@@ -236,7 +237,7 @@ class UpgradePremium extends React.Component {
/>
</View>
<View style={styles.textLabel}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>Alamat Permanen</Text>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>{i18n.t('permanentAddress')}</Text>
</View>
<View style={{ margin: 10 }}>
<TextInput
......@@ -247,7 +248,7 @@ class UpgradePremium extends React.Component {
/>
</View>
<View style={styles.textLabel}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>Provinsi</Text>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>{i18n.t('province')}</Text>
</View>
<View style={{ margin: 10 }}>
<TextInput
......@@ -263,7 +264,7 @@ class UpgradePremium extends React.Component {
items= {this.state.provinces} /> */}
</View>
<View style={styles.textLabel}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>Kota</Text>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>{i18n.t('city')}</Text>
</View>
<View style={{ margin: 10 }}>
<TextInput
......@@ -279,7 +280,7 @@ class UpgradePremium extends React.Component {
items= {this.state.provinces} /> */}
</View>
<View style={styles.textLabel}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>Kecamatan</Text>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>{i18n.t('village')}</Text>
</View>
<View style={{ margin: 10 }}>
<TextInput
......@@ -290,7 +291,7 @@ class UpgradePremium extends React.Component {
/>
</View>
<View style={styles.textLabel}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>Kelurahan</Text>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>{i18n.t('district')}</Text>
</View>
<View style={{ margin: 10 }}>
<TextInput
......@@ -301,7 +302,7 @@ class UpgradePremium extends React.Component {
/>
</View>
<View style={styles.textLabel}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>Pekerjaan</Text>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>{i18n.t('job')}</Text>
</View>
<View style={{ marginHorizontal: 40, borderColor: 'gray', borderWidth: 1, borderRadius: 10, top: 10 }}>
{Platform.OS === 'ios' ? (
......@@ -325,7 +326,7 @@ class UpgradePremium extends React.Component {
</View>
<View style={styles.textLabel, { top: 20 }}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>KTP</Text>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>{i18n.t('idCard')}</Text>
</View>
<View style={{ margin: 10, marginTop: 23 }}>
<TextInput
......@@ -336,7 +337,7 @@ class UpgradePremium extends React.Component {
/>
</View>
<View style={styles.textLabel}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>Kebangsaan</Text>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>{i18n.t('nationality')}</Text>
</View>
<View style={{ margin: 10 }}>
<TextInput
......@@ -347,7 +348,7 @@ class UpgradePremium extends React.Component {
/>
</View>
<View style={styles.textLabel}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>Upload Foto Diri</Text>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>{i18n.t('selfieImage')}</Text>
</View>
<View style={{ margin: 10 }}>
<TouchableOpacity onPress={() => this.takePictureSelfie()}>
......@@ -367,7 +368,7 @@ class UpgradePremium extends React.Component {
</TouchableOpacity>
</View>
<View style={styles.textLabel}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>Upload Foto KTP</Text>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', color: '#CFB368', textAlign: 'center' }}>{i18n.t('idCardImage')}</Text>
</View>
<View style={{ margin: 10 }}>
<TouchableOpacity onPress={() => this.takePictureIdcard()}>
......@@ -387,7 +388,7 @@ class UpgradePremium extends React.Component {
</View>
<TouchableOpacity onPress={() => this.handlePremium()}>
<View style={styles.button}>
<Text style={{ color: 'white', fontWeight: 'bold', fontSize: 22 }}>Upgrade Premium</Text>
<Text style={{ color: 'white', fontWeight: 'bold', fontSize: 20 }}>{i18n.t('upgradePremium')}</Text>
</View>
</TouchableOpacity>
<View style={{height:30}}/>
......
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