@deot/docs-locale 1.0.8 → 1.1.1
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 -10
- package/dist/index.d.ts +34 -0
- package/dist/index.js +42 -10
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -43,6 +43,16 @@ var enUS = {
|
|
|
43
43
|
switchToDark: "Switch to dark theme",
|
|
44
44
|
switchToLight: "Switch to light theme"
|
|
45
45
|
},
|
|
46
|
+
page: {
|
|
47
|
+
navigation: "Page navigation",
|
|
48
|
+
previous: "Previous page: {label}",
|
|
49
|
+
next: "Next page: {label}",
|
|
50
|
+
outline: "On this page",
|
|
51
|
+
width: "Content width",
|
|
52
|
+
widthRegular: "Regular",
|
|
53
|
+
widthWide: "Wide",
|
|
54
|
+
widthFull: "Full"
|
|
55
|
+
},
|
|
46
56
|
home: {},
|
|
47
57
|
demos: {
|
|
48
58
|
title: "Renderer demos",
|
|
@@ -175,11 +185,14 @@ var enUS = {
|
|
|
175
185
|
max: "Max"
|
|
176
186
|
}
|
|
177
187
|
},
|
|
178
|
-
markdown: {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
188
|
+
markdown: {
|
|
189
|
+
indicator: {
|
|
190
|
+
label: "Document indicator",
|
|
191
|
+
untitled: "Untitled section",
|
|
192
|
+
document: "Document"
|
|
193
|
+
},
|
|
194
|
+
tabs: { label: "Content tabs" }
|
|
195
|
+
},
|
|
183
196
|
playground: {
|
|
184
197
|
common: {
|
|
185
198
|
copy: "Copy",
|
|
@@ -190,6 +203,9 @@ var enUS = {
|
|
|
190
203
|
runtime: {
|
|
191
204
|
preview: "Runtime preview",
|
|
192
205
|
files: "File preview",
|
|
206
|
+
previewLabel: "Preview",
|
|
207
|
+
codeLabel: "Code",
|
|
208
|
+
views: "Preview views",
|
|
193
209
|
auto: "Auto",
|
|
194
210
|
viewport: "Viewport: {value}",
|
|
195
211
|
viewportMenu: "Runtime viewport",
|
|
@@ -467,6 +483,16 @@ var zhCN = {
|
|
|
467
483
|
switchToDark: "切换至深色主题",
|
|
468
484
|
switchToLight: "切换至浅色主题"
|
|
469
485
|
},
|
|
486
|
+
page: {
|
|
487
|
+
navigation: "文档翻页",
|
|
488
|
+
previous: "上一页:{label}",
|
|
489
|
+
next: "下一页:{label}",
|
|
490
|
+
outline: "大纲",
|
|
491
|
+
width: "内容宽度",
|
|
492
|
+
widthRegular: "常规",
|
|
493
|
+
widthWide: "超宽",
|
|
494
|
+
widthFull: "全宽"
|
|
495
|
+
},
|
|
470
496
|
home: {},
|
|
471
497
|
demos: {
|
|
472
498
|
title: "Renderer 演示",
|
|
@@ -599,11 +625,14 @@ var zhCN = {
|
|
|
599
625
|
max: "最大值"
|
|
600
626
|
}
|
|
601
627
|
},
|
|
602
|
-
markdown: {
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
628
|
+
markdown: {
|
|
629
|
+
indicator: {
|
|
630
|
+
label: "文档指示器",
|
|
631
|
+
untitled: "未命名章节",
|
|
632
|
+
document: "文档"
|
|
633
|
+
},
|
|
634
|
+
tabs: { label: "内容分栏" }
|
|
635
|
+
},
|
|
607
636
|
playground: {
|
|
608
637
|
common: {
|
|
609
638
|
copy: "复制",
|
|
@@ -614,6 +643,9 @@ var zhCN = {
|
|
|
614
643
|
runtime: {
|
|
615
644
|
preview: "运行时预览",
|
|
616
645
|
files: "文件预览",
|
|
646
|
+
previewLabel: "预览",
|
|
647
|
+
codeLabel: "代码",
|
|
648
|
+
views: "预览视图",
|
|
617
649
|
auto: "自适应",
|
|
618
650
|
viewport: "视口:{value}",
|
|
619
651
|
viewportMenu: "运行时视口",
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare interface ClientLocaleMessages {
|
|
|
12
12
|
common: Record<string, string>;
|
|
13
13
|
footer: Record<string, string>;
|
|
14
14
|
header: Record<string, string>;
|
|
15
|
+
page: Record<string, string>;
|
|
15
16
|
home: Record<string, string>;
|
|
16
17
|
demos: Record<string, string>;
|
|
17
18
|
search: Record<string, string>;
|
|
@@ -79,6 +80,16 @@ export declare const enUS: {
|
|
|
79
80
|
readonly switchToDark: "Switch to dark theme";
|
|
80
81
|
readonly switchToLight: "Switch to light theme";
|
|
81
82
|
};
|
|
83
|
+
readonly page: {
|
|
84
|
+
readonly navigation: "Page navigation";
|
|
85
|
+
readonly previous: "Previous page: {label}";
|
|
86
|
+
readonly next: "Next page: {label}";
|
|
87
|
+
readonly outline: "On this page";
|
|
88
|
+
readonly width: "Content width";
|
|
89
|
+
readonly widthRegular: "Regular";
|
|
90
|
+
readonly widthWide: "Wide";
|
|
91
|
+
readonly widthFull: "Full";
|
|
92
|
+
};
|
|
82
93
|
readonly home: {};
|
|
83
94
|
readonly demos: {
|
|
84
95
|
readonly title: "Renderer demos";
|
|
@@ -217,6 +228,9 @@ export declare const enUS: {
|
|
|
217
228
|
readonly untitled: "Untitled section";
|
|
218
229
|
readonly document: "Document";
|
|
219
230
|
};
|
|
231
|
+
readonly tabs: {
|
|
232
|
+
readonly label: "Content tabs";
|
|
233
|
+
};
|
|
220
234
|
};
|
|
221
235
|
readonly playground: {
|
|
222
236
|
readonly common: {
|
|
@@ -228,6 +242,9 @@ export declare const enUS: {
|
|
|
228
242
|
readonly runtime: {
|
|
229
243
|
readonly preview: "Runtime preview";
|
|
230
244
|
readonly files: "File preview";
|
|
245
|
+
readonly previewLabel: "Preview";
|
|
246
|
+
readonly codeLabel: "Code";
|
|
247
|
+
readonly views: "Preview views";
|
|
231
248
|
readonly auto: "Auto";
|
|
232
249
|
readonly viewport: "Viewport: {value}";
|
|
233
250
|
readonly viewportMenu: "Runtime viewport";
|
|
@@ -482,6 +499,7 @@ export declare type LocaleNamespace = 'client' | 'markdown' | 'playground' | 're
|
|
|
482
499
|
|
|
483
500
|
export declare interface MarkdownLocaleMessages {
|
|
484
501
|
indicator: Record<string, string>;
|
|
502
|
+
tabs: Record<string, string>;
|
|
485
503
|
}
|
|
486
504
|
|
|
487
505
|
export declare interface PlaygroundLocaleMessages {
|
|
@@ -553,6 +571,16 @@ export declare const zhCN: {
|
|
|
553
571
|
readonly switchToDark: "切换至深色主题";
|
|
554
572
|
readonly switchToLight: "切换至浅色主题";
|
|
555
573
|
};
|
|
574
|
+
readonly page: {
|
|
575
|
+
readonly navigation: "文档翻页";
|
|
576
|
+
readonly previous: "上一页:{label}";
|
|
577
|
+
readonly next: "下一页:{label}";
|
|
578
|
+
readonly outline: "大纲";
|
|
579
|
+
readonly width: "内容宽度";
|
|
580
|
+
readonly widthRegular: "常规";
|
|
581
|
+
readonly widthWide: "超宽";
|
|
582
|
+
readonly widthFull: "全宽";
|
|
583
|
+
};
|
|
556
584
|
readonly home: {};
|
|
557
585
|
readonly demos: {
|
|
558
586
|
readonly title: "Renderer 演示";
|
|
@@ -691,6 +719,9 @@ export declare const zhCN: {
|
|
|
691
719
|
readonly untitled: "未命名章节";
|
|
692
720
|
readonly document: "文档";
|
|
693
721
|
};
|
|
722
|
+
readonly tabs: {
|
|
723
|
+
readonly label: "内容分栏";
|
|
724
|
+
};
|
|
694
725
|
};
|
|
695
726
|
readonly playground: {
|
|
696
727
|
readonly common: {
|
|
@@ -702,6 +733,9 @@ export declare const zhCN: {
|
|
|
702
733
|
readonly runtime: {
|
|
703
734
|
readonly preview: "运行时预览";
|
|
704
735
|
readonly files: "文件预览";
|
|
736
|
+
readonly previewLabel: "预览";
|
|
737
|
+
readonly codeLabel: "代码";
|
|
738
|
+
readonly views: "预览视图";
|
|
705
739
|
readonly auto: "自适应";
|
|
706
740
|
readonly viewport: "视口:{value}";
|
|
707
741
|
readonly viewportMenu: "运行时视口";
|
package/dist/index.js
CHANGED
|
@@ -42,6 +42,16 @@ var enUS = {
|
|
|
42
42
|
switchToDark: "Switch to dark theme",
|
|
43
43
|
switchToLight: "Switch to light theme"
|
|
44
44
|
},
|
|
45
|
+
page: {
|
|
46
|
+
navigation: "Page navigation",
|
|
47
|
+
previous: "Previous page: {label}",
|
|
48
|
+
next: "Next page: {label}",
|
|
49
|
+
outline: "On this page",
|
|
50
|
+
width: "Content width",
|
|
51
|
+
widthRegular: "Regular",
|
|
52
|
+
widthWide: "Wide",
|
|
53
|
+
widthFull: "Full"
|
|
54
|
+
},
|
|
45
55
|
home: {},
|
|
46
56
|
demos: {
|
|
47
57
|
title: "Renderer demos",
|
|
@@ -174,11 +184,14 @@ var enUS = {
|
|
|
174
184
|
max: "Max"
|
|
175
185
|
}
|
|
176
186
|
},
|
|
177
|
-
markdown: {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
187
|
+
markdown: {
|
|
188
|
+
indicator: {
|
|
189
|
+
label: "Document indicator",
|
|
190
|
+
untitled: "Untitled section",
|
|
191
|
+
document: "Document"
|
|
192
|
+
},
|
|
193
|
+
tabs: { label: "Content tabs" }
|
|
194
|
+
},
|
|
182
195
|
playground: {
|
|
183
196
|
common: {
|
|
184
197
|
copy: "Copy",
|
|
@@ -189,6 +202,9 @@ var enUS = {
|
|
|
189
202
|
runtime: {
|
|
190
203
|
preview: "Runtime preview",
|
|
191
204
|
files: "File preview",
|
|
205
|
+
previewLabel: "Preview",
|
|
206
|
+
codeLabel: "Code",
|
|
207
|
+
views: "Preview views",
|
|
192
208
|
auto: "Auto",
|
|
193
209
|
viewport: "Viewport: {value}",
|
|
194
210
|
viewportMenu: "Runtime viewport",
|
|
@@ -466,6 +482,16 @@ var zhCN = {
|
|
|
466
482
|
switchToDark: "切换至深色主题",
|
|
467
483
|
switchToLight: "切换至浅色主题"
|
|
468
484
|
},
|
|
485
|
+
page: {
|
|
486
|
+
navigation: "文档翻页",
|
|
487
|
+
previous: "上一页:{label}",
|
|
488
|
+
next: "下一页:{label}",
|
|
489
|
+
outline: "大纲",
|
|
490
|
+
width: "内容宽度",
|
|
491
|
+
widthRegular: "常规",
|
|
492
|
+
widthWide: "超宽",
|
|
493
|
+
widthFull: "全宽"
|
|
494
|
+
},
|
|
469
495
|
home: {},
|
|
470
496
|
demos: {
|
|
471
497
|
title: "Renderer 演示",
|
|
@@ -598,11 +624,14 @@ var zhCN = {
|
|
|
598
624
|
max: "最大值"
|
|
599
625
|
}
|
|
600
626
|
},
|
|
601
|
-
markdown: {
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
627
|
+
markdown: {
|
|
628
|
+
indicator: {
|
|
629
|
+
label: "文档指示器",
|
|
630
|
+
untitled: "未命名章节",
|
|
631
|
+
document: "文档"
|
|
632
|
+
},
|
|
633
|
+
tabs: { label: "内容分栏" }
|
|
634
|
+
},
|
|
606
635
|
playground: {
|
|
607
636
|
common: {
|
|
608
637
|
copy: "复制",
|
|
@@ -613,6 +642,9 @@ var zhCN = {
|
|
|
613
642
|
runtime: {
|
|
614
643
|
preview: "运行时预览",
|
|
615
644
|
files: "文件预览",
|
|
645
|
+
previewLabel: "预览",
|
|
646
|
+
codeLabel: "代码",
|
|
647
|
+
views: "预览视图",
|
|
616
648
|
auto: "自适应",
|
|
617
649
|
viewport: "视口:{value}",
|
|
618
650
|
viewportMenu: "运行时视口",
|