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
9f767326
Commit
9f767326
authored
Jun 17, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
translate home (2)
parent
92999b5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Home.js
view/Home.js
+5
-5
No files found.
view/Home.js
View file @
9f767326
...
@@ -342,17 +342,17 @@ class Home extends React.Component {
...
@@ -342,17 +342,17 @@ class Home extends React.Component {
<Text style={{ textAlign: 'center', color: '#fff', fontWeight: 'bold' }}>{i18n.t('pickup')}</Text>
<Text style={{ textAlign: 'center', color: '#fff', fontWeight: 'bold' }}>{i18n.t('pickup')}</Text>
</TouchableOpacity> */
}
</TouchableOpacity> */
}
<
TouchableOpacity
style
=
{
styles
.
buttonDeliveryTrue
}
onPress
=
{()
=>
this
.
_delivery
()}
>
<
TouchableOpacity
style
=
{
styles
.
buttonDeliveryTrue
}
onPress
=
{()
=>
this
.
_delivery
()}
>
<
Text
style
=
{{
textAlign
:
'center'
,
color
:
'#354175'
,
fontFamily
:
'Gotham-Black'
}}
>
{
i18n
.
t
(
'
_deliver
'
)}
<
/Text
>
<
Text
style
=
{{
textAlign
:
'center'
,
color
:
'#354175'
,
fontFamily
:
'Gotham-Black'
}}
>
{
i18n
.
t
(
'
delivery
'
)}
<
/Text
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
TouchableOpacity
style
=
{
styles
.
buttonPickupFalse
}
onPress
=
{()
=>
this
.
_pickup
()}
>
<
TouchableOpacity
style
=
{
styles
.
buttonPickupFalse
}
onPress
=
{()
=>
this
.
_pickup
()}
>
<
Text
style
=
{{
textAlign
:
'center'
,
color
:
'#fff'
,
fontFamily
:
'Gotham-Black'
}}
>
{
i18n
.
t
(
'
_
pickup'
)}
<
/Text
>
<
Text
style
=
{{
textAlign
:
'center'
,
color
:
'#fff'
,
fontFamily
:
'Gotham-Black'
}}
>
{
i18n
.
t
(
'pickup'
)}
<
/Text
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
/View
>
<
/View
>
{
/* <Text style={{ textAlign: 'center', fontSize: 12, }}>
{
/* <Text style={{ textAlign: 'center', fontSize: 12, }}>
{i18n.t('orderInfo')}
{i18n.t('orderInfo')}
</Text> */
}
</Text> */
}
<
Text
style
=
{{
textAlign
:
'center'
,
fontSize
:
12
,
fontFamily
:
'Gotham-Black'
,
color
:
'#838383'
}}
>
<
Text
style
=
{{
textAlign
:
'center'
,
fontSize
:
12
,
fontFamily
:
'Gotham-Black'
,
color
:
'#838383'
}}
>
OUR
DRIVER
WILL
DELIVER
YOUR
ORDER
TO
{
i18n
.
t
(
'orderInfo'
)}
<
/Text
>
<
/Text
>
{
this
.
state
.
indicator
==
true
?
(
{
this
.
state
.
indicator
==
true
?
(
<
ActivityIndicator
size
=
"small"
color
=
"#c9af6d"
/>
<
ActivityIndicator
size
=
"small"
color
=
"#c9af6d"
/>
...
@@ -365,7 +365,7 @@ class Home extends React.Component {
...
@@ -365,7 +365,7 @@ class Home extends React.Component {
<Text style={{ textAlign: 'center', bottom: 5, color: 'white' }}>{i18n.t('orderNow')}</Text>
<Text style={{ textAlign: 'center', bottom: 5, color: 'white' }}>{i18n.t('orderNow')}</Text>
</TouchableOpacity> */
}
</TouchableOpacity> */
}
<
TouchableOpacity
style
=
{
styles
.
submitOrder
}
activeOpacity
=
{.
5
}
onPress
=
{()
=>
this
.
_orderNow
()}
>
<
TouchableOpacity
style
=
{
styles
.
submitOrder
}
activeOpacity
=
{.
5
}
onPress
=
{()
=>
this
.
_orderNow
()}
>
<
Text
style
=
{{
textAlign
:
'center'
,
color
:
'white'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
16
}}
>
ORDER
NOW
<
/Text
>
<
Text
style
=
{{
textAlign
:
'center'
,
color
:
'white'
,
fontFamily
:
'Gotham-Black'
,
fontSize
:
16
}}
>
{
i18n
.
t
(
'orderNow'
)}
<
/Text
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
/Card
>
<
/Card
>
)
)
...
@@ -386,7 +386,7 @@ class Home extends React.Component {
...
@@ -386,7 +386,7 @@ class Home extends React.Component {
this
.
state
.
account_number
===
""
?
(
this
.
state
.
account_number
===
""
?
(
<
View
style
=
{
styles
.
card
}
>
<
View
style
=
{
styles
.
card
}
>
<
Card
style
=
{{
padding
:
10
,
margin
:
10
,
alignContent
:
'center'
}}
>
<
Card
style
=
{{
padding
:
10
,
margin
:
10
,
alignContent
:
'center'
}}
>
<
Text
style
=
{{
textAlign
:
"center"
,
fontFamily
:
'Gotham-Light'
}}
>
Anda
belum
aktivasi
kartu
<
/Text
>
<
Text
style
=
{{
textAlign
:
"center"
,
fontFamily
:
'Gotham-Light'
}}
>
{
i18n
.
t
(
'NotActivate'
)}
<
/Text
>
<
Text
>
<
Text
>
<
/Text
>
<
/Text
>
<
Text
style
=
{{
textAlign
:
"center"
,
fontSize
:
40
,
color
:
'#c9af6d'
}}
>
<
Text
style
=
{{
textAlign
:
"center"
,
fontSize
:
40
,
color
:
'#c9af6d'
}}
>
...
...
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