@docx-editor.dev/i18n 2.29.0 → 2.31.0

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/zh-CN.mjs CHANGED
@@ -56,7 +56,12 @@ var zh_CN_default = {
56
56
  printNoViewer: "此浏览器无法从页面打印 PDF 文件。请选择“打开 PDF”,然后从 PDF 查看器打印。",
57
57
  printLoadFailed: "未能加载要打印的 PDF。请选择“打开 PDF”,然后从 PDF 查看器打印。",
58
58
  printRefused: "浏览器不允许从页面打印。请选择“打开 PDF”,然后从 PDF 查看器打印。",
59
- insertTextBox: "文本框"
59
+ insertTextBox: "文本框",
60
+ bookmark: "书签…",
61
+ bookmarkShortcut: "Ctrl+Shift+F5",
62
+ goToBookmark: "定位到书签…",
63
+ goToBookmarkShortcut: "Ctrl+G",
64
+ goToBookmarkShortcutApple: "Ctrl+Alt+G"
60
65
  },
61
66
  formattingBar: {
62
67
  groups: {
@@ -104,7 +109,8 @@ var zh_CN_default = {
104
109
  formatPainterShortcut: "格式刷 (Ctrl+Alt+C, Ctrl+Alt+V)",
105
110
  paragraphMarks: "显示段落标记",
106
111
  label: "格式设置控件",
107
- addComment: "添加批注"
112
+ addComment: "添加批注",
113
+ showBookmarks: "显示书签"
108
114
  },
109
115
  alignment: {
110
116
  alignLeft: "左对齐",
@@ -135,7 +141,9 @@ var zh_CN_default = {
135
141
  addSpaceBefore: "增加段前间距",
136
142
  removeSpaceAfter: "删除段后间距",
137
143
  removeSpaceBefore: "删除段前间距",
138
- options: "行距选项…"
144
+ options: "行距选项…",
145
+ exactlyPoints: "固定值 {value} 磅",
146
+ atLeastPoints: "最小值 {value} 磅"
139
147
  },
140
148
  styles: {
141
149
  selectAriaLabel: "选择段落样式",
@@ -259,6 +267,33 @@ var zh_CN_default = {
259
267
  applyToDocument: "整篇文档",
260
268
  applyToSection: "本节"
261
269
  },
270
+ watermark: {
271
+ title: "水印",
272
+ kind: "水印类型",
273
+ noWatermark: "无水印",
274
+ picture: "图片水印",
275
+ selectPicture: "选择图片…",
276
+ noPictureSelected: "(未选择图片)",
277
+ currentPicture: "(当前图片)",
278
+ pictureFailed: "无法读取图片。",
279
+ scale: "缩放",
280
+ auto: "自动",
281
+ washout: "冲蚀",
282
+ text: "文字水印",
283
+ textLabel: "文字",
284
+ preset: "预设",
285
+ custom: "自定义",
286
+ font: "字体",
287
+ size: "字号",
288
+ bold: "加粗",
289
+ italic: "倾斜",
290
+ transparency: "透明度",
291
+ color: "颜色",
292
+ layout: "版式",
293
+ horizontal: "水平",
294
+ diagonal: "斜式",
295
+ refused: "无法应用水印。"
296
+ },
262
297
  footnoteProperties: {
263
298
  title: "脚注和尾注属性",
264
299
  footnotes: "脚注",
@@ -345,6 +380,27 @@ var zh_CN_default = {
345
380
  direction: "方向",
346
381
  directionLtr: "从左到右",
347
382
  directionRtl: "从右到左"
383
+ },
384
+ bookmark: {
385
+ title: "书签",
386
+ name: "书签名",
387
+ list: "书签",
388
+ empty: "此文档没有书签。",
389
+ sortBy: "排序依据",
390
+ sortName: "名称",
391
+ sortLocation: "位置",
392
+ showHidden: "隐藏书签",
393
+ add: "添加",
394
+ delete: "删除",
395
+ goTo: "定位",
396
+ nameEmpty: "请输入书签名。",
397
+ nameTooLong: "书签名最多包含 40 个字符。",
398
+ nameInvalidStart: "书签名以字母开头。",
399
+ nameInvalidCharacter: "只能使用字母、数字和下划线。",
400
+ nameExists: "已存在同名书签。添加会将其移到所选内容。",
401
+ refused: "无法更改书签。",
402
+ duplicates: "{count, plural, other {另有 # 处使用此名称。}}链接和“定位”使用第一个。",
403
+ keepFirst: "保留第一个"
348
404
  }
349
405
  },
350
406
  comments: {
@@ -499,6 +555,7 @@ var zh_CN_default = {
499
555
  linkCopied: "链接已复制到剪贴板",
500
556
  fontSubstitutionNotice: "此文档中的某些字体不可用,已显示替代字体:{fonts}",
501
557
  documentContent: "文档内容",
558
+ previewContent: "建议更改的预览",
502
559
  documentViewport: "文档页面"
503
560
  },
504
561
  hyperlinkPopup: {
@@ -566,6 +623,17 @@ var zh_CN_default = {
566
623
  loading: {
567
624
  label: "正在加载"
568
625
  },
626
+ openFailure: {
627
+ title: "此文件未能打开",
628
+ reasons: {
629
+ damaged: "无法读取此文件。文件可能已损坏,或者是其他类型的文件。请在桌面文字处理软件中打开它,另存为 .docx,然后再试一次。",
630
+ notDocx: "此文件不是 .docx 文档。请选择一个 .docx 文件,或在桌面文字处理软件中将此文件另存为 .docx,然后再试一次。",
631
+ tooLarge: "此文件太大或太复杂,无法在此打开。请尝试较小的副本,例如页数或图片更少的版本。",
632
+ blocked: "出于安全原因,编辑器不会打开此文件中的某些内容。请在桌面文字处理软件中将其重新另存为 .docx,然后再试一次。",
633
+ unknown: "打开此文件时出现问题。请再试一次。如果问题仍然存在,请尝试该文件的其他副本。"
634
+ },
635
+ code: "错误代码:{code}"
636
+ },
569
637
  viewer: {
570
638
  pageIndicator: "第 {current} 页,共 {total} 页"
571
639
  },
@@ -682,9 +750,39 @@ var zh_CN_default = {
682
750
  openShortcutTitle: "导航 ({shortcut})",
683
751
  tabs: {
684
752
  find: "查找",
685
- headings: "标题"
753
+ headings: "标题",
754
+ goto: "书签"
686
755
  },
687
- title: "导航"
756
+ title: "导航",
757
+ goTo: {
758
+ tabTitle: "定位到书签 ({shortcut})",
759
+ label: "书签",
760
+ placeholder: "搜索书签",
761
+ listAriaLabel: "书签",
762
+ countFiltered: "{shown}/{total}",
763
+ enterHint: "按 Enter 键转到突出显示的书签。",
764
+ notFound: "没有名为“{name}”的书签。",
765
+ failed: "无法显示该书签。",
766
+ typeName: "请输入书签名,或从列表中选择一个。",
767
+ empty: "此文档没有书签。",
768
+ emptyHint: "选择文本,然后添加书签为其命名。",
769
+ add: "添加书签…",
770
+ noMatches: "没有匹配的书签。",
771
+ atCaret: "包含光标",
772
+ places: {
773
+ header: "页眉",
774
+ footer: "页脚",
775
+ footnote: "脚注",
776
+ endnote: "尾注"
777
+ },
778
+ groups: {
779
+ body: "正文",
780
+ header: "页眉",
781
+ footer: "页脚",
782
+ footnote: "脚注",
783
+ endnote: "尾注"
784
+ }
785
+ }
688
786
  },
689
787
  contentControl: {
690
788
  formFill: "表单填写模式",
@@ -764,6 +862,12 @@ var zh_CN_default = {
764
862
  replacedWith: "为",
765
863
  reply: "答复",
766
864
  replyRefused: "无法发布答复",
865
+ refusedRefresh: "文档正在刷新。请稍后重试。",
866
+ refusedViewing: "文档以查看模式打开。",
867
+ refusedProtected: "文档的此部分受保护。",
868
+ refusedCollaboration: "正在等待共享会话。请稍后重试。",
869
+ refusedSessionEnded: "共享会话已结束。请重新加载文档以继续审阅。",
870
+ actionRefused: "无法进行此更改",
767
871
  showPane: "显示批注",
768
872
  structural: "已更改文档结构",
769
873
  deleteComment: "删除批注",
@@ -792,6 +896,7 @@ var zh_CN_default = {
792
896
  },
793
897
  imageInsert: {
794
898
  errors: {
899
+ title: "无法插入图片",
795
900
  emptyFile: "所选文件为空。",
796
901
  invalidSignature: "该文件不是受支持的 PNG、JPEG 或 GIF 图像。",
797
902
  oversize: "图像超过允许的最大大小。",
@@ -827,9 +932,12 @@ var zh_CN_default = {
827
932
  },
828
933
  disabledReason: {
829
934
  commentSelection: "请先选择文本范围,再添加批注",
935
+ noCommentDraftView: "此处无法添加批注",
830
936
  drawingLocked: "此图片已锁定",
831
937
  editorNotReady: "编辑器尚未就绪",
832
938
  imageSuggesting: "建议模式下无法更改图片",
939
+ equationSourceFormatting: "线性编辑会丢失此公式的格式",
940
+ equationSuggesting: "建议模式下无法更改公式",
833
941
  invalidValue: "此值不适用于该命令",
834
942
  mergeUnsupported: "不支持合并单元格",
835
943
  noContentControl: "未选择内容控件",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docx-editor.dev/i18n",
3
- "version": "2.29.0",
3
+ "version": "2.31.0",
4
4
  "description": "Shared UI locale strings and types for the @docx-editor.dev editor adapters (React and Vue).",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -62,6 +62,11 @@
62
62
  "import": "./dist/pt-BR.mjs",
63
63
  "require": "./dist/pt-BR.js"
64
64
  },
65
+ "./ru": {
66
+ "types": "./dist/ru.d.ts",
67
+ "import": "./dist/ru.mjs",
68
+ "require": "./dist/ru.js"
69
+ },
65
70
  "./tr": {
66
71
  "types": "./dist/tr.d.ts",
67
72
  "import": "./dist/tr.mjs",