Commit bcbb6fc6 authored by Trisno's avatar Trisno

translate delivery

parent bac7487d
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
"enterToken": "Enter Token", "enterToken": "Enter Token",
"token": "Token", "token": "Token",
"delivery": "DELIVERY", "delivery": "DELIVERY",
"rateDelivery":"Delivery",
"pickup": "PICKUP", "pickup": "PICKUP",
"orderInfo": "YOU WILL PICKUP YOUR ORDER AT", "orderInfo": "YOU WILL PICKUP YOUR ORDER AT",
"orderNow": "ORDER NOW", "orderNow": "ORDER NOW",
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
"enterToken": "Masukan Token", "enterToken": "Masukan Token",
"token": "Token", "token": "Token",
"delivery": "ANTAR", "delivery": "ANTAR",
"rateDelivery":"Ongkos Kirim",
"pickup": "AMBIL", "pickup": "AMBIL",
"changepassword": "GANTI KATA SANDI", "changepassword": "GANTI KATA SANDI",
"changeEmail": "GANTI EMAIL", "changeEmail": "GANTI EMAIL",
......
...@@ -334,7 +334,7 @@ class MenuSelection extends React.Component { ...@@ -334,7 +334,7 @@ class MenuSelection extends React.Component {
<View style={{ flex: 1, flexDirection: 'row' }}> <View style={{ flex: 1, flexDirection: 'row' }}>
<View style={{ flex: 1, justifyContent:'flex-start' }}> <View style={{ flex: 1, justifyContent:'flex-start' }}>
<Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', textAlign: 'center', top: 10, color:'#838383' }}>{this.props.order_quantity} Item {this.props.type_pickup == true ? (null) : ( <Text style={{ fontSize: 12, fontFamily: 'Gotham-Black', textAlign: 'center', top: 10, color:'#838383' }}>{this.props.order_quantity} Item {this.props.type_pickup == true ? (null) : (
<NumberFormat decimalScale={0} value={this.props.grabamount} renderText={value => <Text style={{ fontSize: 12, fontFamily: 'Gotham-Light', top: 20, textAlign: 'center', color:'#838383' }}>/ Delivery Rp. {value}</Text>} displayType={'text'} thousandSeparator={true} prefix={''} /> <NumberFormat decimalScale={0} value={this.props.grabamount} renderText={value => <Text style={{ fontSize: 12, fontFamily: 'Gotham-Light', top: 20, textAlign: 'center', color:'#838383' }}>/ {i18n.t('rateDelivery')} Rp. {value}</Text>} displayType={'text'} thousandSeparator={true} prefix={''} />
)} </Text> )} </Text>
<NumberFormat decimalScale={0} value={this.props.order_total} renderText={value => <Text style={{ fontSize: 20, fontFamily: 'Gotham-Light', top: 20, textAlign: 'center', color:'#838383' }}>Rp. {value}</Text>} displayType={'text'} thousandSeparator={true} prefix={''} /> <NumberFormat decimalScale={0} value={this.props.order_total} renderText={value => <Text style={{ fontSize: 20, fontFamily: 'Gotham-Light', top: 20, textAlign: 'center', color:'#838383' }}>Rp. {value}</Text>} displayType={'text'} thousandSeparator={true} prefix={''} />
</View> </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