-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
/
Copy pathen.ts
217 lines (215 loc) · 7.2 KB
/
en.ts
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
import { TranslationMessages } from 'react-admin';
import englishMessages from 'ra-language-english';
const customEnglishMessages: TranslationMessages = {
...englishMessages,
pos: {
search: 'Search',
configuration: 'Configuration',
language: 'Language',
theme: {
name: 'Theme',
light: 'Light',
dark: 'Dark',
},
dashboard: {
monthly_revenue: 'Monthly Revenue',
month_history: '30 Day Revenue History',
new_orders: 'New Orders',
pending_reviews: 'Pending Reviews',
all_reviews: 'See all reviews',
new_customers: 'New Customers',
all_customers: 'See all customers',
pending_orders: 'Pending Orders',
order: {
items:
'by %{customer_name}, one item |||| by %{customer_name}, %{nb_items} items',
},
welcome: {
title: 'Welcome to the react-admin e-commerce demo',
subtitle:
"This is the admin of an imaginary poster shop. Feel free to explore and modify the data - it's local to your computer, and will reset each time you reload.",
ra_button: 'react-admin site',
demo_button: 'Source for this demo',
},
},
menu: {
sales: 'Sales',
catalog: 'Catalog',
customers: 'Customers',
},
},
resources: {
customers: {
name: 'Customer |||| Customers',
fields: {
commands: 'Orders',
first_seen: 'First seen',
groups: 'Segments',
last_seen: 'Last seen',
last_seen_gte: 'Visited Since',
name: 'Name',
total_spent: 'Total spent',
password: 'Password',
confirm_password: 'Confirm password',
stateAbbr: 'State',
},
filters: {
last_visited: 'Last visited',
today: 'Today',
this_week: 'This week',
last_week: 'Last week',
this_month: 'This month',
last_month: 'Last month',
earlier: 'Earlier',
has_ordered: 'Has ordered',
has_newsletter: 'Has newsletter',
group: 'Segment',
},
fieldGroups: {
identity: 'Identity',
address: 'Address',
stats: 'Stats',
history: 'History',
password: 'Password',
change_password: 'Change Password',
},
page: {
delete: 'Delete Customer',
},
errors: {
password_mismatch:
'The password confirmation is not the same as the password.',
},
},
commands: {
name: 'Order |||| Orders',
amount: '1 order |||| %{smart_count} orders',
title: 'Order %{reference}',
fields: {
basket: {
delivery: 'Delivery',
reference: 'Reference',
quantity: 'Quantity',
sum: 'Sum',
tax_rate: 'Tax Rate',
taxes: 'Tax',
total: 'Total',
unit_price: 'Unit Price',
},
address: 'Address',
customer_id: 'Customer',
date_gte: 'Passed Since',
date_lte: 'Passed Before',
nb_items: 'Nb Items',
total_gte: 'Min amount',
status: 'Status',
returned: 'Returned',
},
section: {
order: 'Order',
customer: 'Customer',
shipping_address: 'Shipping Address',
items: 'Items',
total: 'Totals',
},
},
invoices: {
name: 'Invoice |||| Invoices',
fields: {
date: 'Invoice date',
customer_id: 'Customer',
command_id: 'Order',
date_gte: 'Passed Since',
date_lte: 'Passed Before',
total_gte: 'Min amount',
address: 'Address',
},
},
products: {
name: 'Poster |||| Posters',
fields: {
category_id: 'Category',
height_gte: 'Min height',
height_lte: 'Max height',
height: 'Height',
image: 'Image',
price: 'Price',
reference: 'Reference',
sales: 'Sales',
stock_lte: 'Low Stock',
stock: 'Stock',
thumbnail: 'Thumbnail',
width_gte: 'Min width',
width_lte: 'Max width',
width: 'Width',
},
tabs: {
image: 'Image',
details: 'Details',
description: 'Description',
reviews: 'Reviews',
},
filters: {
categories: 'Categories',
stock: 'Stock',
no_stock: 'Out of stock',
low_stock: '1 - 9 items',
average_stock: '10 - 49 items',
enough_stock: '50 items & more',
sales: 'Sales',
best_sellers: 'Best sellers',
average_sellers: 'Average',
low_sellers: 'Low',
never_sold: 'Never sold',
},
},
categories: {
name: 'Category |||| Categories',
fields: {
products: 'Products',
},
},
reviews: {
name: 'Review |||| Reviews',
amount: '1 review |||| %{smart_count} reviews',
relative_to_poster: 'Review on poster',
detail: 'Review detail',
fields: {
customer_id: 'Customer',
command_id: 'Order',
product_id: 'Product',
date_gte: 'Posted since',
date_lte: 'Posted before',
date: 'Date',
comment: 'Comment',
rating: 'Rating',
},
action: {
accept: 'Accept',
reject: 'Reject',
},
notification: {
approved_success: 'Review approved',
approved_error: 'Error: Review not approved',
rejected_success: 'Review rejected',
rejected_error: 'Error: Review not rejected',
},
},
segments: {
name: 'Segment |||| Segments',
fields: {
customers: 'Customers',
name: 'Name',
},
data: {
compulsive: 'Compulsive',
collector: 'Collector',
ordered_once: 'Ordered once',
regular: 'Regular',
returns: 'Returns',
reviewer: 'Reviewer',
},
},
},
};
export default customEnglishMessages;