@docx-editor.dev/i18n 2.0.1 → 2.1.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
@@ -44,9 +44,9 @@ var zh_CN_default = {
44
44
  help: "帮助",
45
45
  reportIssue: "反馈问题",
46
46
  watermark: "水印",
47
- break: null,
48
- sectionBreakContinuous: null,
49
- sectionBreakNextPage: null,
47
+ break: "分隔符",
48
+ sectionBreakContinuous: "分节符(连续)",
49
+ sectionBreakNextPage: "分节符(下一页)",
50
50
  insertFootnote: "插入脚注",
51
51
  insertEndnote: "插入尾注"
52
52
  },
@@ -87,12 +87,12 @@ var zh_CN_default = {
87
87
  imageProperties: "图片属性",
88
88
  imagePropertiesShortcut: "图片属性(替代文本、边框)...",
89
89
  clearFormatting: "清除格式",
90
- commentsAndChanges: null,
91
- moreItems: null,
92
- unavailableInPreview: null,
93
- more: null,
94
- altText: null,
95
- imageWrap: null
90
+ commentsAndChanges: "批注和更改",
91
+ moreItems: "{count, plural, other {还有 # 项}}",
92
+ unavailableInPreview: "此预览版本中不可用",
93
+ more: "更多",
94
+ altText: "替换文字",
95
+ imageWrap: "环绕文字"
96
96
  },
97
97
  alignment: {
98
98
  alignLeft: "左对齐",
@@ -118,11 +118,11 @@ var zh_CN_default = {
118
118
  double: "双倍行距",
119
119
  lineSpacingTitle: "行距: {label}",
120
120
  blockSpacingRules: "段间距",
121
- label: null,
122
- addSpaceAfter: null,
123
- addSpaceBefore: null,
124
- removeSpaceAfter: null,
125
- removeSpaceBefore: null
121
+ label: "行距",
122
+ addSpaceAfter: "增加段后间距",
123
+ addSpaceBefore: "增加段前间距",
124
+ removeSpaceAfter: "删除段后间距",
125
+ removeSpaceBefore: "删除段前间距"
126
126
  },
127
127
  styles: {
128
128
  selectAriaLabel: "选择段落样式",
@@ -138,8 +138,8 @@ var zh_CN_default = {
138
138
  sansSerif: "Sans Serif",
139
139
  serif: "Serif",
140
140
  monospace: "Monospace",
141
- other: null,
142
- documentFonts: null
141
+ other: "其他",
142
+ documentFonts: "文档字体"
143
143
  },
144
144
  fontSize: {
145
145
  decrease: "减小字号",
@@ -149,9 +149,9 @@ var zh_CN_default = {
149
149
  },
150
150
  zoom: {
151
151
  ariaLabel: "缩放: {label}",
152
- zoomIn: null,
153
- zoomLevel: null,
154
- zoomOut: null
152
+ zoomIn: "放大",
153
+ zoomLevel: "缩放级别",
154
+ zoomOut: "缩小"
155
155
  },
156
156
  colorPicker: {
157
157
  ariaLabel: "{type} 颜色选择器",
@@ -205,38 +205,38 @@ var zh_CN_default = {
205
205
  lightMagenta: "浅品红",
206
206
  brightGreen: "亮绿",
207
207
  violet: "紫罗兰色",
208
- darkCyan: null,
209
- darkMagenta: null,
210
- lightGray: null
208
+ darkCyan: "深青",
209
+ darkMagenta: "深品红",
210
+ lightGray: "浅灰"
211
211
  },
212
- apply: null,
212
+ apply: "应用",
213
213
  theme: {
214
- accent1: null,
215
- accent2: null,
216
- accent3: null,
217
- accent4: null,
218
- accent5: null,
219
- accent6: null,
220
- background1: null,
221
- background2: null,
222
- darker25: null,
223
- darker50: null,
224
- lighter40: null,
225
- lighter60: null,
226
- lighter80: null,
227
- text1: null,
228
- text2: null,
229
- lighter50: null,
230
- lighter35: null,
231
- lighter25: null,
232
- lighter15: null,
233
- lighter5: null,
234
- darker5: null,
235
- darker10: null,
236
- darker15: null,
237
- darker35: null,
238
- darker75: null,
239
- darker90: null
214
+ accent1: "着色 1",
215
+ accent2: "着色 2",
216
+ accent3: "着色 3",
217
+ accent4: "着色 4",
218
+ accent5: "着色 5",
219
+ accent6: "着色 6",
220
+ background1: "背景 1",
221
+ background2: "背景 2",
222
+ darker25: "深色 25%",
223
+ darker50: "深色 50%",
224
+ lighter40: "淡色 40%",
225
+ lighter60: "淡色 60%",
226
+ lighter80: "淡色 80%",
227
+ text1: "文字 1",
228
+ text2: "文字 2",
229
+ lighter50: "淡色 50%",
230
+ lighter35: "淡色 35%",
231
+ lighter25: "淡色 25%",
232
+ lighter15: "淡色 15%",
233
+ lighter5: "淡色 5%",
234
+ darker5: "深色 5%",
235
+ darker10: "深色 10%",
236
+ darker15: "深色 15%",
237
+ darker35: "深色 35%",
238
+ darker75: "深色 75%",
239
+ darker90: "深色 90%"
240
240
  }
241
241
  },
242
242
  dialogs: {
@@ -426,9 +426,9 @@ var zh_CN_default = {
426
426
  b5: 'B5 (6.93" × 9.84")',
427
427
  executive: 'Executive (7.25" × 10.5")'
428
428
  },
429
- applyTo: null,
430
- applyToDocument: null,
431
- applyToSection: null
429
+ applyTo: "应用于",
430
+ applyToDocument: "整篇文档",
431
+ applyToSection: "本节"
432
432
  },
433
433
  tableProperties: {
434
434
  title: "表格属性",
@@ -659,8 +659,8 @@ var zh_CN_default = {
659
659
  custom: "自定义"
660
660
  },
661
661
  updateTableOfContents: "更新目录",
662
- editCustomNode: null,
663
- removeCustomNode: null
662
+ editCustomNode: "编辑{label}",
663
+ removeCustomNode: "删除{label}"
664
664
  },
665
665
  documentOutline: {
666
666
  ariaLabel: "文档大纲",
@@ -739,23 +739,23 @@ var zh_CN_default = {
739
739
  gridTable4Accent5: "网格表 4 强调色 5",
740
740
  gridTable4Accent6: "网格表 4 强调色 6"
741
741
  },
742
- selectTable: null,
742
+ selectTable: "选择整个表格",
743
743
  borderStyles: {
744
- dashed: null,
745
- dotted: null,
746
- double: null,
747
- single: null,
748
- thick: null,
749
- triple: null
744
+ dashed: "虚线",
745
+ dotted: "点线",
746
+ double: "双线",
747
+ single: "实线",
748
+ thick: "粗线",
749
+ triple: "三线"
750
750
  },
751
751
  borderWidths: {
752
- halfPt: null,
753
- oneHalfPt: null,
754
- onePt: null,
755
- threePt: null,
756
- twoPt: null
752
+ halfPt: "0.5 磅",
753
+ oneHalfPt: "1.5 磅",
754
+ onePt: "1 磅",
755
+ threePt: "3 磅",
756
+ twoPt: "2 磅"
757
757
  },
758
- clearCellFill: null
758
+ clearCellFill: "清除单元格填充"
759
759
  },
760
760
  tableAdvanced: {
761
761
  verticalAlignment: "垂直对齐",
@@ -820,20 +820,20 @@ var zh_CN_default = {
820
820
  squareLeft: "图像靠左,文字环绕右侧",
821
821
  squareRight: "图像靠右,文字环绕左侧"
822
822
  },
823
- square: null,
823
+ square: "四周型",
824
824
  targets: {
825
- behind: null,
826
- inFront: null,
827
- inline: null,
828
- square: null,
829
- squareLeft: null,
830
- squareRight: null,
831
- through: null,
832
- tight: null,
833
- topAndBottom: null
825
+ behind: "衬于文字下方",
826
+ inFront: "浮于文字上方",
827
+ inline: "嵌入型",
828
+ square: "四周型",
829
+ squareLeft: "四周型(左)",
830
+ squareRight: "四周型(右)",
831
+ through: "穿越型",
832
+ tight: "紧密型",
833
+ topAndBottom: "上下型"
834
834
  },
835
- through: null,
836
- tight: null
835
+ through: "穿越型",
836
+ tight: "紧密型"
837
837
  },
838
838
  responsePreview: {
839
839
  loading: "正在{action}...",
@@ -862,7 +862,7 @@ var zh_CN_default = {
862
862
  linkRemoved: "链接已删除",
863
863
  linkCopied: "链接已复制到剪贴板",
864
864
  failedToSave: "保存文档失败",
865
- fontSubstitutionNotice: null
865
+ fontSubstitutionNotice: "此文档中的某些字体不可用,已显示替代字体:{fonts}"
866
866
  },
867
867
  hyperlinkPopup: {
868
868
  displayTextPlaceholder: "显示文本",
@@ -870,15 +870,15 @@ var zh_CN_default = {
870
870
  copyLink: "复制链接",
871
871
  editLink: "编辑链接",
872
872
  removeLink: "删除链接",
873
- apply: null,
874
- bookmarkTarget: null,
875
- cancel: null,
876
- editTitle: null,
877
- inertTarget: null,
878
- insertTitle: null,
879
- openLink: null,
880
- refused: null,
881
- urlLabel: null
873
+ apply: "应用",
874
+ bookmarkTarget: "转到本文档中的某个位置",
875
+ cancel: "取消",
876
+ editTitle: "编辑链接",
877
+ inertTarget: "此链接指向编辑器不会打开的位置",
878
+ insertTitle: "插入链接",
879
+ openLink: "打开链接",
880
+ refused: "无法应用该链接。请检查地址后重试。",
881
+ urlLabel: "URL"
882
882
  },
883
883
  headerFooter: {
884
884
  header: "页眉",
@@ -909,21 +909,21 @@ var zh_CN_default = {
909
909
  insertPageXofY: "插入第 X 页,共 Y 页",
910
910
  pageXofYLabel: "第",
911
911
  pageXofYSeparator: "页,共",
912
- pageNumbers: null
912
+ pageNumbers: "页码"
913
913
  },
914
914
  image: {
915
915
  placeholder: "图片占位符",
916
916
  placeholderText: "[图片]",
917
917
  editableAriaLabel: "可编辑图片",
918
- contentMismatch: null,
919
- decodeFailed: null,
920
- externalResource: null,
921
- invalidResource: null,
922
- missingResource: null,
923
- nonPictureGraphic: null,
924
- pendingResource: null,
925
- resourceLimit: null,
926
- unsupportedFormat: null
918
+ contentMismatch: "图像内容与其类型不匹配",
919
+ decodeFailed: "无法解码图像",
920
+ externalResource: "未加载外部图像",
921
+ invalidResource: "无效图像",
922
+ missingResource: "缺少图像",
923
+ nonPictureGraphic: "不受支持的图形({kind})",
924
+ pendingResource: "正在加载图像",
925
+ resourceLimit: "图像超出大小限制",
926
+ unsupportedFormat: "不受支持的图像格式({format})"
927
927
  },
928
928
  ruler: {
929
929
  horizontal: "水平标尺",
@@ -933,7 +933,7 @@ var zh_CN_default = {
933
933
  rightIndent: "右缩进",
934
934
  topMargin: "上边距",
935
935
  bottomMargin: "下边距",
936
- hangingIndent: null
936
+ hangingIndent: "悬挂缩进"
937
937
  },
938
938
  print: {
939
939
  label: "打印",
@@ -959,87 +959,87 @@ var zh_CN_default = {
959
959
  deleteImage: "删除图片",
960
960
  imageProperties: "图片属性",
961
961
  rotate: "旋转",
962
- replaceImage: null,
962
+ replaceImage: "替换图像…",
963
963
  handle: {
964
- e: null,
965
- n: null,
966
- ne: null,
967
- nw: null,
968
- s: null,
969
- se: null,
970
- sw: null,
971
- w: null
964
+ e: "调整右边缘大小",
965
+ n: "调整上边缘大小",
966
+ ne: "调整右上角大小",
967
+ nw: "调整左上角大小",
968
+ s: "调整下边缘大小",
969
+ se: "调整右下角大小",
970
+ sw: "调整左下角大小",
971
+ w: "调整左边缘大小"
972
972
  },
973
- selection: null
973
+ selection: "选定的图像"
974
974
  },
975
975
  revisions: {
976
- cellDeleted: null,
977
- cellInserted: null,
978
- cellMerged: null,
979
- cellPropertiesChanged: null,
980
- paragraphMarkDeleted: null,
981
- paragraphMarkInserted: null,
982
- paragraphPropertiesChanged: null,
983
- rowDeleted: null,
984
- rowInserted: null,
985
- rowPropertiesChanged: null,
986
- tablePropertiesChanged: null,
987
- tableDeleted: null,
988
- tableInserted: null,
989
- runPropertiesChanged: null
976
+ cellDeleted: "已删除单元格",
977
+ cellInserted: "已插入单元格",
978
+ cellMerged: "已合并单元格",
979
+ cellPropertiesChanged: "已更改单元格属性",
980
+ paragraphMarkDeleted: "已删除段落标记",
981
+ paragraphMarkInserted: "已插入段落标记",
982
+ paragraphPropertiesChanged: "已更改段落属性",
983
+ rowDeleted: "已删除行",
984
+ rowInserted: "已插入行",
985
+ rowPropertiesChanged: "已更改行属性",
986
+ tablePropertiesChanged: "已更改表格属性",
987
+ tableDeleted: "已删除表格",
988
+ tableInserted: "已插入表格",
989
+ runPropertiesChanged: "已更改文本格式"
990
990
  },
991
991
  toc: {
992
- updatePrompt: null,
992
+ updatePrompt: "此文档包含的目录已过期。是否立即重新生成?",
993
993
  refresh: "更新整个目录",
994
994
  refreshPageNumbers: "仅更新页码"
995
995
  },
996
996
  app: {
997
- name: null,
998
- newDocument: null,
999
- by: null,
1000
- framework: null,
1001
- theme: null
997
+ name: "DOCX 编辑器",
998
+ newDocument: "新建",
999
+ by: "由 EigenPal 提供",
1000
+ framework: "框架",
1001
+ theme: "主题"
1002
1002
  },
1003
1003
  editingMode: {
1004
- editing: null,
1005
- label: null,
1006
- editingHint: null,
1007
- suggesting: null,
1008
- suggestingHint: null,
1009
- viewing: null,
1010
- viewingHint: null
1004
+ editing: "编辑",
1005
+ label: "编辑模式",
1006
+ editingHint: "直接编辑文档",
1007
+ suggesting: "建议",
1008
+ suggestingHint: "编辑将成为建议",
1009
+ viewing: "查看",
1010
+ viewingHint: "只读,不可编辑"
1011
1011
  },
1012
1012
  navigation: {
1013
- ariaLabel: null,
1014
- closeAriaLabel: null,
1015
- closeTitle: null,
1013
+ ariaLabel: "文档导航",
1014
+ closeAriaLabel: "关闭导航",
1015
+ closeTitle: "关闭导航",
1016
1016
  find: {
1017
- clearAriaLabel: null,
1018
- counter: null,
1019
- counterTruncated: null,
1020
- inputAriaLabel: null,
1021
- matchCase: null,
1022
- nextAriaLabel: null,
1023
- noResults: null,
1024
- optionsAriaLabel: null,
1025
- placeholder: null,
1026
- previousAriaLabel: null,
1027
- resultsAriaLabel: null,
1028
- searching: null,
1029
- wholeWord: null,
1030
- total: null,
1031
- totalTruncated: null
1017
+ clearAriaLabel: "清除搜索",
1018
+ counter: "第 {current} 个结果,共 {total} 个",
1019
+ counterTruncated: "第 {current} 个结果,共 {total}+ 个",
1020
+ inputAriaLabel: "搜索文档",
1021
+ matchCase: "区分大小写",
1022
+ nextAriaLabel: "下一个结果",
1023
+ noResults: "无结果",
1024
+ optionsAriaLabel: "搜索选项",
1025
+ placeholder: "搜索文档",
1026
+ previousAriaLabel: "上一个结果",
1027
+ resultsAriaLabel: "搜索结果",
1028
+ searching: "正在搜索…",
1029
+ wholeWord: "全字匹配",
1030
+ total: "{total, plural, other {# 个结果}}",
1031
+ totalTruncated: "{total, plural, other {#+ 个结果}}"
1032
1032
  },
1033
1033
  headings: {
1034
- noHeadings: null
1034
+ noHeadings: "未找到标题。在文档中添加标题即可在此处查看。"
1035
1035
  },
1036
- openAriaLabel: null,
1037
- openTitle: null,
1036
+ openAriaLabel: "打开导航",
1037
+ openTitle: "导航",
1038
1038
  tabs: {
1039
- find: null,
1040
- headings: null
1039
+ find: "查找",
1040
+ headings: "标题"
1041
1041
  },
1042
- title: null
1042
+ title: "导航"
1043
1043
  },
1044
1044
  contentControl: {
1045
1045
  formFill: "表单填写模式",
@@ -1098,63 +1098,63 @@ var zh_CN_default = {
1098
1098
  inheritedValue: "(继承)"
1099
1099
  },
1100
1100
  review: {
1101
- accept: null,
1102
- ariaLabel: null,
1103
- commentRefused: null,
1104
- deleted: null,
1105
- empty: null,
1106
- inserted: null,
1107
- movedFrom: null,
1108
- movedTo: null,
1109
- reject: null,
1110
- replaced: null,
1111
- replacedWith: null,
1112
- reply: null,
1113
- replyRefused: null,
1114
- showPane: null,
1115
- structural: null,
1116
- deleteComment: null,
1117
- discardChange: null
1101
+ accept: "接受",
1102
+ ariaLabel: "审阅",
1103
+ commentRefused: "无法添加批注",
1104
+ deleted: "已删除",
1105
+ empty: "没有更改或批注",
1106
+ inserted: "已添加",
1107
+ movedFrom: "从此处移动",
1108
+ movedTo: "移动到此处",
1109
+ reject: "拒绝",
1110
+ replaced: "已替换",
1111
+ replacedWith: "为",
1112
+ reply: "答复",
1113
+ replyRefused: "无法发布答复",
1114
+ showPane: "显示批注",
1115
+ structural: "已更改文档结构",
1116
+ deleteComment: "删除批注",
1117
+ discardChange: "放弃更改"
1118
1118
  },
1119
1119
  imageAltText: {
1120
- description: null,
1121
- panelTitle: null,
1122
- title: null
1120
+ description: "说明",
1121
+ panelTitle: "替换文字",
1122
+ title: "标题"
1123
1123
  },
1124
1124
  imageInsert: {
1125
1125
  errors: {
1126
- emptyFile: null,
1127
- invalidSignature: null,
1128
- oversize: null,
1129
- refused: null,
1130
- unsupportedFormat: null
1126
+ emptyFile: "所选文件为空。",
1127
+ invalidSignature: "该文件不是受支持的 PNG、JPEG 或 GIF 图像。",
1128
+ oversize: "图像超过允许的最大大小。",
1129
+ refused: "无法插入图像。",
1130
+ unsupportedFormat: "不支持插入此图像格式。"
1131
1131
  }
1132
1132
  },
1133
1133
  imageProperties: {
1134
- crop: null,
1135
- cropBottom: null,
1136
- cropLeft: null,
1137
- cropRight: null,
1138
- cropTop: null,
1134
+ crop: "裁剪",
1135
+ cropBottom: "下(%)",
1136
+ cropLeft: "左(%)",
1137
+ cropRight: "右(%)",
1138
+ cropTop: "上(%)",
1139
1139
  errors: {
1140
- invalidCrop: null,
1141
- invalidDimensions: null,
1142
- refused: null,
1143
- invalidPosition: null
1140
+ invalidCrop: "裁剪值必须是 0 到 100 之间的百分比。",
1141
+ invalidDimensions: "请输入正的宽度和高度值。",
1142
+ refused: "无法应用这些属性。",
1143
+ invalidPosition: "请输入有效的水平和垂直位置值。"
1144
1144
  },
1145
- hyperlink: null,
1146
- nonPictureHint: null,
1147
- resetNaturalSize: null,
1145
+ hyperlink: "超链接",
1146
+ nonPictureHint: "裁剪和恢复原始大小仅适用于图片。",
1147
+ resetNaturalSize: "恢复原始大小",
1148
1148
  units: {
1149
- points: null
1149
+ points: "磅"
1150
1150
  },
1151
- horizontalOffset: null,
1152
- position: null,
1153
- positionLocked: null,
1154
- positionUnavailable: null,
1155
- relativeToHorizontal: null,
1156
- relativeToVertical: null,
1157
- verticalOffset: null
1151
+ horizontalOffset: "水平偏移",
1152
+ position: "位置",
1153
+ positionLocked: "无法移动此绘图。",
1154
+ positionUnavailable: "位置仅适用于浮动图像。",
1155
+ relativeToHorizontal: "相对于(水平)",
1156
+ relativeToVertical: "相对于(垂直)",
1157
+ verticalOffset: "垂直偏移"
1158
1158
  }
1159
1159
  };
1160
1160
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docx-editor.dev/i18n",
3
- "version": "2.0.1",
3
+ "version": "2.1.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",