-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathen_US.js
More file actions
103 lines (98 loc) · 2.37 KB
/
en_US.js
File metadata and controls
103 lines (98 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
const customEnUS = {
home: 'Home',
logInToYourAccount: "Log in to your account",
username: "Username",
password: "Password",
login: "Log In",
newToDrycc: "New To Drycc? Please contact your adminstrator",
}
const vantEnUS = {
// vant default
name: 'Name',
tel: 'Phone',
save: 'Save',
confirm: 'Confirm',
cancel: 'Cancel',
delete: 'Delete',
complete: 'Complete',
loading: 'Loading...',
telEmpty: 'Please fill in the tel',
nameEmpty: 'Please fill in the name',
nameInvalid: 'Malformed name',
confirmDelete: 'Are you sure you want to delete?',
telInvalid: 'Malformed phone number',
vanCalendar: {
end: 'End',
start: 'Start',
title: 'Calendar',
startEnd: 'Start/End',
weekdays: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
monthTitle: function monthTitle(year, month) {
return year + "/" + month;
},
rangePrompt: function rangePrompt(maxRange) {
return "Choose no more than " + maxRange + " days";
}
},
vanContactCard: {
addText: 'Add contact info'
},
vanContactList: {
addText: 'Add new contact'
},
vanPagination: {
prev: 'Previous',
next: 'Next'
},
vanPullRefresh: {
pulling: 'Pull to refresh...',
loosing: 'Loose to refresh...'
},
vanSubmitBar: {
label: 'Total:'
},
vanCoupon: {
unlimited: 'Unlimited',
discount: function discount(_discount) {
return _discount * 10 + "% off";
},
condition: function condition(_condition) {
return "At least " + _condition;
}
},
vanCouponCell: {
title: 'Coupon',
tips: 'No coupons',
count: function count(_count) {
return "You have " + _count + " coupons";
}
},
vanCouponList: {
empty: 'No coupons',
exchange: 'Exchange',
close: 'Close',
enable: 'Available',
disabled: 'Unavailable',
placeholder: 'Coupon code'
},
vanAddressEdit: {
area: 'Area',
postal: 'Postal',
areaEmpty: 'Please select a receiving area',
addressEmpty: 'Address can not be empty',
postalEmpty: 'Wrong postal code',
defaultAddress: 'Set as the default address',
telPlaceholder: 'Phone',
namePlaceholder: 'Name',
areaPlaceholder: 'Area'
},
vanAddressEditDetail: {
label: 'Address',
placeholder: 'Address'
},
vanAddressList: {
add: 'Add new address'
}
}
const message = Object.assign(customEnUS, vantEnUS)
export default message