merong-docs 0.1.11 → 1.0.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.
Files changed (63) hide show
  1. package/OVERVIEW.md +19 -19
  2. package/OVERVIEW.zh-CN.md +19 -22
  3. package/README.md +77 -77
  4. package/README.zh-CN.md +81 -81
  5. package/client/android-file-share.ts +25 -25
  6. package/client/controls.tsx +163 -163
  7. package/client/document-panel.tsx +166 -166
  8. package/client/external-file.tsx +78 -78
  9. package/client/file-reader.tsx +43 -43
  10. package/client/markdown-panel.tsx +737 -737
  11. package/client/markdown-scroll.ts +122 -122
  12. package/client/messages.ts +224 -224
  13. package/client/native-contacts.ts +145 -145
  14. package/client/page-render-queue.ts +12 -12
  15. package/client/page-selection.tsx +227 -227
  16. package/client/page-tools.tsx +72 -72
  17. package/client/pdf-geometry.ts +96 -96
  18. package/client/pdf-panel.tsx +477 -477
  19. package/client/reader-find.tsx +190 -190
  20. package/client/reader-notice.tsx +46 -46
  21. package/client/settings.tsx +143 -143
  22. package/client/syntax.tsx +55 -55
  23. package/client/viewport-geometry.ts +61 -61
  24. package/client/web.ts +462 -462
  25. package/client/worksheet-panel.tsx +631 -631
  26. package/client/zoom-controls.tsx +140 -140
  27. package/index.client.tsx +36 -36
  28. package/index.server.ts +73 -73
  29. package/node_modules/markdown-it/bin/markdown-it.mjs +0 -0
  30. package/node_modules/yaml/bin.mjs +0 -0
  31. package/npm-shrinkwrap.json +2 -2
  32. package/package.json +1 -1
  33. package/scripts/prepare-office.mjs +20 -20
  34. package/server/engine.ts +89 -89
  35. package/server/external-file.ts +42 -42
  36. package/server/generated/document-worker.ts +1 -1
  37. package/server/generated/rust-reader_bg.wasm +0 -0
  38. package/server/markdown-index.ts +305 -305
  39. package/server/markdown-links.ts +51 -51
  40. package/server/markdown-page.ts +120 -120
  41. package/server/office-fonts.cjs +824 -824
  42. package/server/office-location.ts +41 -41
  43. package/server/office-preview.ts +186 -186
  44. package/server/office-worker.cjs +49 -49
  45. package/server/office-xml.ts +79 -79
  46. package/server/pdf-engine.ts +168 -168
  47. package/server/pdf-text-geometry.ts +60 -60
  48. package/server/rust-reader.ts +40 -40
  49. package/server/structured-document.ts +69 -69
  50. package/server/text-search.ts +15 -15
  51. package/server/worker-entry.ts +42 -42
  52. package/server/worker-protocol.ts +38 -38
  53. package/server/worksheet.ts +67 -67
  54. package/server/workspace-file.ts +63 -63
  55. package/shared/contracts.ts +187 -187
  56. package/shared/file-limits.ts +5 -5
  57. package/shared/markdown-constants.ts +4 -4
  58. package/shared/markdown-math.ts +198 -198
  59. package/shared/markdown-references.ts +83 -83
  60. package/shared/markdown-source-location.ts +8 -8
  61. package/shared/reader-settings.ts +15 -15
  62. package/shared/reader-shortcuts.ts +132 -132
  63. package/vendor/office2pdf/office2pdf_bg.wasm +2 -2
@@ -1,224 +1,224 @@
1
- import { defineTranslations } from "@getpaseo/plugin/client";
2
-
3
- export const messages = defineTranslations({
4
- resources: {
5
- en: {
6
- pdf: "PDF",
7
- document: "Document",
8
- markdown: "Markdown",
9
- preview: "Preview",
10
- source: "Source",
11
- fileLines: "{{lines}} lines",
12
- earlierLines: "Earlier lines",
13
- splitMarkdown: "Split preview and source",
14
- showBlockSource: "View block source",
15
- find: "Find in document",
16
- searchPlaceholder: "Search text",
17
- noMatches: "No matches found.",
18
- previousMatch: "Previous match",
19
- nextMatch: "Next match",
20
- closeFind: "Close find",
21
- matchCase: "Match case",
22
- wholeWord: "Match whole word",
23
- useRegex: "Use regular expression",
24
- invalidPattern: "Invalid regular expression",
25
- findFailed: "Search failed. Adjust the query or try again.",
26
- findLimited: "Part of this document could not be searched.",
27
- searching: "Searching…",
28
- copySelection: "Copy selected text",
29
- copyCell: "Copy cell text",
30
- dragWorksheet: "Pan worksheet",
31
- thumbnails: "Slide thumbnails",
32
- worksheetSearch: "Search text or address",
33
- addressSearch: "Cell address, e.g. A4",
34
- addressesOnly: "Cell address only",
35
- cellActions: "Cell actions",
36
- freezeRow: "Freeze row {{row}}",
37
- unfreezeRow: "Unfreeze row {{row}}",
38
- freezeColumn: "Freeze column {{column}}",
39
- unfreezeColumn: "Unfreeze column {{column}}",
40
- textCopyError: "Couldn’t copy text.",
41
- loadMore: "Continue reading",
42
- textEncoding: "Save the file as UTF-8 and try again.",
43
- documentPages: "Document pages",
44
- sheet: "Sheet",
45
- worksheetTruncated: "The worksheet exceeds the grid preview limit.",
46
- slide: "Slide",
47
- slideNumber: "Slide number",
48
- previousSlide: "Previous slide",
49
- nextSlide: "Next slide",
50
- goToSlide: "Go to slide",
51
- slideFit: "Fit slide",
52
- documentTruncated: "This preview shows the beginning of the document.",
53
- documentTooLarge: "This file exceeds the size limit for a structured preview.",
54
- closeReader: "Close preview",
55
- externalFile: "Open externally",
56
- downloadFile: "Download",
57
- externalError: "Couldn’t hand off the file.",
58
- externalAppError: "The system couldn’t open this file. Check its default app and try again.",
59
- downloadError: "Couldn’t download the file.",
60
- externalAndroid: "Use Download in the Paseo file menu, then open the downloaded file in your editor.",
61
- copyFilePath: "Copy workspace path",
62
- cancel: "Cancel",
63
- retry: "Retry",
64
- textError: "The document couldn’t be loaded.",
65
- pdfError: "The PDF page couldn’t be rendered.",
66
- officeError: "The Office preview couldn’t be rendered.",
67
- officeLayoutUnavailable: "Basic preview. The formatted document is unavailable.",
68
- pdfTooLarge: "This reader opens PDFs up to 192 MiB.",
69
- fileChanged: "The file changed while you were reading.",
70
- outsideWorkspace: "This reader opens files in the current workspace.",
71
- fileUnavailable: "The file is no longer available.",
72
- empty: "This file is empty.",
73
- previous: "Previous page",
74
- next: "Next page",
75
- page: "Page number",
76
- fitWidth: "Fit width",
77
- reset: "Fit page",
78
- zoomIn: "Zoom in",
79
- zoomOut: "Zoom out",
80
- zoomSlider: "Adjust zoom",
81
- zoomPercent: "Zoom percentage",
82
- applyZoom: "Apply zoom",
83
- goToPage: "Go to page",
84
- copied: "Copied",
85
- readerSettings: "Reader",
86
- keyboardSettings: "Keyboard shortcuts",
87
- keyboardSettingsHint: "These shortcuts apply to desktop and browser previews. Choose Default on any row to restore that binding.",
88
- resetShortcuts: "Restore all shortcuts",
89
- shortcutDefault: "Default ({{shortcut}})",
90
- shortcutNone: "No shortcut",
91
- shortcutCustom: "Custom…",
92
- editShortcut: "Shortcut for {{action}}",
93
- shortcutExample: "Enter a key or combination, such as G or Ctrl/Cmd+Shift+K.",
94
- saveShortcut: "Save shortcut",
95
- cancelShortcut: "Cancel",
96
- shortcutConflict: "Already used by {{action}}.",
97
- invalidShortcut: "Choose a supported key combination. In the find box, use Enter, Escape, a function key or a Ctrl/⌘ combination.",
98
- forcePan: "Hold to force drag",
99
- forcePanHint: "Hold this key and left-drag over text in PDF, Word, PowerPoint or Excel.",
100
- wheelZoom: "Zoom with the mouse wheel",
101
- wheelZoomHint: "Hold this key while scrolling over the preview.",
102
- resetZoom: "Reset zoom",
103
- panUp: "Pan up",
104
- panDown: "Pan down",
105
- panLeft: "Pan left",
106
- panRight: "Pan right",
107
- scrollPageUp: "Scroll up one screen",
108
- scrollPageDown: "Scroll down one screen",
109
- closeCellMenu: "Close Excel cell menu",
110
- readerSettingsError: "Couldn’t load or save reader settings.",
111
- resetReaderSettings: "Reset reader settings",
112
- reloadReaderSettings: "Reload saved settings",
113
- },
114
- "zh-CN": {
115
- pdf: "PDF",
116
- document: "文档",
117
- markdown: "Markdown",
118
- preview: "预览",
119
- source: "源码",
120
- fileLines: "{{lines}} 行",
121
- earlierLines: "上一段源码",
122
- splitMarkdown: "分屏显示预览和源码",
123
- showBlockSource: "查看此处源码",
124
- find: "在文档中查找",
125
- searchPlaceholder: "搜索文本",
126
- noMatches: "没有找到匹配项。",
127
- previousMatch: "上一个匹配项",
128
- nextMatch: "下一个匹配项",
129
- closeFind: "关闭查找",
130
- matchCase: "区分大小写",
131
- wholeWord: "全词匹配",
132
- useRegex: "使用正则表达式",
133
- invalidPattern: "正则表达式无效",
134
- findFailed: "查找失败。请调整关键词或重试。",
135
- findLimited: "文档的部分内容无法查找。",
136
- searching: "正在查找…",
137
- copySelection: "复制选中文字",
138
- copyCell: "复制单元格文本",
139
- dragWorksheet: "拖动表格",
140
- thumbnails: "幻灯片缩略图",
141
- worksheetSearch: "搜索文本或地址",
142
- addressSearch: "单元格地址,如 A4",
143
- addressesOnly: "仅查找单元格地址",
144
- cellActions: "单元格操作",
145
- freezeRow: "冻结第 {{row}} 行",
146
- unfreezeRow: "解除第 {{row}} 行冻结",
147
- freezeColumn: "冻结 {{column}} 列",
148
- unfreezeColumn: "解除 {{column}} 列冻结",
149
- textCopyError: "无法复制文本。",
150
- loadMore: "继续阅读",
151
- textEncoding: "请将文件保存为 UTF-8 格式后重试。",
152
- documentPages: "文档页面",
153
- sheet: "工作表",
154
- worksheetTruncated: "此工作表超出网格预览上限。",
155
- slide: "幻灯片",
156
- slideNumber: "幻灯片编号",
157
- previousSlide: "上一张幻灯片",
158
- nextSlide: "下一张幻灯片",
159
- goToSlide: "跳转到幻灯片",
160
- slideFit: "适合幻灯片",
161
- documentTruncated: "当前仅显示文档的部分内容。",
162
- documentTooLarge: "此文件超出结构化预览的大小上限。",
163
- closeReader: "关闭预览",
164
- externalFile: "在外部打开",
165
- downloadFile: "下载",
166
- externalError: "无法转交文件。",
167
- externalAppError: "系统无法打开该文件。请检查此格式的默认应用后重试。",
168
- downloadError: "无法下载文件。",
169
- externalAndroid: "请在 Paseo 的文件菜单中选择下载,再用编辑软件打开下载的文件。",
170
- copyFilePath: "复制工作区路径",
171
- cancel: "取消",
172
- retry: "重试",
173
- textError: "无法加载文档。",
174
- pdfError: "无法渲染 PDF 页面。",
175
- officeError: "无法渲染 Office 预览。",
176
- officeLayoutUnavailable: "当前为基础预览,无法显示此文档的排版。",
177
- pdfTooLarge: "此阅读器支持最大 192 MiB 的 PDF。",
178
- fileChanged: "文件在阅读过程中发生了变化。",
179
- outsideWorkspace: "此阅读器只能打开当前工作区中的文件。",
180
- fileUnavailable: "文件已不可用。",
181
- empty: "文件为空。",
182
- previous: "上一页",
183
- next: "下一页",
184
- page: "页码",
185
- fitWidth: "适合宽度",
186
- reset: "适合页面",
187
- zoomIn: "放大",
188
- zoomOut: "缩小",
189
- zoomSlider: "拖动调整缩放",
190
- zoomPercent: "缩放百分比",
191
- applyZoom: "应用缩放",
192
- goToPage: "跳转页码",
193
- copied: "已复制",
194
- readerSettings: "阅读器",
195
- keyboardSettings: "键盘快捷键",
196
- keyboardSettingsHint: "适用于桌面端和浏览器预览。每一项都可选择「默认」恢复原键位。",
197
- resetShortcuts: "恢复全部快捷键",
198
- shortcutDefault: "默认({{shortcut}})",
199
- shortcutNone: "不设置",
200
- shortcutCustom: "自定义…",
201
- editShortcut: "{{action}}的快捷键",
202
- shortcutExample: "输入按键或组合键,例如 G 或 Ctrl/Cmd+Shift+K。",
203
- saveShortcut: "保存快捷键",
204
- cancelShortcut: "取消",
205
- shortcutConflict: "已用于「{{action}}」。",
206
- invalidShortcut: "请输入支持的键位。查找框支持 Enter、Esc、功能键或带 Ctrl / ⌘ 的组合键。",
207
- forcePan: "按住强制拖动",
208
- forcePanHint: "在 PDF、Word、PowerPoint 或 Excel 的文字上,按住此键并用鼠标左键拖动。",
209
- wheelZoom: "滚轮缩放",
210
- wheelZoomHint: "指针停在预览区域时,按住此键并滚动鼠标滚轮。",
211
- resetZoom: "重置缩放",
212
- panUp: "向上平移",
213
- panDown: "向下平移",
214
- panLeft: "向左平移",
215
- panRight: "向右平移",
216
- scrollPageUp: "向上滚动一屏",
217
- scrollPageDown: "向下滚动一屏",
218
- closeCellMenu: "关闭 Excel 单元格菜单",
219
- readerSettingsError: "无法读取或保存阅读器设置。",
220
- resetReaderSettings: "重置阅读器设置",
221
- reloadReaderSettings: "重新加载设置",
222
- },
223
- },
224
- });
1
+ import { defineTranslations } from "@getpaseo/plugin/client";
2
+
3
+ export const messages = defineTranslations({
4
+ resources: {
5
+ en: {
6
+ pdf: "PDF",
7
+ document: "Document",
8
+ markdown: "Markdown",
9
+ preview: "Preview",
10
+ source: "Source",
11
+ fileLines: "{{lines}} lines",
12
+ earlierLines: "Earlier lines",
13
+ splitMarkdown: "Split preview and source",
14
+ showBlockSource: "View block source",
15
+ find: "Find in document",
16
+ searchPlaceholder: "Search text",
17
+ noMatches: "No matches found.",
18
+ previousMatch: "Previous match",
19
+ nextMatch: "Next match",
20
+ closeFind: "Close find",
21
+ matchCase: "Match case",
22
+ wholeWord: "Match whole word",
23
+ useRegex: "Use regular expression",
24
+ invalidPattern: "Invalid regular expression",
25
+ findFailed: "Search failed. Adjust the query or try again.",
26
+ findLimited: "Part of this document could not be searched.",
27
+ searching: "Searching…",
28
+ copySelection: "Copy selected text",
29
+ copyCell: "Copy cell text",
30
+ dragWorksheet: "Pan worksheet",
31
+ thumbnails: "Slide thumbnails",
32
+ worksheetSearch: "Search text or address",
33
+ addressSearch: "Cell address, e.g. A4",
34
+ addressesOnly: "Cell address only",
35
+ cellActions: "Cell actions",
36
+ freezeRow: "Freeze row {{row}}",
37
+ unfreezeRow: "Unfreeze row {{row}}",
38
+ freezeColumn: "Freeze column {{column}}",
39
+ unfreezeColumn: "Unfreeze column {{column}}",
40
+ textCopyError: "Couldn’t copy text.",
41
+ loadMore: "Continue reading",
42
+ textEncoding: "Save the file as UTF-8 and try again.",
43
+ documentPages: "Document pages",
44
+ sheet: "Sheet",
45
+ worksheetTruncated: "The worksheet exceeds the grid preview limit.",
46
+ slide: "Slide",
47
+ slideNumber: "Slide number",
48
+ previousSlide: "Previous slide",
49
+ nextSlide: "Next slide",
50
+ goToSlide: "Go to slide",
51
+ slideFit: "Fit slide",
52
+ documentTruncated: "This preview shows the beginning of the document.",
53
+ documentTooLarge: "This file exceeds the size limit for a structured preview.",
54
+ closeReader: "Close preview",
55
+ externalFile: "Open externally",
56
+ downloadFile: "Download",
57
+ externalError: "Couldn’t hand off the file.",
58
+ externalAppError: "The system couldn’t open this file. Check its default app and try again.",
59
+ downloadError: "Couldn’t download the file.",
60
+ externalAndroid: "Use Download in the Paseo file menu, then open the downloaded file in your editor.",
61
+ copyFilePath: "Copy workspace path",
62
+ cancel: "Cancel",
63
+ retry: "Retry",
64
+ textError: "The document couldn’t be loaded.",
65
+ pdfError: "The PDF page couldn’t be rendered.",
66
+ officeError: "The Office preview couldn’t be rendered.",
67
+ officeLayoutUnavailable: "Basic preview. The formatted document is unavailable.",
68
+ pdfTooLarge: "This reader opens PDFs up to 192 MiB.",
69
+ fileChanged: "The file changed while you were reading.",
70
+ outsideWorkspace: "This reader opens files in the current workspace.",
71
+ fileUnavailable: "The file is no longer available.",
72
+ empty: "This file is empty.",
73
+ previous: "Previous page",
74
+ next: "Next page",
75
+ page: "Page number",
76
+ fitWidth: "Fit width",
77
+ reset: "Fit page",
78
+ zoomIn: "Zoom in",
79
+ zoomOut: "Zoom out",
80
+ zoomSlider: "Adjust zoom",
81
+ zoomPercent: "Zoom percentage",
82
+ applyZoom: "Apply zoom",
83
+ goToPage: "Go to page",
84
+ copied: "Copied",
85
+ readerSettings: "Reader",
86
+ keyboardSettings: "Keyboard shortcuts",
87
+ keyboardSettingsHint: "These shortcuts apply to desktop and browser previews. Choose Default on any row to restore that binding.",
88
+ resetShortcuts: "Restore all shortcuts",
89
+ shortcutDefault: "Default ({{shortcut}})",
90
+ shortcutNone: "No shortcut",
91
+ shortcutCustom: "Custom…",
92
+ editShortcut: "Shortcut for {{action}}",
93
+ shortcutExample: "Enter a key or combination, such as G or Ctrl/Cmd+Shift+K.",
94
+ saveShortcut: "Save shortcut",
95
+ cancelShortcut: "Cancel",
96
+ shortcutConflict: "Already used by {{action}}.",
97
+ invalidShortcut: "Choose a supported key combination. In the find box, use Enter, Escape, a function key or a Ctrl/⌘ combination.",
98
+ forcePan: "Hold to force drag",
99
+ forcePanHint: "Hold this key and left-drag over text in PDF, Word, PowerPoint or Excel.",
100
+ wheelZoom: "Zoom with the mouse wheel",
101
+ wheelZoomHint: "Hold this key while scrolling over the preview.",
102
+ resetZoom: "Reset zoom",
103
+ panUp: "Pan up",
104
+ panDown: "Pan down",
105
+ panLeft: "Pan left",
106
+ panRight: "Pan right",
107
+ scrollPageUp: "Scroll up one screen",
108
+ scrollPageDown: "Scroll down one screen",
109
+ closeCellMenu: "Close Excel cell menu",
110
+ readerSettingsError: "Couldn’t load or save reader settings.",
111
+ resetReaderSettings: "Reset reader settings",
112
+ reloadReaderSettings: "Reload saved settings",
113
+ },
114
+ "zh-CN": {
115
+ pdf: "PDF",
116
+ document: "文档",
117
+ markdown: "Markdown",
118
+ preview: "预览",
119
+ source: "源码",
120
+ fileLines: "{{lines}} 行",
121
+ earlierLines: "上一段源码",
122
+ splitMarkdown: "分屏显示预览和源码",
123
+ showBlockSource: "查看此处源码",
124
+ find: "在文档中查找",
125
+ searchPlaceholder: "搜索文本",
126
+ noMatches: "没有找到匹配项。",
127
+ previousMatch: "上一个匹配项",
128
+ nextMatch: "下一个匹配项",
129
+ closeFind: "关闭查找",
130
+ matchCase: "区分大小写",
131
+ wholeWord: "全词匹配",
132
+ useRegex: "使用正则表达式",
133
+ invalidPattern: "正则表达式无效",
134
+ findFailed: "查找失败。请调整关键词或重试。",
135
+ findLimited: "文档的部分内容无法查找。",
136
+ searching: "正在查找…",
137
+ copySelection: "复制选中文字",
138
+ copyCell: "复制单元格文本",
139
+ dragWorksheet: "拖动表格",
140
+ thumbnails: "幻灯片缩略图",
141
+ worksheetSearch: "搜索文本或地址",
142
+ addressSearch: "单元格地址,如 A4",
143
+ addressesOnly: "仅查找单元格地址",
144
+ cellActions: "单元格操作",
145
+ freezeRow: "冻结第 {{row}} 行",
146
+ unfreezeRow: "解除第 {{row}} 行冻结",
147
+ freezeColumn: "冻结 {{column}} 列",
148
+ unfreezeColumn: "解除 {{column}} 列冻结",
149
+ textCopyError: "无法复制文本。",
150
+ loadMore: "继续阅读",
151
+ textEncoding: "请将文件保存为 UTF-8 格式后重试。",
152
+ documentPages: "文档页面",
153
+ sheet: "工作表",
154
+ worksheetTruncated: "此工作表超出网格预览上限。",
155
+ slide: "幻灯片",
156
+ slideNumber: "幻灯片编号",
157
+ previousSlide: "上一张幻灯片",
158
+ nextSlide: "下一张幻灯片",
159
+ goToSlide: "跳转到幻灯片",
160
+ slideFit: "适合幻灯片",
161
+ documentTruncated: "当前仅显示文档的部分内容。",
162
+ documentTooLarge: "此文件超出结构化预览的大小上限。",
163
+ closeReader: "关闭预览",
164
+ externalFile: "在外部打开",
165
+ downloadFile: "下载",
166
+ externalError: "无法转交文件。",
167
+ externalAppError: "系统无法打开该文件。请检查此格式的默认应用后重试。",
168
+ downloadError: "无法下载文件。",
169
+ externalAndroid: "请在 Paseo 的文件菜单中选择下载,再用编辑软件打开下载的文件。",
170
+ copyFilePath: "复制工作区路径",
171
+ cancel: "取消",
172
+ retry: "重试",
173
+ textError: "无法加载文档。",
174
+ pdfError: "无法渲染 PDF 页面。",
175
+ officeError: "无法渲染 Office 预览。",
176
+ officeLayoutUnavailable: "当前为基础预览,无法显示此文档的排版。",
177
+ pdfTooLarge: "此阅读器支持最大 192 MiB 的 PDF。",
178
+ fileChanged: "文件在阅读过程中发生了变化。",
179
+ outsideWorkspace: "此阅读器只能打开当前工作区中的文件。",
180
+ fileUnavailable: "文件已不可用。",
181
+ empty: "文件为空。",
182
+ previous: "上一页",
183
+ next: "下一页",
184
+ page: "页码",
185
+ fitWidth: "适合宽度",
186
+ reset: "适合页面",
187
+ zoomIn: "放大",
188
+ zoomOut: "缩小",
189
+ zoomSlider: "拖动调整缩放",
190
+ zoomPercent: "缩放百分比",
191
+ applyZoom: "应用缩放",
192
+ goToPage: "跳转页码",
193
+ copied: "已复制",
194
+ readerSettings: "阅读器",
195
+ keyboardSettings: "键盘快捷键",
196
+ keyboardSettingsHint: "适用于桌面端和浏览器预览。每一项都可选择「默认」恢复原键位。",
197
+ resetShortcuts: "恢复全部快捷键",
198
+ shortcutDefault: "默认({{shortcut}})",
199
+ shortcutNone: "不设置",
200
+ shortcutCustom: "自定义…",
201
+ editShortcut: "{{action}}的快捷键",
202
+ shortcutExample: "输入按键或组合键,例如 G 或 Ctrl/Cmd+Shift+K。",
203
+ saveShortcut: "保存快捷键",
204
+ cancelShortcut: "取消",
205
+ shortcutConflict: "已用于「{{action}}」。",
206
+ invalidShortcut: "请输入支持的键位。查找框支持 Enter、Esc、功能键或带 Ctrl / ⌘ 的组合键。",
207
+ forcePan: "按住强制拖动",
208
+ forcePanHint: "在 PDF、Word、PowerPoint 或 Excel 的文字上,按住此键并用鼠标左键拖动。",
209
+ wheelZoom: "滚轮缩放",
210
+ wheelZoomHint: "指针停在预览区域时,按住此键并滚动鼠标滚轮。",
211
+ resetZoom: "重置缩放",
212
+ panUp: "向上平移",
213
+ panDown: "向下平移",
214
+ panLeft: "向左平移",
215
+ panRight: "向右平移",
216
+ scrollPageUp: "向上滚动一屏",
217
+ scrollPageDown: "向下滚动一屏",
218
+ closeCellMenu: "关闭 Excel 单元格菜单",
219
+ readerSettingsError: "无法读取或保存阅读器设置。",
220
+ resetReaderSettings: "重置阅读器设置",
221
+ reloadReaderSettings: "重新加载设置",
222
+ },
223
+ },
224
+ });