@xoong/i18n 0.0.39 → 0.0.42
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/package.json +4 -4
- package/src/builtin.js +38 -0
- package/src/catalogs/vi.json +38 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xoong/i18n",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42",
|
|
4
4
|
"description": "xoong internationalization: ICU-subset JSON catalogs, xo-t in markup, a locale signal, Intl formats. Zero dependencies besides @xoong/core and @xoong/data.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"bugs": {
|
|
36
36
|
"url": "https://github.com/fpt-duongtx/xoong/issues"
|
|
37
37
|
},
|
|
38
|
-
"homepage": "https://
|
|
38
|
+
"homepage": "https://fpt-duongtx.github.io/xoong/",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@xoong/core": "0.0.
|
|
41
|
-
"@xoong/data": "0.0.
|
|
40
|
+
"@xoong/core": "0.0.42",
|
|
41
|
+
"@xoong/data": "0.0.42"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
package/src/builtin.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
// The English catalog of xoong's own strings: the starting point for translators. A test keeps it identical to the defaults written in the source
|
|
2
2
|
// (regenerate with: xoong i18n extract packages/core/src packages/forms/src packages/ui/src packages/controls/src packages/richtext/src).
|
|
3
3
|
export const builtin = {
|
|
4
|
+
"xoong.avatar.more": "{count} more",
|
|
5
|
+
"xoong.avatar.muted": "inactive",
|
|
6
|
+
"xoong.avatar.ok": "online",
|
|
7
|
+
"xoong.avatar.unknown": "Unknown user",
|
|
8
|
+
"xoong.avatar.warn": "needs attention",
|
|
4
9
|
"xoong.carousel.choose": "Choose a slide",
|
|
5
10
|
"xoong.carousel.goto": "Go to slide {n}",
|
|
6
11
|
"xoong.carousel.next": "Next slide",
|
|
@@ -9,39 +14,68 @@ export const builtin = {
|
|
|
9
14
|
"xoong.carousel.previous": "Previous slide",
|
|
10
15
|
"xoong.carousel.slide": "{n} of {count}",
|
|
11
16
|
"xoong.carousel.slides": "Slides",
|
|
17
|
+
"xoong.chart.label": "Label",
|
|
18
|
+
"xoong.chart.table": "View as table",
|
|
19
|
+
"xoong.chart.value": "Value",
|
|
20
|
+
"xoong.command.label": "Search commands",
|
|
21
|
+
"xoong.command.placeholder": "Type a command or page",
|
|
22
|
+
"xoong.command.results": "Results",
|
|
12
23
|
"xoong.confirm.cancel": "Cancel",
|
|
13
24
|
"xoong.confirm.ok": "Confirm",
|
|
25
|
+
"xoong.consent.all": "Accept all",
|
|
26
|
+
"xoong.consent.essential": "Essential only",
|
|
27
|
+
"xoong.consent.label": "Cookie consent",
|
|
14
28
|
"xoong.controls.apply": "Apply",
|
|
15
29
|
"xoong.controls.chooseDate": "Choose date",
|
|
16
30
|
"xoong.controls.clear": "Clear",
|
|
17
31
|
"xoong.controls.copied": "Copied",
|
|
18
32
|
"xoong.controls.copy": "Copy",
|
|
19
33
|
"xoong.controls.create": "Add \"{value}\"",
|
|
34
|
+
"xoong.controls.darkTheme": "Dark theme",
|
|
20
35
|
"xoong.controls.date": "Date",
|
|
21
36
|
"xoong.controls.dateRange": "Choose a date within the allowed range.",
|
|
22
37
|
"xoong.controls.dateRangeHint": "Start - end",
|
|
23
38
|
"xoong.controls.days": "{n} days",
|
|
24
39
|
"xoong.controls.decrease": "Decrease",
|
|
40
|
+
"xoong.controls.file": "File",
|
|
25
41
|
"xoong.controls.hidePassword": "Hide password",
|
|
26
42
|
"xoong.controls.hour": "Hour",
|
|
27
43
|
"xoong.controls.increase": "Increase",
|
|
44
|
+
"xoong.controls.maximum": "Maximum",
|
|
45
|
+
"xoong.controls.minimum": "Minimum",
|
|
28
46
|
"xoong.controls.minute": "Minute",
|
|
47
|
+
"xoong.controls.moreOptions": "More options",
|
|
29
48
|
"xoong.controls.nextMonth": "Next month",
|
|
30
49
|
"xoong.controls.noResults": "No results",
|
|
31
50
|
"xoong.controls.password": "Password",
|
|
32
51
|
"xoong.controls.pickEnd": "pick the last day",
|
|
33
52
|
"xoong.controls.pickStart": "Pick the first day",
|
|
34
53
|
"xoong.controls.prevMonth": "Previous month",
|
|
54
|
+
"xoong.controls.range": "Range",
|
|
35
55
|
"xoong.controls.remove": "Remove {label}",
|
|
36
56
|
"xoong.controls.showPassword": "Show password",
|
|
57
|
+
"xoong.controls.text": "Text",
|
|
37
58
|
"xoong.controls.timeRange": "Choose a time within the allowed range.",
|
|
59
|
+
"xoong.controls.tooLong": "Use at most {max} characters.",
|
|
38
60
|
"xoong.controls.value": "Value",
|
|
61
|
+
"xoong.file.browse": "or click to browse",
|
|
62
|
+
"xoong.file.drop": "Drop a file",
|
|
63
|
+
"xoong.file.dropMany": "Drop files",
|
|
64
|
+
"xoong.file.progress": "Upload progress",
|
|
65
|
+
"xoong.file.remove": "Remove",
|
|
66
|
+
"xoong.file.size": "{name} is too large (at most {max}).",
|
|
67
|
+
"xoong.file.type": "{name} is not an allowed file type.",
|
|
39
68
|
"xoong.form.add": "Add",
|
|
40
69
|
"xoong.form.moveDown": "Move down",
|
|
41
70
|
"xoong.form.moveUp": "Move up",
|
|
42
71
|
"xoong.form.remove": "Remove",
|
|
43
72
|
"xoong.form.save": "Save",
|
|
44
73
|
"xoong.guard.leave": "You have unsaved changes. Leave this page?",
|
|
74
|
+
"xoong.inlineEdit.rename": "Rename",
|
|
75
|
+
"xoong.otp.digit": "Digit {n}",
|
|
76
|
+
"xoong.otp.incomplete": "Enter all {n} digits.",
|
|
77
|
+
"xoong.otp.label": "Verification code",
|
|
78
|
+
"xoong.progress.label": "Progress",
|
|
45
79
|
"xoong.richtext.apply": "Apply",
|
|
46
80
|
"xoong.richtext.bold": "Bold",
|
|
47
81
|
"xoong.richtext.done": "Done",
|
|
@@ -67,6 +101,10 @@ export const builtin = {
|
|
|
67
101
|
"xoong.richtext.ul": "Bulleted list",
|
|
68
102
|
"xoong.richtext.underline": "Underline",
|
|
69
103
|
"xoong.richtext.undo": "Undo",
|
|
104
|
+
"xoong.spinner.label": "Loading",
|
|
105
|
+
"xoong.stat.better": "{change} better",
|
|
106
|
+
"xoong.stat.worse": "{change} worse",
|
|
107
|
+
"xoong.steps.done": "Completed",
|
|
70
108
|
"xoong.table.actions": "Actions",
|
|
71
109
|
"xoong.table.next": "Next",
|
|
72
110
|
"xoong.table.pagination": "Pagination",
|
package/src/catalogs/vi.json
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
+
"xoong.avatar.more": "thêm {count}",
|
|
3
|
+
"xoong.avatar.muted": "không hoạt động",
|
|
4
|
+
"xoong.avatar.ok": "đang hoạt động",
|
|
5
|
+
"xoong.avatar.unknown": "Người dùng không rõ",
|
|
6
|
+
"xoong.avatar.warn": "cần chú ý",
|
|
2
7
|
"xoong.carousel.choose": "Chọn một slide",
|
|
3
8
|
"xoong.carousel.goto": "Đến slide {n}",
|
|
4
9
|
"xoong.carousel.next": "Slide tiếp theo",
|
|
@@ -7,39 +12,68 @@
|
|
|
7
12
|
"xoong.carousel.previous": "Slide trước",
|
|
8
13
|
"xoong.carousel.slide": "{n} trên {count}",
|
|
9
14
|
"xoong.carousel.slides": "Các slide",
|
|
15
|
+
"xoong.chart.label": "Nhãn",
|
|
16
|
+
"xoong.chart.table": "Xem dạng bảng",
|
|
17
|
+
"xoong.chart.value": "Giá trị",
|
|
18
|
+
"xoong.command.label": "Tìm lệnh",
|
|
19
|
+
"xoong.command.placeholder": "Gõ lệnh hoặc tên trang",
|
|
20
|
+
"xoong.command.results": "Kết quả",
|
|
10
21
|
"xoong.confirm.cancel": "Hủy",
|
|
11
22
|
"xoong.confirm.ok": "Xác nhận",
|
|
23
|
+
"xoong.consent.all": "Chấp nhận tất cả",
|
|
24
|
+
"xoong.consent.essential": "Chỉ cần thiết",
|
|
25
|
+
"xoong.consent.label": "Đồng ý cookie",
|
|
12
26
|
"xoong.controls.apply": "Áp dụng",
|
|
13
27
|
"xoong.controls.chooseDate": "Chọn ngày",
|
|
14
28
|
"xoong.controls.clear": "Xóa",
|
|
15
29
|
"xoong.controls.copied": "Đã sao chép",
|
|
16
30
|
"xoong.controls.copy": "Sao chép",
|
|
17
31
|
"xoong.controls.create": "Thêm \"{value}\"",
|
|
32
|
+
"xoong.controls.darkTheme": "Giao diện tối",
|
|
18
33
|
"xoong.controls.date": "Ngày",
|
|
19
34
|
"xoong.controls.dateRange": "Hãy chọn ngày trong khoảng cho phép.",
|
|
20
35
|
"xoong.controls.dateRangeHint": "Bắt đầu - kết thúc",
|
|
21
36
|
"xoong.controls.days": "{n} ngày",
|
|
22
37
|
"xoong.controls.decrease": "Giảm",
|
|
38
|
+
"xoong.controls.file": "Tệp",
|
|
23
39
|
"xoong.controls.hidePassword": "Ẩn mật khẩu",
|
|
24
40
|
"xoong.controls.hour": "Giờ",
|
|
25
41
|
"xoong.controls.increase": "Tăng",
|
|
42
|
+
"xoong.controls.maximum": "Lớn nhất",
|
|
43
|
+
"xoong.controls.minimum": "Nhỏ nhất",
|
|
26
44
|
"xoong.controls.minute": "Phút",
|
|
45
|
+
"xoong.controls.moreOptions": "Thêm tùy chọn",
|
|
27
46
|
"xoong.controls.nextMonth": "Tháng sau",
|
|
28
47
|
"xoong.controls.noResults": "Không có kết quả",
|
|
29
48
|
"xoong.controls.password": "Mật khẩu",
|
|
30
49
|
"xoong.controls.pickEnd": "chọn ngày cuối",
|
|
31
50
|
"xoong.controls.pickStart": "Chọn ngày đầu",
|
|
32
51
|
"xoong.controls.prevMonth": "Tháng trước",
|
|
52
|
+
"xoong.controls.range": "Khoảng",
|
|
33
53
|
"xoong.controls.remove": "Bỏ {label}",
|
|
34
54
|
"xoong.controls.showPassword": "Hiện mật khẩu",
|
|
55
|
+
"xoong.controls.text": "Văn bản",
|
|
35
56
|
"xoong.controls.timeRange": "Hãy chọn giờ trong khoảng cho phép.",
|
|
57
|
+
"xoong.controls.tooLong": "Dùng tối đa {max} ký tự.",
|
|
36
58
|
"xoong.controls.value": "Giá trị",
|
|
59
|
+
"xoong.file.browse": "hoặc bấm để chọn",
|
|
60
|
+
"xoong.file.drop": "Thả một tệp",
|
|
61
|
+
"xoong.file.dropMany": "Thả các tệp",
|
|
62
|
+
"xoong.file.progress": "Tiến độ tải lên",
|
|
63
|
+
"xoong.file.remove": "Xóa",
|
|
64
|
+
"xoong.file.size": "{name} quá lớn (tối đa {max}).",
|
|
65
|
+
"xoong.file.type": "{name} không phải loại tệp được phép.",
|
|
37
66
|
"xoong.form.add": "Thêm",
|
|
38
67
|
"xoong.form.moveDown": "Chuyển xuống",
|
|
39
68
|
"xoong.form.moveUp": "Chuyển lên",
|
|
40
69
|
"xoong.form.remove": "Xóa",
|
|
41
70
|
"xoong.form.save": "Lưu",
|
|
42
71
|
"xoong.guard.leave": "Bạn có thay đổi chưa lưu. Rời khỏi trang này?",
|
|
72
|
+
"xoong.inlineEdit.rename": "Đổi tên",
|
|
73
|
+
"xoong.otp.digit": "Chữ số {n}",
|
|
74
|
+
"xoong.otp.incomplete": "Nhập đủ {n} chữ số.",
|
|
75
|
+
"xoong.otp.label": "Mã xác minh",
|
|
76
|
+
"xoong.progress.label": "Tiến độ",
|
|
43
77
|
"xoong.richtext.apply": "Áp dụng",
|
|
44
78
|
"xoong.richtext.bold": "In đậm",
|
|
45
79
|
"xoong.richtext.done": "Xong",
|
|
@@ -65,6 +99,10 @@
|
|
|
65
99
|
"xoong.richtext.ul": "Danh sách gạch đầu dòng",
|
|
66
100
|
"xoong.richtext.underline": "Gạch chân",
|
|
67
101
|
"xoong.richtext.undo": "Hoàn tác",
|
|
102
|
+
"xoong.spinner.label": "Đang tải",
|
|
103
|
+
"xoong.stat.better": "{change} tốt hơn",
|
|
104
|
+
"xoong.stat.worse": "{change} xấu hơn",
|
|
105
|
+
"xoong.steps.done": "Đã xong",
|
|
68
106
|
"xoong.table.actions": "Thao tác",
|
|
69
107
|
"xoong.table.next": "Sau",
|
|
70
108
|
"xoong.table.pagination": "Phân trang",
|