@thl-ui/locales 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +36 -2
- package/dist/en.d.ts +481 -0
- package/dist/en.js +384 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.js +18 -0
- package/dist/ja.d.ts +4 -0
- package/dist/ja.js +367 -0
- package/dist/types.d.ts +25 -0
- package/dist/types.js +1 -0
- package/dist/vi.d.ts +4 -0
- package/dist/vi.js +384 -0
- package/dist/zh.d.ts +4 -0
- package/dist/zh.js +351 -0
- package/package.json +56 -4
package/dist/en.js
ADDED
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
const en = {
|
|
2
|
+
common: {
|
|
3
|
+
ok: 'OK',
|
|
4
|
+
cancel: 'Cancel',
|
|
5
|
+
close: 'Close',
|
|
6
|
+
confirm: 'Confirm',
|
|
7
|
+
save: 'Save',
|
|
8
|
+
delete: 'Delete',
|
|
9
|
+
edit: 'Edit',
|
|
10
|
+
add: 'Add',
|
|
11
|
+
search: 'Search',
|
|
12
|
+
searchPlaceholder: 'Search...',
|
|
13
|
+
loading: 'Loading...',
|
|
14
|
+
empty: 'No data',
|
|
15
|
+
more: 'More',
|
|
16
|
+
back: 'Back',
|
|
17
|
+
next: 'Next',
|
|
18
|
+
previous: 'Previous',
|
|
19
|
+
submit: 'Submit',
|
|
20
|
+
reset: 'Reset',
|
|
21
|
+
yes: 'Yes',
|
|
22
|
+
no: 'No',
|
|
23
|
+
viewAll: 'View all',
|
|
24
|
+
clear: 'Clear',
|
|
25
|
+
apply: 'Apply',
|
|
26
|
+
collapse: 'Collapse',
|
|
27
|
+
expand: 'Expand',
|
|
28
|
+
remove: 'Remove',
|
|
29
|
+
selectAll: 'Select all',
|
|
30
|
+
required: 'Required',
|
|
31
|
+
color: 'Color',
|
|
32
|
+
editor: 'Rich text editor',
|
|
33
|
+
min: 'Minimum',
|
|
34
|
+
max: 'Maximum',
|
|
35
|
+
value: 'Value',
|
|
36
|
+
progress: 'Progress',
|
|
37
|
+
scrollRegion: 'Scrollable content',
|
|
38
|
+
selectRow: 'Select row {n}',
|
|
39
|
+
toggleDone: 'Mark as done',
|
|
40
|
+
carousel: 'Carousel',
|
|
41
|
+
},
|
|
42
|
+
pagination: {
|
|
43
|
+
first: 'First',
|
|
44
|
+
last: 'Last',
|
|
45
|
+
prev: 'Prev',
|
|
46
|
+
next: 'Next',
|
|
47
|
+
page: 'Page {page}',
|
|
48
|
+
pageSize: '{size} / page',
|
|
49
|
+
total: { one: '{count} item', other: '{count} items' },
|
|
50
|
+
goto: 'Go to',
|
|
51
|
+
showing: 'Showing {from} to {to} of {total} entries',
|
|
52
|
+
},
|
|
53
|
+
table: {
|
|
54
|
+
empty: 'No matching records found',
|
|
55
|
+
sortAsc: 'Sort ascending',
|
|
56
|
+
sortDesc: 'Sort descending',
|
|
57
|
+
filter: 'Filter',
|
|
58
|
+
selected: { one: '{count} row selected', other: '{count} rows selected' },
|
|
59
|
+
actions: 'Actions',
|
|
60
|
+
search: 'Search:',
|
|
61
|
+
show: 'Show {n} entries',
|
|
62
|
+
},
|
|
63
|
+
upload: {
|
|
64
|
+
dropHere: 'Drag and drop a file here or click',
|
|
65
|
+
dropMultiple: 'Drop files here or click to upload',
|
|
66
|
+
remove: 'Remove',
|
|
67
|
+
replace: 'Drag and drop or click to replace',
|
|
68
|
+
tooBig: 'The file size is too big ({max} max).',
|
|
69
|
+
wrongType: 'The file type is not allowed ({types} only).',
|
|
70
|
+
uploading: 'Uploading...',
|
|
71
|
+
uploaded: 'Uploaded',
|
|
72
|
+
failed: 'Upload failed',
|
|
73
|
+
browse: 'Browse',
|
|
74
|
+
},
|
|
75
|
+
datepicker: {
|
|
76
|
+
today: 'Today',
|
|
77
|
+
clear: 'Clear',
|
|
78
|
+
selectDate: 'Select date',
|
|
79
|
+
selectTime: 'Select time',
|
|
80
|
+
startDate: 'Start date',
|
|
81
|
+
endDate: 'End date',
|
|
82
|
+
now: 'Now',
|
|
83
|
+
week: 'Wk',
|
|
84
|
+
ranges: {
|
|
85
|
+
today: 'Today',
|
|
86
|
+
yesterday: 'Yesterday',
|
|
87
|
+
last7: 'Last 7 days',
|
|
88
|
+
last30: 'Last 30 days',
|
|
89
|
+
thisMonth: 'This month',
|
|
90
|
+
lastMonth: 'Last month',
|
|
91
|
+
custom: 'Custom range',
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
select: { placeholder: 'Select an option', noOptions: 'No results found', addTag: 'Add a tag' },
|
|
95
|
+
modal: { close: 'Close', confirmTitle: 'Are you sure?', confirmText: "You won't be able to revert this!", deleted: 'Deleted!' },
|
|
96
|
+
steps: { step: 'Step {n}', finish: 'Finish', completed: 'Completed' },
|
|
97
|
+
session: {
|
|
98
|
+
warningTitle: 'Your session is about to expire!',
|
|
99
|
+
warningText: 'You will be logged out in {seconds} seconds.',
|
|
100
|
+
stay: 'Stay connected',
|
|
101
|
+
logout: 'Logout',
|
|
102
|
+
idle: 'You have been idle',
|
|
103
|
+
expired: 'Your session has expired',
|
|
104
|
+
},
|
|
105
|
+
validation: {
|
|
106
|
+
required: 'This field is required',
|
|
107
|
+
email: 'Please enter a valid email address',
|
|
108
|
+
minLength: 'Please enter at least {min} characters',
|
|
109
|
+
maxLength: 'Please enter no more than {max} characters',
|
|
110
|
+
min: 'Value must be greater than or equal to {min}',
|
|
111
|
+
max: 'Value must be less than or equal to {max}',
|
|
112
|
+
pattern: 'Please match the requested format',
|
|
113
|
+
match: 'Values do not match',
|
|
114
|
+
number: 'Please enter a valid number',
|
|
115
|
+
},
|
|
116
|
+
toast: { success: 'Success', info: 'Information', warning: 'Warning', error: 'Error' },
|
|
117
|
+
layout: {
|
|
118
|
+
toggleSidebar: 'Toggle sidebar',
|
|
119
|
+
settings: 'Settings panel',
|
|
120
|
+
layoutOptions: 'Layout Options',
|
|
121
|
+
fixedHeader: 'Fix Header',
|
|
122
|
+
fixedSidebar: 'Fix Sidebar',
|
|
123
|
+
withLightSidebar: 'With Light sidebar',
|
|
124
|
+
withDarkSidebar: 'With Dark sidebar',
|
|
125
|
+
colorMode: 'Color mode',
|
|
126
|
+
light: 'Light',
|
|
127
|
+
dark: 'Dark',
|
|
128
|
+
auto: 'Auto',
|
|
129
|
+
language: 'Language',
|
|
130
|
+
layout: 'Layout',
|
|
131
|
+
vertical: 'Vertical',
|
|
132
|
+
mini: 'Mini sidebar',
|
|
133
|
+
horizontal: 'Horizontal',
|
|
134
|
+
chatOption: 'Chat option',
|
|
135
|
+
messages: 'Messages',
|
|
136
|
+
notifications: { one: 'You have {count} new notification', other: 'You have {count} new notifications' },
|
|
137
|
+
tasks: 'Tasks',
|
|
138
|
+
seeAllNotifications: 'See all notifications',
|
|
139
|
+
seeAllTasks: 'See all tasks',
|
|
140
|
+
myProfile: 'My Profile',
|
|
141
|
+
myBalance: 'My Balance',
|
|
142
|
+
inbox: 'Inbox',
|
|
143
|
+
accountSetting: 'Account Setting',
|
|
144
|
+
logout: 'Logout',
|
|
145
|
+
online: 'online',
|
|
146
|
+
offline: 'offline',
|
|
147
|
+
away: 'away',
|
|
148
|
+
busy: 'busy',
|
|
149
|
+
copyright: '{year} © thl-ui',
|
|
150
|
+
complete: '{percent}% Complete',
|
|
151
|
+
},
|
|
152
|
+
menu: {
|
|
153
|
+
dashboard: 'Dashboard',
|
|
154
|
+
dashboard1: 'Dashboard 1',
|
|
155
|
+
dashboard2: 'Dashboard 2',
|
|
156
|
+
dashboard3: 'Dashboard 3',
|
|
157
|
+
dashboard4: 'Dashboard 4',
|
|
158
|
+
apps: 'Apps',
|
|
159
|
+
inbox: 'Inbox',
|
|
160
|
+
inboxDetail: 'Inbox detail',
|
|
161
|
+
compose: 'Compose',
|
|
162
|
+
contact: 'Contact',
|
|
163
|
+
contactDetail: 'Contact detail',
|
|
164
|
+
calendar: 'Calendar',
|
|
165
|
+
ecommerce: 'Ecommerce',
|
|
166
|
+
products: 'Products',
|
|
167
|
+
productDetail: 'Product Detail',
|
|
168
|
+
productEdit: 'Product Edit',
|
|
169
|
+
productOrders: 'Product Orders',
|
|
170
|
+
productCart: 'Product Cart',
|
|
171
|
+
productCheckout: 'Product Checkout',
|
|
172
|
+
ui: 'UI Elements',
|
|
173
|
+
buttons: 'Buttons',
|
|
174
|
+
panels: 'Panels & Wells',
|
|
175
|
+
panelBlock: 'Panel Block UI',
|
|
176
|
+
portlets: 'Draggable Portlet',
|
|
177
|
+
tabs: 'Tabs',
|
|
178
|
+
modals: 'Modals',
|
|
179
|
+
notification: 'Notifications',
|
|
180
|
+
progress: 'Progress Bars',
|
|
181
|
+
ribbons: 'Ribbons',
|
|
182
|
+
steps: 'Steps',
|
|
183
|
+
timeline: 'Timeline',
|
|
184
|
+
timelineHorizontal: 'Horizontal Timeline',
|
|
185
|
+
carousel: 'Carousel',
|
|
186
|
+
uiGeneral: 'General UI',
|
|
187
|
+
animation: 'Animation',
|
|
188
|
+
userCards: 'User Cards',
|
|
189
|
+
customScroll: 'Custom Scroll',
|
|
190
|
+
forms: 'Forms',
|
|
191
|
+
formBasic: 'Basic Forms',
|
|
192
|
+
formLayout: 'Form Layout',
|
|
193
|
+
formAdvanced: 'Form Addons',
|
|
194
|
+
formPickers: 'Form Pickers',
|
|
195
|
+
formUpload: 'File Upload',
|
|
196
|
+
formFileDrop: 'File Drop',
|
|
197
|
+
checkRadio: 'Check & Radio',
|
|
198
|
+
rangeSlider: 'Range Slider',
|
|
199
|
+
tables: 'Tables',
|
|
200
|
+
basicTable: 'Basic Tables',
|
|
201
|
+
tableLayouts: 'Table Layouts',
|
|
202
|
+
dataTable: 'Data Table',
|
|
203
|
+
advancedTables: 'Advanced Tables',
|
|
204
|
+
editableTables: 'Editable Tables',
|
|
205
|
+
responsiveTables: 'Responsive Tables',
|
|
206
|
+
widgets: 'Widgets',
|
|
207
|
+
charts: 'Charts',
|
|
208
|
+
chartBasic: 'Line & Bar Charts',
|
|
209
|
+
chartMini: 'Mini Charts',
|
|
210
|
+
chartGauge: 'Gauge Charts',
|
|
211
|
+
sparkline: 'Sparkline Chart',
|
|
212
|
+
pages: 'Pages',
|
|
213
|
+
starter: 'Starter Page',
|
|
214
|
+
blank: 'Blank Page',
|
|
215
|
+
login: 'Login',
|
|
216
|
+
register: 'Register',
|
|
217
|
+
recover: 'Recover Password',
|
|
218
|
+
lock: 'Lock Screen',
|
|
219
|
+
profile: 'Profile',
|
|
220
|
+
invoice: 'Invoice',
|
|
221
|
+
pricing: 'Pricing',
|
|
222
|
+
gallery: 'Gallery',
|
|
223
|
+
searchResult: 'Search Result',
|
|
224
|
+
sessionTimeout: 'Session Timeout',
|
|
225
|
+
sessionIdle: 'Session Idle Timeout',
|
|
226
|
+
errors: 'Error Pages',
|
|
227
|
+
maps: 'Maps',
|
|
228
|
+
googleMap: 'Google Map',
|
|
229
|
+
vectorMap: 'Vector Map',
|
|
230
|
+
icons: 'Icons',
|
|
231
|
+
landing: 'Landing Page',
|
|
232
|
+
},
|
|
233
|
+
pages: {
|
|
234
|
+
login: {
|
|
235
|
+
title: 'Sign In',
|
|
236
|
+
username: 'Username',
|
|
237
|
+
email: 'Email',
|
|
238
|
+
password: 'Password',
|
|
239
|
+
remember: 'Remember me',
|
|
240
|
+
forgot: 'Forgot pwd?',
|
|
241
|
+
submit: 'Log In',
|
|
242
|
+
noAccount: "Don't have an account?",
|
|
243
|
+
signUp: 'Sign Up',
|
|
244
|
+
social: 'Or sign in with',
|
|
245
|
+
},
|
|
246
|
+
register: {
|
|
247
|
+
title: 'Sign Up',
|
|
248
|
+
name: 'Name',
|
|
249
|
+
confirmPassword: 'Confirm Password',
|
|
250
|
+
agree: 'I agree to all',
|
|
251
|
+
terms: 'Terms',
|
|
252
|
+
haveAccount: 'Already have an account?',
|
|
253
|
+
signIn: 'Sign In',
|
|
254
|
+
},
|
|
255
|
+
recover: { title: 'Recover Password', text: 'Enter your Email and instructions will be sent to you!', submit: 'Reset' },
|
|
256
|
+
lock: { title: 'Locked', text: 'Enter your password to unlock', submit: 'Login' },
|
|
257
|
+
error: {
|
|
258
|
+
400: { title: 'Bad Request', text: 'The request could not be understood by the server.' },
|
|
259
|
+
403: { title: 'Forbidden Error', text: "You don't have permission to access on this server." },
|
|
260
|
+
404: { title: 'Page Not Found !', text: 'You seem to be trying to find his way home' },
|
|
261
|
+
500: { title: 'Internal Server Error', text: 'Please try after some time' },
|
|
262
|
+
503: { title: 'Service Unavailable', text: 'This site is getting a tune-up.' },
|
|
263
|
+
backHome: 'Back to home',
|
|
264
|
+
},
|
|
265
|
+
dashboard: {
|
|
266
|
+
totalVisit: 'Total Visit',
|
|
267
|
+
pageViews: 'Page Views',
|
|
268
|
+
uniqueVisitor: 'Unique Visitor',
|
|
269
|
+
bounceRate: 'Bounce Rate',
|
|
270
|
+
sales: 'Sales',
|
|
271
|
+
revenue: 'Revenue',
|
|
272
|
+
orders: 'Orders',
|
|
273
|
+
newClients: 'New Clients',
|
|
274
|
+
recentComments: 'Recent Comments',
|
|
275
|
+
todoList: 'To Do List',
|
|
276
|
+
salesOverview: 'Sales Overview',
|
|
277
|
+
productsYearly: 'Products Yearly Sales',
|
|
278
|
+
recentSales: 'Recent Sales',
|
|
279
|
+
chat: 'Chat Listing',
|
|
280
|
+
feeds: 'Feeds',
|
|
281
|
+
weather: 'Weather',
|
|
282
|
+
},
|
|
283
|
+
inbox: {
|
|
284
|
+
compose: 'Compose',
|
|
285
|
+
inbox: 'Inbox',
|
|
286
|
+
sent: 'Sent Mail',
|
|
287
|
+
draft: 'Draft',
|
|
288
|
+
spam: 'Spam',
|
|
289
|
+
trash: 'Trash',
|
|
290
|
+
labels: 'Labels',
|
|
291
|
+
reply: 'Reply',
|
|
292
|
+
forward: 'Forward',
|
|
293
|
+
to: 'To:',
|
|
294
|
+
subject: 'Subject:',
|
|
295
|
+
send: 'Send',
|
|
296
|
+
discard: 'Discard',
|
|
297
|
+
attachments: 'Attachments',
|
|
298
|
+
},
|
|
299
|
+
invoice: {
|
|
300
|
+
title: 'Invoice',
|
|
301
|
+
invoiceTo: 'To,',
|
|
302
|
+
invoiceDate: 'Invoice Date',
|
|
303
|
+
dueDate: 'Due Date',
|
|
304
|
+
description: 'Description',
|
|
305
|
+
quantity: 'Quantity',
|
|
306
|
+
unitCost: 'Unit Cost',
|
|
307
|
+
total: 'Total',
|
|
308
|
+
subTotal: 'Sub - Total amount',
|
|
309
|
+
vat: 'vat ({rate}%)',
|
|
310
|
+
print: 'Print',
|
|
311
|
+
proceed: 'Proceed to payment',
|
|
312
|
+
},
|
|
313
|
+
pricing: {
|
|
314
|
+
perMonth: 'per month',
|
|
315
|
+
signUp: 'Sign up',
|
|
316
|
+
popular: 'Popular',
|
|
317
|
+
storage: '{gb} GB Storage',
|
|
318
|
+
users: '{n} Users',
|
|
319
|
+
domains: 'Domains',
|
|
320
|
+
support: '24x7 Support',
|
|
321
|
+
},
|
|
322
|
+
profile: {
|
|
323
|
+
followers: 'Followers',
|
|
324
|
+
following: 'Following',
|
|
325
|
+
tweets: 'Tweets',
|
|
326
|
+
activity: 'Activity',
|
|
327
|
+
settings: 'Settings',
|
|
328
|
+
fullName: 'Full Name',
|
|
329
|
+
mobile: 'Mobile',
|
|
330
|
+
location: 'Location',
|
|
331
|
+
updateProfile: 'Update Profile',
|
|
332
|
+
},
|
|
333
|
+
products: {
|
|
334
|
+
addToCart: 'Add to cart',
|
|
335
|
+
buyNow: 'Buy now',
|
|
336
|
+
price: 'Price',
|
|
337
|
+
inStock: 'In stock',
|
|
338
|
+
outOfStock: 'Out of stock',
|
|
339
|
+
checkout: 'Checkout',
|
|
340
|
+
cart: 'Your Cart',
|
|
341
|
+
quantity: 'Quantity',
|
|
342
|
+
order: 'Order',
|
|
343
|
+
status: 'Status',
|
|
344
|
+
customer: 'Customer',
|
|
345
|
+
date: 'Date',
|
|
346
|
+
placeOrder: 'Place order',
|
|
347
|
+
},
|
|
348
|
+
contact: {
|
|
349
|
+
addContact: 'Add New Contact',
|
|
350
|
+
name: 'Name',
|
|
351
|
+
email: 'Email',
|
|
352
|
+
phone: 'Phone',
|
|
353
|
+
role: 'Role',
|
|
354
|
+
age: 'Age',
|
|
355
|
+
joiningDate: 'Joining date',
|
|
356
|
+
salary: 'Salary',
|
|
357
|
+
},
|
|
358
|
+
calendar: { addEvent: 'Add Event', eventName: 'Event Name', category: 'Category', dragDrop: 'Drag and drop your event or click in the calendar' },
|
|
359
|
+
search: { results: { one: 'About {count} result', other: 'About {count} results' } },
|
|
360
|
+
landing: {
|
|
361
|
+
hero: 'Most Advanced Dashboard Kit',
|
|
362
|
+
tagline: 'React, Vue and Angular + 80+ components + 74 pages + 12 color skins + 4 languages + light/dark mode',
|
|
363
|
+
buy: 'Get started',
|
|
364
|
+
livePreview: 'Live Preview',
|
|
365
|
+
features: 'Features That Make thl-ui Outstanding',
|
|
366
|
+
more: 'Browse all components',
|
|
367
|
+
featureList: {
|
|
368
|
+
components: { title: '80+ UI components', text: 'Ready-made components with the same API in React, Vue and Angular' },
|
|
369
|
+
sidebar: { title: 'Light & dark sidebar', text: 'Every skin comes with a light or a dark sidebar' },
|
|
370
|
+
skins: { title: '12 color skins', text: '6 colors, each with a light or dark sidebar, or your own brand color' },
|
|
371
|
+
slider: { title: 'Range slider', text: 'Single and double-handle sliders for prices and ranges' },
|
|
372
|
+
mini: { title: 'Mini sidebar', text: 'Collapse the menu to icons, or move it to the top' },
|
|
373
|
+
responsive: { title: 'Fully responsive', text: 'A layout that works from phones to wide screens' },
|
|
374
|
+
customize: { title: 'Easy to customize', text: 'Global config, --thl-* tokens and per-component defaults' },
|
|
375
|
+
upload: { title: 'Multi file upload', text: 'Drag and drop several files with progress and checks' },
|
|
376
|
+
forms: { title: 'Many form layouts', text: 'Validation with translated messages in every framework' },
|
|
377
|
+
dashboards: { title: '4 ready-to-use dashboards', text: 'Four dashboards and dozens of widgets to reuse' },
|
|
378
|
+
pages: { title: 'Custom pages', text: 'Gallery, sign up, login, profile and many more' },
|
|
379
|
+
ecommerce: { title: 'Ecommerce ready', text: 'Products, cart, checkout, orders and details' },
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
},
|
|
383
|
+
};
|
|
384
|
+
export default en;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export { default as en } from './en.js';
|
|
2
|
+
export { default as ja } from './ja.js';
|
|
3
|
+
export { default as vi } from './vi.js';
|
|
4
|
+
export { default as zh } from './zh.js';
|
|
5
|
+
export type { ThlMessages } from './en.js';
|
|
6
|
+
export type { DeepStringify, PluralMessage, MessageValue, Messages } from './types.js';
|
|
7
|
+
/** Built-in locale metadata (name shown in the language switcher). */
|
|
8
|
+
export declare const localeInfo: {
|
|
9
|
+
readonly en: {
|
|
10
|
+
readonly name: "English";
|
|
11
|
+
readonly dir: "ltr";
|
|
12
|
+
readonly intl: "en-US";
|
|
13
|
+
};
|
|
14
|
+
readonly ja: {
|
|
15
|
+
readonly name: "日本語";
|
|
16
|
+
readonly dir: "ltr";
|
|
17
|
+
readonly intl: "ja-JP";
|
|
18
|
+
};
|
|
19
|
+
readonly vi: {
|
|
20
|
+
readonly name: "Tiếng Việt";
|
|
21
|
+
readonly dir: "ltr";
|
|
22
|
+
readonly intl: "vi-VN";
|
|
23
|
+
};
|
|
24
|
+
readonly zh: {
|
|
25
|
+
readonly name: "简体中文";
|
|
26
|
+
readonly dir: "ltr";
|
|
27
|
+
readonly intl: "zh-CN";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export type BuiltinLocale = keyof typeof localeInfo;
|
|
31
|
+
/** Lazy loaders, for `createI18n({ loadLocale })`. */
|
|
32
|
+
export declare const localeLoaders: Record<BuiltinLocale, () => Promise<{
|
|
33
|
+
default: unknown;
|
|
34
|
+
}>>;
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { default as en } from './en.js';
|
|
2
|
+
export { default as ja } from './ja.js';
|
|
3
|
+
export { default as vi } from './vi.js';
|
|
4
|
+
export { default as zh } from './zh.js';
|
|
5
|
+
/** Built-in locale metadata (name shown in the language switcher). */
|
|
6
|
+
export const localeInfo = {
|
|
7
|
+
en: { name: 'English', dir: 'ltr', intl: 'en-US' },
|
|
8
|
+
ja: { name: '日本語', dir: 'ltr', intl: 'ja-JP' },
|
|
9
|
+
vi: { name: 'Tiếng Việt', dir: 'ltr', intl: 'vi-VN' },
|
|
10
|
+
zh: { name: '简体中文', dir: 'ltr', intl: 'zh-CN' },
|
|
11
|
+
};
|
|
12
|
+
/** Lazy loaders, for `createI18n({ loadLocale })`. */
|
|
13
|
+
export const localeLoaders = {
|
|
14
|
+
en: () => import('./en.js'),
|
|
15
|
+
ja: () => import('./ja.js'),
|
|
16
|
+
vi: () => import('./vi.js'),
|
|
17
|
+
zh: () => import('./zh.js'),
|
|
18
|
+
};
|
package/dist/ja.d.ts
ADDED