Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_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
clone_excelso
Commits
4b7171da
Commit
4b7171da
authored
Jun 17, 2020
by
Trisno
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://repo.cs.co.id:2222/wahyu/bahanoprek
parents
e1d39a62
bd517c54
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
24 deletions
+40
-24
en.json
lib/en.json
+9
-2
id.json
lib/id.json
+8
-2
Account.js
view/Account.js
+19
-18
MenuSelection.js
view/MenuSelection.js
+4
-2
No files found.
lib/en.json
View file @
4b7171da
{
{
"welcome"
:
"NEXT"
,
"welcome"
:
"NEXT"
,
"login"
:
"LOGIN"
,
"login"
:
"LOGIN"
,
"logout"
:
"LOGOUT"
,
"email"
:
"Email"
,
"email"
:
"Email"
,
"password"
:
"Password"
,
"password"
:
"Password"
,
"register"
:
"REGISTER"
,
"register"
:
"REGISTER"
,
...
@@ -29,5 +30,11 @@
...
@@ -29,5 +30,11 @@
"balance"
:
"BALANCE"
,
"balance"
:
"BALANCE"
,
"point"
:
"POINTS :"
,
"point"
:
"POINTS :"
,
"profile"
:
"Profile"
,
"profile"
:
"Profile"
,
"View cart"
:
"View Cart"
"Viewcart"
:
"View Cart"
,
"Viewprofil"
:
"View Profile"
,
"Transferbalance"
:
"TRANSFER BALANCE"
,
"Transactionhistory"
:
"TRANSFER HISTORY"
,
"Renewal"
:
"RENEWAL"
,
"Usebalancepoint"
:
"USE BALANCE / POINTS"
,
"Acitvatecard"
:
"ACTIVATE CARD"
}
}
\ No newline at end of file
lib/id.json
View file @
4b7171da
{
{
"welcome"
:
"LANJUT"
,
"welcome"
:
"LANJUT"
,
"login"
:
"MASUK"
,
"login"
:
"MASUK"
,
"logout"
:
"KELUAR"
,
"email"
:
"Email"
,
"email"
:
"Email"
,
"password"
:
"Kata Sandi"
,
"password"
:
"Kata Sandi"
,
"signin"
:
"Masuk"
,
"signin"
:
"Masuk"
,
...
@@ -31,8 +32,13 @@
...
@@ -31,8 +32,13 @@
"profile"
:
"Profil"
,
"profile"
:
"Profil"
,
"upgradePremium"
:
"Tingkatkan Premium"
,
"upgradePremium"
:
"Tingkatkan Premium"
,
"cardActivation"
:
"Aktivasi Kartu"
,
"cardActivation"
:
"Aktivasi Kartu"
,
"View cart"
:
"Lihat Keranjang"
"Viewcart"
:
"Keranjang"
,
"Viewprofil"
:
"Lihat Profil"
,
"Transferbalance"
:
"TRANSFER SALDO"
,
"Transactionhistory"
:
"RIWAYAT TRANSFER"
,
"Renewal"
:
"RENEWAL"
,
"Usebalancepoint"
:
"GUNAKAN SALDO / POINT"
,
"Acitvatecard"
:
"AKTIVASI KARTU"
}
}
...
...
view/Account.js
View file @
4b7171da
This diff is collapsed.
Click to expand it.
view/MenuSelection.js
View file @
4b7171da
...
@@ -11,6 +11,7 @@ import * as Location from 'expo-location';
...
@@ -11,6 +11,7 @@ import * as Location from 'expo-location';
import
*
as
Permissions
from
'expo-permissions'
;
import
*
as
Permissions
from
'expo-permissions'
;
import
*
as
Device
from
'expo-device'
;
import
*
as
Device
from
'expo-device'
;
import
NumberFormat
from
'react-number-format'
;
import
NumberFormat
from
'react-number-format'
;
import
i18n
from
'i18n-js'
;
class
MenuSelection
extends
React
.
Component
{
class
MenuSelection
extends
React
.
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -342,7 +343,7 @@ class MenuSelection extends React.Component {
...
@@ -342,7 +343,7 @@ class MenuSelection extends React.Component {
<
View
>
<
View
>
<
View
style
=
{{
height
:
40
,
borderRadius
:
10
,
width
:
'68%'
,
backgroundColor
:
'#CFB368'
,
marginRight
:
20
,
marginLeft
:
40
,
top
:
15
,
flexDirection
:
'row'
,
marginBottom
:
30
}}
>
<
View
style
=
{{
height
:
40
,
borderRadius
:
10
,
width
:
'68%'
,
backgroundColor
:
'#CFB368'
,
marginRight
:
20
,
marginLeft
:
40
,
top
:
15
,
flexDirection
:
'row'
,
marginBottom
:
30
}}
>
<
Image
source
=
{(
require
(
'../assets/icon/icon-order.png'
))}
style
=
{{
height
:
40
,
width
:
40
,
tintColor
:
'white'
,
}}
><
/Image
>
<
Image
source
=
{(
require
(
'../assets/icon/icon-order.png'
))}
style
=
{{
height
:
40
,
width
:
40
,
tintColor
:
'white'
,
}}
><
/Image
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Light'
,
color
:
'white'
,
fontSize
:
16
,
alignSelf
:
'center'
,
textAlign
:
'center'
}}
>
View
Cart
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Light'
,
color
:
'white'
,
fontSize
:
16
,
alignSelf
:
'center'
,
textAlign
:
'center'
}}
>
{
i18n
.
t
(
'Viewcart'
)}
<
/Text
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
<
/TouchableOpacity
>
<
/TouchableOpacity
>
...
@@ -389,7 +390,8 @@ const mapStateToProps = (state) => {
...
@@ -389,7 +390,8 @@ const mapStateToProps = (state) => {
order_total
:
state
.
order_total
,
order_total
:
state
.
order_total
,
quantity
:
state
.
quantity
,
quantity
:
state
.
quantity
,
address
:
state
.
address
,
address
:
state
.
address
,
menu_item
:
state
.
menu_item
menu_item
:
state
.
menu_item
,
language
:
state
.
language
}
}
}
}
...
...
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