@deot/docs-locale 1.1.2 → 1.1.4
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.cjs +41 -27
- package/dist/index.d.ts +43 -28
- package/dist/index.js +41 -27
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -16,22 +16,29 @@ var enUS = {
|
|
|
16
16
|
previewUrlUnsupported: "Only .vue, page.json and *.page.json resources at HTTP(S) or relative URLs are supported",
|
|
17
17
|
yes: "Yes"
|
|
18
18
|
},
|
|
19
|
-
|
|
20
|
-
title: "
|
|
21
|
-
description: "
|
|
22
|
-
importLabel: "Existing
|
|
23
|
-
parseHint: "Paste a
|
|
19
|
+
rawEditor: {
|
|
20
|
+
title: "Raw editor",
|
|
21
|
+
description: "Edit JSON and generate a link with a raw parameter.",
|
|
22
|
+
importLabel: "Existing link",
|
|
23
|
+
parseHint: "Paste a link with a raw or url parameter",
|
|
24
24
|
parse: "Parse link",
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
modulesHint: "JSON object mapping module names to ESM URLs; overrides imports in this preview.",
|
|
28
|
-
playgroundHint: "JSON object supporting local, styleless, views, viewport, previewInset, expandable, previewScroller and title.",
|
|
29
|
-
language: "lang · Preview language",
|
|
30
|
-
defaultLanguage: "Site default language",
|
|
25
|
+
target: "Target URL",
|
|
26
|
+
json: "JSON content",
|
|
31
27
|
link: "Generated link",
|
|
32
28
|
copy: "Copy link",
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
open: "Open link",
|
|
30
|
+
invalid: "Invalid input: {message}"
|
|
31
|
+
},
|
|
32
|
+
markdownEditor: {
|
|
33
|
+
title: "Markdown editor",
|
|
34
|
+
source: "Markdown source",
|
|
35
|
+
open: "Open",
|
|
36
|
+
copy: "Copy",
|
|
37
|
+
pdf: "Export PDF",
|
|
38
|
+
reset: "Reset",
|
|
39
|
+
sync: "Sync scroll",
|
|
40
|
+
resize: "Resize source and preview panes",
|
|
41
|
+
confirmReset: "Restore the initial content? Your changes will be overwritten."
|
|
35
42
|
},
|
|
36
43
|
footer: {
|
|
37
44
|
resources: "Resources",
|
|
@@ -477,22 +484,29 @@ var zhCN = {
|
|
|
477
484
|
previewUrlUnsupported: "仅支持 HTTP(S) 或相对地址的 .vue、page.json 和 *.page.json 资源",
|
|
478
485
|
yes: "是"
|
|
479
486
|
},
|
|
480
|
-
|
|
481
|
-
title: "
|
|
482
|
-
description: "
|
|
483
|
-
importLabel: "
|
|
484
|
-
parseHint: "
|
|
487
|
+
rawEditor: {
|
|
488
|
+
title: "Raw 编辑器",
|
|
489
|
+
description: "编辑 JSON,生成带 raw 参数的链接。",
|
|
490
|
+
importLabel: "已有链接",
|
|
491
|
+
parseHint: "粘贴带 raw 或 url 参数的链接",
|
|
485
492
|
parse: "解析链接",
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
playgroundHint: "JSON 对象;支持 local、styleless、views、viewport、previewInset、expandable、previewScroller、title。",
|
|
490
|
-
language: "lang · 预览语言",
|
|
491
|
-
defaultLanguage: "站点默认语言",
|
|
492
|
-
link: "实时生成的链接",
|
|
493
|
+
target: "目标地址",
|
|
494
|
+
json: "JSON 内容",
|
|
495
|
+
link: "生成的链接",
|
|
493
496
|
copy: "复制链接",
|
|
494
|
-
|
|
495
|
-
|
|
497
|
+
open: "打开链接",
|
|
498
|
+
invalid: "输入无效:{message}"
|
|
499
|
+
},
|
|
500
|
+
markdownEditor: {
|
|
501
|
+
title: "Markdown 编辑器",
|
|
502
|
+
source: "Markdown 原文",
|
|
503
|
+
open: "打开",
|
|
504
|
+
copy: "复制",
|
|
505
|
+
pdf: "导出 PDF",
|
|
506
|
+
reset: "重置",
|
|
507
|
+
sync: "同步滚动",
|
|
508
|
+
resize: "调整原文和预览宽度",
|
|
509
|
+
confirmReset: "确定恢复初始内容?当前修改将被覆盖。"
|
|
496
510
|
},
|
|
497
511
|
footer: {
|
|
498
512
|
resources: "资源",
|
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,8 @@ export declare interface ClientLocaleMessages {
|
|
|
18
18
|
search: Record<string, string>;
|
|
19
19
|
database: Record<string, string>;
|
|
20
20
|
playgroundResource: Record<string, string>;
|
|
21
|
-
|
|
21
|
+
rawEditor: Record<string, string>;
|
|
22
|
+
markdownEditor: Record<string, string>;
|
|
22
23
|
paging: Record<string, string>;
|
|
23
24
|
}
|
|
24
25
|
|
|
@@ -54,22 +55,29 @@ export declare const enUS: {
|
|
|
54
55
|
readonly previewUrlUnsupported: "Only .vue, page.json and *.page.json resources at HTTP(S) or relative URLs are supported";
|
|
55
56
|
readonly yes: "Yes";
|
|
56
57
|
};
|
|
57
|
-
readonly
|
|
58
|
-
readonly title: "
|
|
59
|
-
readonly description: "
|
|
60
|
-
readonly importLabel: "Existing
|
|
61
|
-
readonly parseHint: "Paste a
|
|
58
|
+
readonly rawEditor: {
|
|
59
|
+
readonly title: "Raw editor";
|
|
60
|
+
readonly description: "Edit JSON and generate a link with a raw parameter.";
|
|
61
|
+
readonly importLabel: "Existing link";
|
|
62
|
+
readonly parseHint: "Paste a link with a raw or url parameter";
|
|
62
63
|
readonly parse: "Parse link";
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
65
|
-
readonly modulesHint: "JSON object mapping module names to ESM URLs; overrides imports in this preview.";
|
|
66
|
-
readonly playgroundHint: "JSON object supporting local, styleless, views, viewport, previewInset, expandable, previewScroller and title.";
|
|
67
|
-
readonly language: "lang · Preview language";
|
|
68
|
-
readonly defaultLanguage: "Site default language";
|
|
64
|
+
readonly target: "Target URL";
|
|
65
|
+
readonly json: "JSON content";
|
|
69
66
|
readonly link: "Generated link";
|
|
70
67
|
readonly copy: "Copy link";
|
|
71
|
-
readonly
|
|
72
|
-
readonly
|
|
68
|
+
readonly open: "Open link";
|
|
69
|
+
readonly invalid: "Invalid input: {message}";
|
|
70
|
+
};
|
|
71
|
+
readonly markdownEditor: {
|
|
72
|
+
readonly title: "Markdown editor";
|
|
73
|
+
readonly source: "Markdown source";
|
|
74
|
+
readonly open: "Open";
|
|
75
|
+
readonly copy: "Copy";
|
|
76
|
+
readonly pdf: "Export PDF";
|
|
77
|
+
readonly reset: "Reset";
|
|
78
|
+
readonly sync: "Sync scroll";
|
|
79
|
+
readonly resize: "Resize source and preview panes";
|
|
80
|
+
readonly confirmReset: "Restore the initial content? Your changes will be overwritten.";
|
|
73
81
|
};
|
|
74
82
|
readonly footer: {
|
|
75
83
|
readonly resources: "Resources";
|
|
@@ -566,22 +574,29 @@ export declare const zhCN: {
|
|
|
566
574
|
readonly previewUrlUnsupported: "仅支持 HTTP(S) 或相对地址的 .vue、page.json 和 *.page.json 资源";
|
|
567
575
|
readonly yes: "是";
|
|
568
576
|
};
|
|
569
|
-
readonly
|
|
570
|
-
readonly title: "
|
|
571
|
-
readonly description: "
|
|
572
|
-
readonly importLabel: "
|
|
573
|
-
readonly parseHint: "
|
|
577
|
+
readonly rawEditor: {
|
|
578
|
+
readonly title: "Raw 编辑器";
|
|
579
|
+
readonly description: "编辑 JSON,生成带 raw 参数的链接。";
|
|
580
|
+
readonly importLabel: "已有链接";
|
|
581
|
+
readonly parseHint: "粘贴带 raw 或 url 参数的链接";
|
|
574
582
|
readonly parse: "解析链接";
|
|
575
|
-
readonly
|
|
576
|
-
readonly
|
|
577
|
-
readonly
|
|
578
|
-
readonly playgroundHint: "JSON 对象;支持 local、styleless、views、viewport、previewInset、expandable、previewScroller、title。";
|
|
579
|
-
readonly language: "lang · 预览语言";
|
|
580
|
-
readonly defaultLanguage: "站点默认语言";
|
|
581
|
-
readonly link: "实时生成的链接";
|
|
583
|
+
readonly target: "目标地址";
|
|
584
|
+
readonly json: "JSON 内容";
|
|
585
|
+
readonly link: "生成的链接";
|
|
582
586
|
readonly copy: "复制链接";
|
|
583
|
-
readonly
|
|
584
|
-
readonly
|
|
587
|
+
readonly open: "打开链接";
|
|
588
|
+
readonly invalid: "输入无效:{message}";
|
|
589
|
+
};
|
|
590
|
+
readonly markdownEditor: {
|
|
591
|
+
readonly title: "Markdown 编辑器";
|
|
592
|
+
readonly source: "Markdown 原文";
|
|
593
|
+
readonly open: "打开";
|
|
594
|
+
readonly copy: "复制";
|
|
595
|
+
readonly pdf: "导出 PDF";
|
|
596
|
+
readonly reset: "重置";
|
|
597
|
+
readonly sync: "同步滚动";
|
|
598
|
+
readonly resize: "调整原文和预览宽度";
|
|
599
|
+
readonly confirmReset: "确定恢复初始内容?当前修改将被覆盖。";
|
|
585
600
|
};
|
|
586
601
|
readonly footer: {
|
|
587
602
|
readonly resources: "资源";
|
package/dist/index.js
CHANGED
|
@@ -15,22 +15,29 @@ var enUS = {
|
|
|
15
15
|
previewUrlUnsupported: "Only .vue, page.json and *.page.json resources at HTTP(S) or relative URLs are supported",
|
|
16
16
|
yes: "Yes"
|
|
17
17
|
},
|
|
18
|
-
|
|
19
|
-
title: "
|
|
20
|
-
description: "
|
|
21
|
-
importLabel: "Existing
|
|
22
|
-
parseHint: "Paste a
|
|
18
|
+
rawEditor: {
|
|
19
|
+
title: "Raw editor",
|
|
20
|
+
description: "Edit JSON and generate a link with a raw parameter.",
|
|
21
|
+
importLabel: "Existing link",
|
|
22
|
+
parseHint: "Paste a link with a raw or url parameter",
|
|
23
23
|
parse: "Parse link",
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
modulesHint: "JSON object mapping module names to ESM URLs; overrides imports in this preview.",
|
|
27
|
-
playgroundHint: "JSON object supporting local, styleless, views, viewport, previewInset, expandable, previewScroller and title.",
|
|
28
|
-
language: "lang · Preview language",
|
|
29
|
-
defaultLanguage: "Site default language",
|
|
24
|
+
target: "Target URL",
|
|
25
|
+
json: "JSON content",
|
|
30
26
|
link: "Generated link",
|
|
31
27
|
copy: "Copy link",
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
open: "Open link",
|
|
29
|
+
invalid: "Invalid input: {message}"
|
|
30
|
+
},
|
|
31
|
+
markdownEditor: {
|
|
32
|
+
title: "Markdown editor",
|
|
33
|
+
source: "Markdown source",
|
|
34
|
+
open: "Open",
|
|
35
|
+
copy: "Copy",
|
|
36
|
+
pdf: "Export PDF",
|
|
37
|
+
reset: "Reset",
|
|
38
|
+
sync: "Sync scroll",
|
|
39
|
+
resize: "Resize source and preview panes",
|
|
40
|
+
confirmReset: "Restore the initial content? Your changes will be overwritten."
|
|
34
41
|
},
|
|
35
42
|
footer: {
|
|
36
43
|
resources: "Resources",
|
|
@@ -476,22 +483,29 @@ var zhCN = {
|
|
|
476
483
|
previewUrlUnsupported: "仅支持 HTTP(S) 或相对地址的 .vue、page.json 和 *.page.json 资源",
|
|
477
484
|
yes: "是"
|
|
478
485
|
},
|
|
479
|
-
|
|
480
|
-
title: "
|
|
481
|
-
description: "
|
|
482
|
-
importLabel: "
|
|
483
|
-
parseHint: "
|
|
486
|
+
rawEditor: {
|
|
487
|
+
title: "Raw 编辑器",
|
|
488
|
+
description: "编辑 JSON,生成带 raw 参数的链接。",
|
|
489
|
+
importLabel: "已有链接",
|
|
490
|
+
parseHint: "粘贴带 raw 或 url 参数的链接",
|
|
484
491
|
parse: "解析链接",
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
playgroundHint: "JSON 对象;支持 local、styleless、views、viewport、previewInset、expandable、previewScroller、title。",
|
|
489
|
-
language: "lang · 预览语言",
|
|
490
|
-
defaultLanguage: "站点默认语言",
|
|
491
|
-
link: "实时生成的链接",
|
|
492
|
+
target: "目标地址",
|
|
493
|
+
json: "JSON 内容",
|
|
494
|
+
link: "生成的链接",
|
|
492
495
|
copy: "复制链接",
|
|
493
|
-
|
|
494
|
-
|
|
496
|
+
open: "打开链接",
|
|
497
|
+
invalid: "输入无效:{message}"
|
|
498
|
+
},
|
|
499
|
+
markdownEditor: {
|
|
500
|
+
title: "Markdown 编辑器",
|
|
501
|
+
source: "Markdown 原文",
|
|
502
|
+
open: "打开",
|
|
503
|
+
copy: "复制",
|
|
504
|
+
pdf: "导出 PDF",
|
|
505
|
+
reset: "重置",
|
|
506
|
+
sync: "同步滚动",
|
|
507
|
+
resize: "调整原文和预览宽度",
|
|
508
|
+
confirmReset: "确定恢复初始内容?当前修改将被覆盖。"
|
|
495
509
|
},
|
|
496
510
|
footer: {
|
|
497
511
|
resources: "资源",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deot/docs-locale",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"vue": "^3.5.39"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"vue": "^3.5.
|
|
18
|
+
"vue": "^3.5.43"
|
|
19
19
|
}
|
|
20
20
|
}
|