@deot/docs-locale 1.1.1 → 1.1.2
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 +42 -0
- package/dist/index.d.ts +43 -0
- package/dist/index.js +42 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -10,8 +10,29 @@ var enUS = {
|
|
|
10
10
|
loading: "Loading…",
|
|
11
11
|
poweredBy: "Powered by @deot/docs",
|
|
12
12
|
resourceRequestFailed: "Resource request failed",
|
|
13
|
+
previewUrlRequired: "The url parameter must specify a single resource",
|
|
14
|
+
previewStyleFailed: "Failed to load CSS: {url}",
|
|
15
|
+
previewConfigFailed: "Invalid preview configuration: {message}",
|
|
16
|
+
previewUrlUnsupported: "Only .vue, page.json and *.page.json resources at HTTP(S) or relative URLs are supported",
|
|
13
17
|
yes: "Yes"
|
|
14
18
|
},
|
|
19
|
+
previewConfigGenerate: {
|
|
20
|
+
title: "Preview link generator",
|
|
21
|
+
description: "Configure a remote Vue or page.json resource and generate a shareable preview link.",
|
|
22
|
+
importLabel: "Existing preview link",
|
|
23
|
+
parseHint: "Paste a /__docs/preview?raw=... or ?url=... link",
|
|
24
|
+
parse: "Parse link",
|
|
25
|
+
urlHint: "Remote .vue, page.json or *.page.json URL",
|
|
26
|
+
stylesHint: "JSON array of CSS URLs in order; HTTP(S) URLs and site root paths are supported.",
|
|
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",
|
|
31
|
+
link: "Generated link",
|
|
32
|
+
copy: "Copy link",
|
|
33
|
+
preview: "Open preview",
|
|
34
|
+
configuration: "Show decoded configuration"
|
|
35
|
+
},
|
|
15
36
|
footer: {
|
|
16
37
|
resources: "Resources",
|
|
17
38
|
vueComponents: "@deot/vc | Vue component library",
|
|
@@ -450,8 +471,29 @@ var zhCN = {
|
|
|
450
471
|
loading: "加载中…",
|
|
451
472
|
poweredBy: "由 @deot/docs 提供支持",
|
|
452
473
|
resourceRequestFailed: "资源请求失败",
|
|
474
|
+
previewUrlRequired: "url 参数必须指定单个资源地址",
|
|
475
|
+
previewStyleFailed: "CSS 加载失败:{url}",
|
|
476
|
+
previewConfigFailed: "预览配置无效:{message}",
|
|
477
|
+
previewUrlUnsupported: "仅支持 HTTP(S) 或相对地址的 .vue、page.json 和 *.page.json 资源",
|
|
453
478
|
yes: "是"
|
|
454
479
|
},
|
|
480
|
+
previewConfigGenerate: {
|
|
481
|
+
title: "预览链接生成器",
|
|
482
|
+
description: "配置远程 Vue 或 page.json,实时生成可分享的预览链接。",
|
|
483
|
+
importLabel: "已有预览链接",
|
|
484
|
+
parseHint: "粘贴 /__docs/preview?raw=... 或 ?url=... 链接",
|
|
485
|
+
parse: "解析链接",
|
|
486
|
+
urlHint: "远程 .vue、page.json 或 *.page.json 地址",
|
|
487
|
+
stylesHint: "JSON 数组;按顺序填写 CSS URL,支持 HTTP(S) 和站点根路径。",
|
|
488
|
+
modulesHint: "JSON 对象;模块名 → ESM URL,覆盖当前预览的 import 映射。",
|
|
489
|
+
playgroundHint: "JSON 对象;支持 local、styleless、views、viewport、previewInset、expandable、previewScroller、title。",
|
|
490
|
+
language: "lang · 预览语言",
|
|
491
|
+
defaultLanguage: "站点默认语言",
|
|
492
|
+
link: "实时生成的链接",
|
|
493
|
+
copy: "复制链接",
|
|
494
|
+
preview: "打开预览",
|
|
495
|
+
configuration: "查看编码前的配置"
|
|
496
|
+
},
|
|
455
497
|
footer: {
|
|
456
498
|
resources: "资源",
|
|
457
499
|
vueComponents: "@deot/vc | Vue组件库",
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare interface ClientLocaleMessages {
|
|
|
18
18
|
search: Record<string, string>;
|
|
19
19
|
database: Record<string, string>;
|
|
20
20
|
playgroundResource: Record<string, string>;
|
|
21
|
+
previewConfigGenerate: Record<string, string>;
|
|
21
22
|
paging: Record<string, string>;
|
|
22
23
|
}
|
|
23
24
|
|
|
@@ -47,8 +48,29 @@ export declare const enUS: {
|
|
|
47
48
|
readonly loading: "Loading…";
|
|
48
49
|
readonly poweredBy: "Powered by @deot/docs";
|
|
49
50
|
readonly resourceRequestFailed: "Resource request failed";
|
|
51
|
+
readonly previewUrlRequired: "The url parameter must specify a single resource";
|
|
52
|
+
readonly previewStyleFailed: "Failed to load CSS: {url}";
|
|
53
|
+
readonly previewConfigFailed: "Invalid preview configuration: {message}";
|
|
54
|
+
readonly previewUrlUnsupported: "Only .vue, page.json and *.page.json resources at HTTP(S) or relative URLs are supported";
|
|
50
55
|
readonly yes: "Yes";
|
|
51
56
|
};
|
|
57
|
+
readonly previewConfigGenerate: {
|
|
58
|
+
readonly title: "Preview link generator";
|
|
59
|
+
readonly description: "Configure a remote Vue or page.json resource and generate a shareable preview link.";
|
|
60
|
+
readonly importLabel: "Existing preview link";
|
|
61
|
+
readonly parseHint: "Paste a /__docs/preview?raw=... or ?url=... link";
|
|
62
|
+
readonly parse: "Parse link";
|
|
63
|
+
readonly urlHint: "Remote .vue, page.json or *.page.json URL";
|
|
64
|
+
readonly stylesHint: "JSON array of CSS URLs in order; HTTP(S) URLs and site root paths are supported.";
|
|
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";
|
|
69
|
+
readonly link: "Generated link";
|
|
70
|
+
readonly copy: "Copy link";
|
|
71
|
+
readonly preview: "Open preview";
|
|
72
|
+
readonly configuration: "Show decoded configuration";
|
|
73
|
+
};
|
|
52
74
|
readonly footer: {
|
|
53
75
|
readonly resources: "Resources";
|
|
54
76
|
readonly vueComponents: "@deot/vc | Vue component library";
|
|
@@ -538,8 +560,29 @@ export declare const zhCN: {
|
|
|
538
560
|
readonly loading: "加载中…";
|
|
539
561
|
readonly poweredBy: "由 @deot/docs 提供支持";
|
|
540
562
|
readonly resourceRequestFailed: "资源请求失败";
|
|
563
|
+
readonly previewUrlRequired: "url 参数必须指定单个资源地址";
|
|
564
|
+
readonly previewStyleFailed: "CSS 加载失败:{url}";
|
|
565
|
+
readonly previewConfigFailed: "预览配置无效:{message}";
|
|
566
|
+
readonly previewUrlUnsupported: "仅支持 HTTP(S) 或相对地址的 .vue、page.json 和 *.page.json 资源";
|
|
541
567
|
readonly yes: "是";
|
|
542
568
|
};
|
|
569
|
+
readonly previewConfigGenerate: {
|
|
570
|
+
readonly title: "预览链接生成器";
|
|
571
|
+
readonly description: "配置远程 Vue 或 page.json,实时生成可分享的预览链接。";
|
|
572
|
+
readonly importLabel: "已有预览链接";
|
|
573
|
+
readonly parseHint: "粘贴 /__docs/preview?raw=... 或 ?url=... 链接";
|
|
574
|
+
readonly parse: "解析链接";
|
|
575
|
+
readonly urlHint: "远程 .vue、page.json 或 *.page.json 地址";
|
|
576
|
+
readonly stylesHint: "JSON 数组;按顺序填写 CSS URL,支持 HTTP(S) 和站点根路径。";
|
|
577
|
+
readonly modulesHint: "JSON 对象;模块名 → ESM URL,覆盖当前预览的 import 映射。";
|
|
578
|
+
readonly playgroundHint: "JSON 对象;支持 local、styleless、views、viewport、previewInset、expandable、previewScroller、title。";
|
|
579
|
+
readonly language: "lang · 预览语言";
|
|
580
|
+
readonly defaultLanguage: "站点默认语言";
|
|
581
|
+
readonly link: "实时生成的链接";
|
|
582
|
+
readonly copy: "复制链接";
|
|
583
|
+
readonly preview: "打开预览";
|
|
584
|
+
readonly configuration: "查看编码前的配置";
|
|
585
|
+
};
|
|
543
586
|
readonly footer: {
|
|
544
587
|
readonly resources: "资源";
|
|
545
588
|
readonly vueComponents: "@deot/vc | Vue组件库";
|
package/dist/index.js
CHANGED
|
@@ -9,8 +9,29 @@ var enUS = {
|
|
|
9
9
|
loading: "Loading…",
|
|
10
10
|
poweredBy: "Powered by @deot/docs",
|
|
11
11
|
resourceRequestFailed: "Resource request failed",
|
|
12
|
+
previewUrlRequired: "The url parameter must specify a single resource",
|
|
13
|
+
previewStyleFailed: "Failed to load CSS: {url}",
|
|
14
|
+
previewConfigFailed: "Invalid preview configuration: {message}",
|
|
15
|
+
previewUrlUnsupported: "Only .vue, page.json and *.page.json resources at HTTP(S) or relative URLs are supported",
|
|
12
16
|
yes: "Yes"
|
|
13
17
|
},
|
|
18
|
+
previewConfigGenerate: {
|
|
19
|
+
title: "Preview link generator",
|
|
20
|
+
description: "Configure a remote Vue or page.json resource and generate a shareable preview link.",
|
|
21
|
+
importLabel: "Existing preview link",
|
|
22
|
+
parseHint: "Paste a /__docs/preview?raw=... or ?url=... link",
|
|
23
|
+
parse: "Parse link",
|
|
24
|
+
urlHint: "Remote .vue, page.json or *.page.json URL",
|
|
25
|
+
stylesHint: "JSON array of CSS URLs in order; HTTP(S) URLs and site root paths are supported.",
|
|
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",
|
|
30
|
+
link: "Generated link",
|
|
31
|
+
copy: "Copy link",
|
|
32
|
+
preview: "Open preview",
|
|
33
|
+
configuration: "Show decoded configuration"
|
|
34
|
+
},
|
|
14
35
|
footer: {
|
|
15
36
|
resources: "Resources",
|
|
16
37
|
vueComponents: "@deot/vc | Vue component library",
|
|
@@ -449,8 +470,29 @@ var zhCN = {
|
|
|
449
470
|
loading: "加载中…",
|
|
450
471
|
poweredBy: "由 @deot/docs 提供支持",
|
|
451
472
|
resourceRequestFailed: "资源请求失败",
|
|
473
|
+
previewUrlRequired: "url 参数必须指定单个资源地址",
|
|
474
|
+
previewStyleFailed: "CSS 加载失败:{url}",
|
|
475
|
+
previewConfigFailed: "预览配置无效:{message}",
|
|
476
|
+
previewUrlUnsupported: "仅支持 HTTP(S) 或相对地址的 .vue、page.json 和 *.page.json 资源",
|
|
452
477
|
yes: "是"
|
|
453
478
|
},
|
|
479
|
+
previewConfigGenerate: {
|
|
480
|
+
title: "预览链接生成器",
|
|
481
|
+
description: "配置远程 Vue 或 page.json,实时生成可分享的预览链接。",
|
|
482
|
+
importLabel: "已有预览链接",
|
|
483
|
+
parseHint: "粘贴 /__docs/preview?raw=... 或 ?url=... 链接",
|
|
484
|
+
parse: "解析链接",
|
|
485
|
+
urlHint: "远程 .vue、page.json 或 *.page.json 地址",
|
|
486
|
+
stylesHint: "JSON 数组;按顺序填写 CSS URL,支持 HTTP(S) 和站点根路径。",
|
|
487
|
+
modulesHint: "JSON 对象;模块名 → ESM URL,覆盖当前预览的 import 映射。",
|
|
488
|
+
playgroundHint: "JSON 对象;支持 local、styleless、views、viewport、previewInset、expandable、previewScroller、title。",
|
|
489
|
+
language: "lang · 预览语言",
|
|
490
|
+
defaultLanguage: "站点默认语言",
|
|
491
|
+
link: "实时生成的链接",
|
|
492
|
+
copy: "复制链接",
|
|
493
|
+
preview: "打开预览",
|
|
494
|
+
configuration: "查看编码前的配置"
|
|
495
|
+
},
|
|
454
496
|
footer: {
|
|
455
497
|
resources: "资源",
|
|
456
498
|
vueComponents: "@deot/vc | Vue组件库",
|