@xhub-short/sdk 0.1.0-beta.7 → 0.1.0-beta.9
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/dist/index.js +19 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -376,7 +376,11 @@ var enMessages = {
|
|
|
376
376
|
"comment.loadReplies": "Load replies",
|
|
377
377
|
"comment.viewMoreReplies": "View more replies",
|
|
378
378
|
"comment.delete": "Delete",
|
|
379
|
+
"comment.edit": "Edit",
|
|
379
380
|
"comment.report": "Report",
|
|
381
|
+
"comment.deleteConfirmTitle": "Delete comment?",
|
|
382
|
+
"comment.deleteConfirmMessage": "This action cannot be undone.",
|
|
383
|
+
"comment.deleteConfirmButton": "Delete",
|
|
380
384
|
"comment.count": "{count, plural, =0 {0} other {#}}",
|
|
381
385
|
"comment.replyCount": "{count, plural, one {# reply} other {# replies}}",
|
|
382
386
|
"comment.expand": "See more",
|
|
@@ -415,6 +419,7 @@ var enMessages = {
|
|
|
415
419
|
"error.generic": "Something went wrong",
|
|
416
420
|
"error.network": "Network error",
|
|
417
421
|
"error.timeout": "Request timed out",
|
|
422
|
+
"common.cancel": "Cancel",
|
|
418
423
|
cancel: "Cancel",
|
|
419
424
|
close: "Close",
|
|
420
425
|
ok: "OK",
|
|
@@ -474,7 +479,11 @@ var viMessages = {
|
|
|
474
479
|
"comment.loadReplies": "T\u1EA3i ph\u1EA3n h\u1ED3i",
|
|
475
480
|
"comment.viewMoreReplies": "Xem th\xEAm ph\u1EA3n h\u1ED3i",
|
|
476
481
|
"comment.delete": "X\xF3a",
|
|
482
|
+
"comment.edit": "Ch\u1EC9nh s\u1EEDa",
|
|
477
483
|
"comment.report": "B\xE1o c\xE1o",
|
|
484
|
+
"comment.deleteConfirmTitle": "X\xF3a b\xECnh lu\u1EADn?",
|
|
485
|
+
"comment.deleteConfirmMessage": "H\xE0nh \u0111\u1ED9ng n\xE0y kh\xF4ng th\u1EC3 ho\xE0n t\xE1c.",
|
|
486
|
+
"comment.deleteConfirmButton": "X\xF3a",
|
|
478
487
|
"comment.count": "{count, plural, =0 {0} other {#}}",
|
|
479
488
|
"comment.replyCount": "{count} ph\u1EA3n h\u1ED3i",
|
|
480
489
|
"comment.expand": "Xem th\xEAm",
|
|
@@ -513,6 +522,7 @@ var viMessages = {
|
|
|
513
522
|
"error.generic": "\u0110\xE3 c\xF3 l\u1ED7i x\u1EA3y ra",
|
|
514
523
|
"error.network": "L\u1ED7i m\u1EA1ng",
|
|
515
524
|
"error.timeout": "H\u1EBFt th\u1EDDi gian ch\u1EDD",
|
|
525
|
+
"common.cancel": "H\u1EE7y",
|
|
516
526
|
cancel: "H\u1EE7y",
|
|
517
527
|
close: "\u0110\xF3ng",
|
|
518
528
|
ok: "OK",
|
|
@@ -1160,7 +1170,15 @@ function CommentSheetInner({
|
|
|
1160
1170
|
hideRepliesText: i18n.t("comment.hideReplies"),
|
|
1161
1171
|
loadRepliesText: i18n.t("comment.loadReplies"),
|
|
1162
1172
|
viewMoreRepliesText: i18n.t("comment.viewMoreReplies"),
|
|
1163
|
-
formatRelativeTime
|
|
1173
|
+
formatRelativeTime,
|
|
1174
|
+
// Comment menu i18n
|
|
1175
|
+
deleteText: i18n.t("comment.delete"),
|
|
1176
|
+
editText: i18n.t("comment.edit"),
|
|
1177
|
+
reportText: i18n.t("comment.report"),
|
|
1178
|
+
deleteConfirmTitle: i18n.t("comment.deleteConfirmTitle"),
|
|
1179
|
+
deleteConfirmMessage: i18n.t("comment.deleteConfirmMessage"),
|
|
1180
|
+
deleteConfirmButton: i18n.t("comment.deleteConfirmButton"),
|
|
1181
|
+
cancelButton: i18n.t("common.cancel")
|
|
1164
1182
|
} : void 0,
|
|
1165
1183
|
[i18n, formatRelativeTime]
|
|
1166
1184
|
);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xhub-short/sdk",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "0.1.0-beta.
|
|
4
|
+
"version": "0.1.0-beta.9",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"dist"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@xhub-short/adapters": "0.1.0-beta.
|
|
24
|
-
"@xhub-short/contracts": "0.1.0-beta.
|
|
25
|
-
"@xhub-short/core": "0.1.0-beta.
|
|
26
|
-
"@xhub-short/ui": "0.1.0-beta.
|
|
23
|
+
"@xhub-short/adapters": "0.1.0-beta.9",
|
|
24
|
+
"@xhub-short/contracts": "0.1.0-beta.9",
|
|
25
|
+
"@xhub-short/core": "0.1.0-beta.9",
|
|
26
|
+
"@xhub-short/ui": "0.1.0-beta.9"
|
|
27
27
|
},
|
|
28
28
|
"optionalDependencies": {
|
|
29
|
-
"@xhub-short/bridge": "0.0.1-beta.
|
|
29
|
+
"@xhub-short/bridge": "0.0.1-beta.9"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": "^19.0.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"typescript": "^5.7.0",
|
|
44
44
|
"vitest": "^2.1.0",
|
|
45
45
|
"@xhub-short/tsconfig": "0.0.0",
|
|
46
|
-
"@xhub-short/vitest-config": "0.0.1-beta.
|
|
46
|
+
"@xhub-short/vitest-config": "0.0.1-beta.8"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsup",
|