@fiduswriter/frontend 0.1.31 → 0.1.33

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 (175) hide show
  1. package/css/admin.css +23 -0
  2. package/css/colors.css +60 -0
  3. package/css/document_overview.css +15 -0
  4. package/css/document_template_admin.css +34 -0
  5. package/css/errorlist.css +14 -0
  6. package/css/feedback.css +136 -0
  7. package/css/figure.css +88 -0
  8. package/css/flatpage.css +44 -0
  9. package/css/fonts.css +398 -0
  10. package/css/forms.css +309 -0
  11. package/css/header_menu.css +114 -0
  12. package/css/inline_tools.css +84 -0
  13. package/css/prelogin.css +173 -0
  14. package/css/reset.css +175 -0
  15. package/css/show_profile.css +94 -0
  16. package/css/text.css +38 -0
  17. package/css/two_factor.css +247 -0
  18. package/css/user_template_manager.css +18 -0
  19. package/dist/css/admin.css +23 -0
  20. package/dist/css/bibliography/bibliography.css +180 -0
  21. package/dist/css/bibliography/colors.css +8 -0
  22. package/dist/css/bibliography/forms.css +102 -0
  23. package/dist/css/colors.css +60 -0
  24. package/dist/css/document/document.css +388 -0
  25. package/dist/css/document-template-editor/document_template_designer.css +198 -0
  26. package/dist/css/document_overview.css +15 -0
  27. package/dist/css/document_template_admin.css +34 -0
  28. package/dist/css/editor/access_rights_dialog.css +75 -0
  29. package/dist/css/editor/carets.css +17 -0
  30. package/dist/css/editor/chat.css +70 -0
  31. package/dist/css/editor/citation_dialog.css +71 -0
  32. package/dist/css/editor/colors.css +97 -0
  33. package/dist/css/editor/contributors.css +13 -0
  34. package/dist/css/editor/document.css +286 -0
  35. package/dist/css/editor/dot_menu.css +42 -0
  36. package/dist/css/editor/e2ee.css +331 -0
  37. package/dist/css/editor/editor.css +1484 -0
  38. package/dist/css/editor/footnotes.css +81 -0
  39. package/dist/css/editor/margin_boxes.css +514 -0
  40. package/dist/css/editor/merge.css +197 -0
  41. package/dist/css/editor/review.css +7 -0
  42. package/dist/css/editor/table.css +13 -0
  43. package/dist/css/editor/tags.css +36 -0
  44. package/dist/css/editor/tracking.css +63 -0
  45. package/dist/css/errorlist.css +14 -0
  46. package/dist/css/feedback.css +136 -0
  47. package/dist/css/figure.css +88 -0
  48. package/dist/css/flatpage.css +44 -0
  49. package/dist/css/fonts.css +398 -0
  50. package/dist/css/forms.css +309 -0
  51. package/dist/css/fwtoolkit/add_remove_dialog.css +18 -0
  52. package/dist/css/fwtoolkit/alerts.css +72 -0
  53. package/dist/css/fwtoolkit/buttons.css +373 -0
  54. package/dist/css/fwtoolkit/checkable_list.css +34 -0
  55. package/dist/css/fwtoolkit/colors.css +119 -0
  56. package/dist/css/fwtoolkit/common.css +196 -0
  57. package/dist/css/fwtoolkit/content_menu.css +105 -0
  58. package/dist/css/fwtoolkit/data_table.css +279 -0
  59. package/dist/css/fwtoolkit/dialog.css +214 -0
  60. package/dist/css/fwtoolkit/dialog_table.css +125 -0
  61. package/dist/css/fwtoolkit/drop_up.css +89 -0
  62. package/dist/css/fwtoolkit/faq_dialog.css +16 -0
  63. package/dist/css/fwtoolkit/file_selector.css +25 -0
  64. package/dist/css/fwtoolkit/forms.css +120 -0
  65. package/dist/css/fwtoolkit/fwtoolkit.css +2683 -0
  66. package/dist/css/fwtoolkit/inline_tools.css +84 -0
  67. package/dist/css/fwtoolkit/input_list.css +33 -0
  68. package/dist/css/fwtoolkit/loader.css +38 -0
  69. package/dist/css/fwtoolkit/overview_menu.css +194 -0
  70. package/dist/css/fwtoolkit/progress_task.css +140 -0
  71. package/dist/css/fwtoolkit/pulldown.css +118 -0
  72. package/dist/css/fwtoolkit/pulldown_menu.css +47 -0
  73. package/dist/css/fwtoolkit/two_pane_selector.css +51 -0
  74. package/dist/css/fwtoolkit/type_switch.css +81 -0
  75. package/dist/css/fwtoolkit/ui_tabs.css +65 -0
  76. package/dist/css/header_menu.css +114 -0
  77. package/dist/css/image-manager/dialog_usermedia.css +8 -0
  78. package/dist/css/inline_tools.css +84 -0
  79. package/dist/css/manifest.json +68 -0
  80. package/dist/css/prelogin.css +173 -0
  81. package/dist/css/reset.css +175 -0
  82. package/dist/css/show_profile.css +94 -0
  83. package/dist/css/text.css +38 -0
  84. package/dist/css/two_factor.css +247 -0
  85. package/dist/css/user_template_manager.css +18 -0
  86. package/dist/i18n/index.d.ts +49 -0
  87. package/dist/i18n/index.d.ts.map +1 -0
  88. package/dist/i18n/index.js +136 -0
  89. package/dist/i18n/index.js.map +1 -0
  90. package/dist/static/fonts/document/Cardo-Bold.woff +0 -0
  91. package/dist/static/fonts/document/Cardo-Italic.woff +0 -0
  92. package/dist/static/fonts/document/Cardo-Regular.woff +0 -0
  93. package/dist/static/fonts/document/CrimsonText-Bold.woff +0 -0
  94. package/dist/static/fonts/document/CrimsonText-BoldItalic.woff +0 -0
  95. package/dist/static/fonts/document/CrimsonText-Italic.woff +0 -0
  96. package/dist/static/fonts/document/CrimsonText-Roman.woff +0 -0
  97. package/dist/static/fonts/document/Lobster-1.4.woff +0 -0
  98. package/dist/static/fonts/document/NoticiaText-Bold.woff +0 -0
  99. package/dist/static/fonts/document/NoticiaText-BoldItalic.woff +0 -0
  100. package/dist/static/fonts/document/NoticiaText-Italic.woff +0 -0
  101. package/dist/static/fonts/document/NoticiaText-Regular.woff +0 -0
  102. package/dist/static/fonts/document/OpenSans-Bold.woff +0 -0
  103. package/dist/static/fonts/document/OpenSans-Regular.woff +0 -0
  104. package/dist/static/fonts/document/SourceSansPro-Bold.woff +0 -0
  105. package/dist/static/fonts/lato/lato-300.woff2 +0 -0
  106. package/dist/static/fonts/lato/lato-400.woff2 +0 -0
  107. package/dist/static/fonts/lato/lato-700.woff2 +0 -0
  108. package/dist/static/fonts/lato/lato-900.woff2 +0 -0
  109. package/dist/static/fonts/lato/lato-ext-300.woff2 +0 -0
  110. package/dist/static/fonts/lato/lato-ext-400.woff2 +0 -0
  111. package/dist/static/fonts/lato/lato-ext-700.woff2 +0 -0
  112. package/dist/static/fonts/lato/lato-ext-900.woff2 +0 -0
  113. package/dist/static/fonts/lato/lato-ext-italic-400.woff2 +0 -0
  114. package/dist/static/fonts/lato/lato-italic-400.woff2 +0 -0
  115. package/dist/static/fonts/roboto/roboto-300.woff2 +0 -0
  116. package/dist/static/fonts/roboto/roboto-700.woff2 +0 -0
  117. package/dist/static/img/accept_change.avif +0 -0
  118. package/dist/static/img/default_avatar.avif +0 -0
  119. package/dist/static/img/error.avif +0 -0
  120. package/dist/static/img/favicon.avif +0 -0
  121. package/dist/static/img/fidus_face.avif +0 -0
  122. package/dist/static/img/free_star.avif +0 -0
  123. package/dist/static/img/icon_192.avif +0 -0
  124. package/dist/static/img/icon_512.avif +0 -0
  125. package/dist/static/ogg/chat_notification.ogg +0 -0
  126. package/dist/static/svg/icon.svg +211 -0
  127. package/locale/ar/messages.json +359 -0
  128. package/locale/bg/messages.json +359 -0
  129. package/locale/cs/messages.json +359 -0
  130. package/locale/da/messages.json +359 -0
  131. package/locale/de/messages.json +359 -0
  132. package/locale/en/messages.json +359 -0
  133. package/locale/en_US/messages.json +359 -0
  134. package/locale/es/messages.json +359 -0
  135. package/locale/fr/messages.json +359 -0
  136. package/locale/it/messages.json +359 -0
  137. package/locale/ja/messages.json +359 -0
  138. package/locale/ko/messages.json +359 -0
  139. package/locale/nb/messages.json +359 -0
  140. package/locale/nl/messages.json +359 -0
  141. package/locale/pl/messages.json +359 -0
  142. package/locale/pt_BR/messages.json +359 -0
  143. package/locale/pt_PT/messages.json +359 -0
  144. package/locale/ru/messages.json +359 -0
  145. package/locale/sv/messages.json +359 -0
  146. package/locale/tr/messages.json +359 -0
  147. package/locale/zh_Hans/messages.json +359 -0
  148. package/package.json +76 -12
  149. package/scripts/aggregate-assets.js +260 -0
  150. package/scripts/compile-i18n.js +114 -0
  151. package/scripts/deploy-pages.sh +31 -0
  152. package/scripts/extract-fwtoolkit-i18n.js +230 -0
  153. package/scripts/extract-i18n-generic.js +278 -0
  154. package/scripts/split-translations.js +304 -0
  155. package/src/i18n/index.ts +165 -0
  156. package/static/fonts/lato/lato-300.woff2 +0 -0
  157. package/static/fonts/lato/lato-400.woff2 +0 -0
  158. package/static/fonts/lato/lato-700.woff2 +0 -0
  159. package/static/fonts/lato/lato-900.woff2 +0 -0
  160. package/static/fonts/lato/lato-ext-300.woff2 +0 -0
  161. package/static/fonts/lato/lato-ext-400.woff2 +0 -0
  162. package/static/fonts/lato/lato-ext-700.woff2 +0 -0
  163. package/static/fonts/lato/lato-ext-900.woff2 +0 -0
  164. package/static/fonts/lato/lato-ext-italic-400.woff2 +0 -0
  165. package/static/fonts/lato/lato-italic-400.woff2 +0 -0
  166. package/static/fonts/roboto/roboto-300.woff2 +0 -0
  167. package/static/fonts/roboto/roboto-700.woff2 +0 -0
  168. package/static/img/default_avatar.avif +0 -0
  169. package/static/img/error.avif +0 -0
  170. package/static/img/favicon.avif +0 -0
  171. package/static/img/fidus_face.avif +0 -0
  172. package/static/img/free_star.avif +0 -0
  173. package/static/img/icon_192.avif +0 -0
  174. package/static/img/icon_512.avif +0 -0
  175. package/static/svg/icon.svg +211 -0
@@ -0,0 +1,359 @@
1
+ {
2
+ "": "zh_Hans",
3
+ "Accept all invites": "接受所有邀请",
4
+ "Accept invite": "接受邀请",
5
+ "Accept of invite": "接受邀请",
6
+ "Access Rights": "访问权",
7
+ "account successfully deleted!": "帐号删除成功!",
8
+ "Add contact": "添加联系人",
9
+ "Add contact or invite new user": "添加联系人或邀请新用户",
10
+ "Add Email": "添加电子邮件",
11
+ "Advantages": "优点",
12
+ "All document templates updated!": "所有文档模板已更新!",
13
+ "All documents updated!": "所有文档均已更新!",
14
+ "All documents, document templates and document revisions updated!": "所有文档、文档模板和文档修订均已更新!",
15
+ "All fields are required!": "所有字段均为必填!",
16
+ "Are you sure you want to disable two-factor authentication? This will reduce the security of your account.": "您确定要禁用双因素身份验证吗?这会降低您帐户的安全性。",
17
+ "Bibliography": "参考书目",
18
+ "Cancel": "取消",
19
+ "Change My Password": "更改我的密码",
20
+ "Change passphrase": "更改密码短语",
21
+ "Change password": "更改密码",
22
+ "Change Password": "更改密码",
23
+ "Change picture": "更改图片",
24
+ "Choose document template": "选择文档模板",
25
+ "Choose encryption type of new document.": "选择新文档的加密类型。",
26
+ "Choose your username": "选择你的用户名",
27
+ "Citation: @entry_key – optional suffix: @entry_key[prefix][locator]. Textual citation: @@entry_key. Multiple sources: @key1;key2": "引用:@entry_key – 可选后缀:@entry_key[前缀][定位符]。文本引用:@@entry_key。多个来源:@key1;key2",
28
+ "Citations with Citation Style Language": "具有引文风格语言的引文",
29
+ "Close": "关闭",
30
+ "Close technical support": "密切的技术支持",
31
+ "Close the template without saving and return to the overview": "关闭模板而不保存并返回到概览",
32
+ "Configure profile": "配置配置文件",
33
+ "Confirm": "确认",
34
+ "Confirm deletion": "确认删除",
35
+ "Confirm E-mail Address": "确认电邮地址",
36
+ "Confirm E-mail Address and Agree to Terms and Conditions": "确认电子邮件地址并同意条款和条件",
37
+ "Confirm Email": "确认电子邮件",
38
+ "Confirm remove": "确认删除",
39
+ "Confirm set primary": "确认设置主要",
40
+ "Confirm the new password": "确认新密码",
41
+ "Confirm your password": "确认您的密码",
42
+ "Confirmation e-mail sent to": "确认电子邮件发送至",
43
+ "Connect": "连接",
44
+ "Contacts": "联系人",
45
+ "Copy": "复制",
46
+ "Copy of": "副本",
47
+ "Copy selected": "复制所选内容",
48
+ "Copy selected as...": "将所选内容复制为...",
49
+ "Copy the documents and assign them to a specific template.": "复制文档并将其分配给特定模板。",
50
+ "Copy the documents that have been selected.": "复制已选择的文档。",
51
+ "Could not copy document.": "无法复制文档。",
52
+ "Could not create document": "无法创建文档",
53
+ "Could not create encrypted document.": "无法创建加密文档。",
54
+ "Could not delete avatar": "无法删除头像",
55
+ "Could not delete document": "无法删除文档",
56
+ "Could not delete document template": "无法删除文档模板",
57
+ "Could not delete revision.": "无法删除修订版。",
58
+ "Could not delete user account.": "无法删除用户帐户。",
59
+ "Could not disable two-factor authentication.": "无法禁用双因素身份验证。",
60
+ "Could not download batch": "无法批量下载",
61
+ "Could not generate QR code. Please use the secret key below.": "无法生成二维码。请使用下面的密钥。",
62
+ "Could not load access rights.": "无法加载访问权限。",
63
+ "Could not move document": "无法移动文档",
64
+ "Could not obtain contacts list": "无法获取联系人列表",
65
+ "Could not obtain extra document data": "无法获取额外的文档数据",
66
+ "Could not save ": "无法保存",
67
+ "Could not save preferences": "无法保存首选项",
68
+ "Could not save profile data": "无法保存个人资料数据",
69
+ "Could not update profile avatar": "无法更新个人资料头像",
70
+ "Could not verify the code.": "无法验证代码。",
71
+ "Create": "新建",
72
+ "Create a password": "创建密码",
73
+ "Create new document": "创建新文档",
74
+ "Create new document template": "创建新文档模板",
75
+ "Create new folder": "创建新文件夹",
76
+ "Created": "已创建",
77
+ "Cross-reference: @#target-id": "交叉引用:@#target-id",
78
+ "Decline all invites": "拒绝所有邀请",
79
+ "Decline invite": "拒绝邀请",
80
+ "Default language": "默认语言",
81
+ "Delete": "删除",
82
+ "Delete account": "删除帐户",
83
+ "Delete picture": "删除图片",
84
+ "Delete selected": "删除所选内容",
85
+ "Delete selected contacts.": "删除选定的联系人。",
86
+ "Delete selected document templates.": "删除选定的文档模板。",
87
+ "Delete the avatar?": "删除头像?",
88
+ "Delete the document template?": "删除文档模板?",
89
+ "Delete the document templates?": "删除文档模板?",
90
+ "Delete the documents that have been selected.": "删除已选择的文档。",
91
+ "Description": "描述",
92
+ "Did you encounter an error or bug?": "您遇到错误或错误吗?",
93
+ "Disable 2FA": "禁用 2FA",
94
+ "Disable Two-Factor Authentication": "禁用双因素身份验证",
95
+ "Disabled": "残疾人",
96
+ "Disadvantages": "缺点",
97
+ "Disconnected": "已断开连接",
98
+ "Do you really want to delete the following document?": "您确实要删除以下文档吗?",
99
+ "Do you really want to delete the following documents?": "您确实要删除以下文档吗?",
100
+ "Do you really want to delete the revision?": "您确实要删除修订版吗?",
101
+ "Do you want to accept the below invite?": "您想接受以下邀请吗?",
102
+ "Do you want to accept the below invites?": "您想接受以下邀请吗?",
103
+ "Document data loading failed.": "文档数据加载失败。",
104
+ "Document has been deleted": "文档已被删除",
105
+ "Document has been moved": "文档已被移动",
106
+ "Document Overview": "文档概述",
107
+ "Document Settings": "文档设置",
108
+ "Document template still required by documents": "文件仍需要文件模板",
109
+ "Document template successfully deleted": "文档模板已成功删除",
110
+ "Document templates loading failed.": "文档模板加载失败。",
111
+ "Document Templates Overview": "文档模板概述",
112
+ "Documents": "文件",
113
+ "Download": "下载",
114
+ "Download selected": "下载选定的",
115
+ "Download selected document templates.": "下载选定的文档模板。",
116
+ "Downloaded batch": "已下载批次",
117
+ "Duplicate selected": "重复选择",
118
+ "Duplicate selected document templates.": "复制选定的文档模板。",
119
+ "E-mail address": "电子邮件",
120
+ "E-mail address or username": "电子邮件地址或用户名",
121
+ "Easier collaboration — no need to share passwords with collaborators.": "更轻松的协作 - 无需与协作者共享密码。",
122
+ "edit documents": "编辑文档",
123
+ "Edit profile picture": "编辑个人资料图片",
124
+ "Editing with ProseMirror": "使用 ProseMirror 进行编辑",
125
+ "Editor": "编辑",
126
+ "Email": "电子邮件",
127
+ "Email address": "电子邮件",
128
+ "Email successfully deleted!": "电子邮件成功删除!",
129
+ "Email verified!": "邮箱已验证!",
130
+ "Enable 2FA": "启用 2FA",
131
+ "Enable inline math typing ($)": "启用内联数学输入 ($)",
132
+ "Enable inline reference typing (@)": "启用内联引用类型 (@)",
133
+ "Enabled": "启用",
134
+ "Encrypt the copy": "加密副本",
135
+ "Encrypted": "加密",
136
+ "Encrypted Document": "加密文档",
137
+ "Encrypted documents protect your content so that only people with the password can read it.": "加密文档可以保护您的内容,以便只有知道密码的人才能阅读。",
138
+ "End-to-end encrypted document": "端到端加密文档",
139
+ "End-to-End Encryption": "端到端加密",
140
+ "Enter the 6-digit code from your authenticator app to verify:": "输入验证器应用程序中的 6 位代码进行验证:",
141
+ "Enter the 6-digit code from your authenticator app:": "输入验证器应用程序中的 6 位代码:",
142
+ "Enter the new E-mail address": "输入新的电子邮件地址",
143
+ "Equations and Math with MathLive": "使用 MathLive 进行方程和数学",
144
+ "Error 404": "404 错误",
145
+ "Export selected as BITS": "导出选择为 BITS",
146
+ "Export selected as Epub": "导出选择为 Epub",
147
+ "Export selected as FIDUS": "导出选择为 FIDUS",
148
+ "Export selected as HTML": "将所选内容导出为 HTML",
149
+ "Export selected as JATS": "导出选择为 JATS",
150
+ "Export selected as LaTeX": "将选定的内容导出为 LaTeX",
151
+ "Export selected as Slim FIDUS": "导出选择为 Slim FIDUS",
152
+ "Export the documents that have been selected as BITS files.": "导出已选择为 BITS 文件的文档。",
153
+ "Export the documents that have been selected as Epub files.": "将已选择的文档导出为 Epub 文件。",
154
+ "Export the documents that have been selected as FIDUS files including their templates.": "导出已选择为 FIDUS 文件的文档(包括其模板)。",
155
+ "Export the documents that have been selected as FIDUS files without their templates.": "导出已选择为 FIDUS 文件的文档,不带模板。",
156
+ "Export the documents that have been selected as HTML files.": "将已选择的文档导出为 HTML 文件。",
157
+ "Export the documents that have been selected as JATS files.": "导出已选择为 JATS 文件的文档。",
158
+ "Export the documents that have been selected as LaTeX files.": "将已选择的文档导出为 LaTeX 文件。",
159
+ "Exporting...": "出口...",
160
+ "Failed to change passphrase: ": "更改密码失败:",
161
+ "Failed to set up passphrase: ": "设置密码失败:",
162
+ "File too large": "文件太大",
163
+ "First name": "名",
164
+ "Forgot Password?": "忘记密码?",
165
+ "Full access rights options including tracked changes and review modes.": "完整的访问权限选项,包括跟踪更改和审阅模式。",
166
+ "Give a brief description of what has happened.": "简要描述所发生的事情。",
167
+ "Go to contacts": "转到联系人",
168
+ "I am aware that I am signing up for a test account and that service may be ended abruptly and without notice, leaving me without my files.": "我知道我正在注册一个测试帐户,该服务可能会在没有通知的情况下突然终止,从而导致我丢失文件。",
169
+ "If you lose the password or passphrase, there is no way to recover the document.": "如果您丢失密码或密码短语,则无法恢复文档。",
170
+ "Images": "图片",
171
+ "Import": "导入",
172
+ "Import a document": "导入文档",
173
+ "Import a Fidus Template file": "导入 Fidus 模板文件",
174
+ "Import as:": "导入为:",
175
+ "Import document": "进口文件",
176
+ "Incorrect passphrase. Please try again.": "密码不正确。请再试一次。",
177
+ "Incorrect password.": "密码不正确。",
178
+ "Instructions emailed": "通过电子邮件发送说明",
179
+ "Invalid email!": "无效的电子邮件!",
180
+ "Invite contact": "邀请联系",
181
+ "Invite you received": "您收到的邀请",
182
+ "Invite you sent": "邀请您发送",
183
+ "Language": "语言",
184
+ "Last changed": "最后更改",
185
+ "Last name": "姓",
186
+ "Leaving an empty folder will delete it. Do you really want to delete this folder?": "留下空文件夹将删除它。您真的要删除该文件夹吗?",
187
+ "Limited access rights options (no tracked changes or review modes).": "有限的访问权限选项(无跟踪更改或审阅模式)。",
188
+ "Loading access rights…": "正在加载访问权限...",
189
+ "Log in": "登录",
190
+ "Log out": "退出",
191
+ "Login": "登录",
192
+ "Login with": "登录方式",
193
+ "manage bibliography library": "管理书目图书馆",
194
+ "manage image files": "管理图像文件",
195
+ "Message delivered": "消息已送达",
196
+ "Message delivered successfully!": "消息发送成功!",
197
+ "Move document": "移动文档",
198
+ "Move documents": "移动文档",
199
+ "Move selected": "移动所选内容",
200
+ "Move the documents that have been selected.": "移动已选择的文档。",
201
+ "Name": "姓名",
202
+ "New email address is required!": "需要新的电子邮件地址!",
203
+ "New here?": "新来的?",
204
+ "New password": "新密码",
205
+ "No additional protection beyond your account password.": "除了您的帐户密码之外,没有其他保护。",
206
+ "No contacts available": "没有可用的联系人",
207
+ "No contacts found": "未找到联系人",
208
+ "No document revisions to update.": "没有要更新的文档修订。",
209
+ "No document templates available": "没有可用的文档模板",
210
+ "No document templates found": "未找到文档模板",
211
+ "No document templates to update.": "没有要更新的文档模板。",
212
+ "No documents available": "无可用文件",
213
+ "No documents found": "没有找到文件",
214
+ "No documents to update.": "没有要更新的文档。",
215
+ "No importable files found in ZIP": "ZIP 中找不到可导入的文件",
216
+ "No risk of losing access if you forget a password.": "如果您忘记密码,没有失去访问权限的风险。",
217
+ "Non-encrypted": "未加密",
218
+ "Not set up": "未设置",
219
+ "Note:": "笔记:",
220
+ "NOTICE: ALL OF YOUR INFORMATION WILL DISAPPEAR FROM OUR SYSTEM!": "注意:您的所有信息将从我们的系统中消失!",
221
+ "Old password": "旧密码",
222
+ "Only people with the password can read the document.": "只有知道密码的人才能阅读该文档。",
223
+ "Or enter this code manually:": "或者手动输入此代码:",
224
+ "Other users have requested to connect with you. Go to the contacts page to accept their invites.": "其他用户已请求与您联系。转到联系人页面接受他们的邀请。",
225
+ "Owner": "所有者",
226
+ "Page not found": "找不到页面",
227
+ "Passphrase changed successfully.": "密码更改成功。",
228
+ "Password": "密码",
229
+ "Password (again)": "密码(再次)",
230
+ "Password incorrect.": "密码不正确。",
231
+ "Password reset": "密码重置",
232
+ "Personal passphrase set up": "个人密码设置",
233
+ "Please confirm the new password!": "请确认新密码!",
234
+ "Please contact us if you do not receive it within a few minutes.": "如果您在几分钟内没有收到,请联系我们。",
235
+ "Please enter a 6-digit code.": "请输入 6 位数代码。",
236
+ "Primary address": "主要地址",
237
+ "Privacy policy": "隐私政策",
238
+ "Really delete your account? Type in your username and password below to confirm deletion.": "真的删除你的帐户吗?在下面输入您的用户名和密码以确认删除。",
239
+ "Recover with recovery key": "使用恢复密钥恢复",
240
+ "Recovery failed: ": "恢复失败:",
241
+ "Recovery failed. Please check your recovery key and try again.": "恢复失败。请检查您的恢复密钥并重试。",
242
+ "Recreate": "重建",
243
+ "Regular documents are the default and work well for most users.": "常规文档是默认文档,对于大多数用户来说效果很好。",
244
+ "Reload page": "重新加载页面",
245
+ "Remember me": "记住账号",
246
+ "Remove": "消除",
247
+ "Remove from contacts": "从联系人中删除",
248
+ "Remove the email address": "删除电子邮件地址",
249
+ "Remove the link to the account at": "删除帐户链接",
250
+ "Reset My Password": "重置我的密码",
251
+ "Reset Password": "重置密码",
252
+ "Respond": "回应",
253
+ "Revision deleted": "修订已删除",
254
+ "Revision of": "修订",
255
+ "Revisions": "修订",
256
+ "Save": "保存",
257
+ "Saved revisions of": "已保存的修订",
258
+ "Saved template": "保存的模板",
259
+ "Scan this QR code with your authenticator app (Google Authenticator, Authy, etc.)": "使用您的身份验证器应用程序(Google Authenticator、Authy 等)扫描此二维码",
260
+ "Search contacts": "搜索联系人",
261
+ "Search documents": "搜索文件",
262
+ "Select a file": "选择一个文件",
263
+ "Select document template for copies": "选择副本的文档模板",
264
+ "Select document template for copy.": "选择要复制的文档模板。",
265
+ "Select language": "选择语言",
266
+ "Sending...": "正在发送...",
267
+ "Set this email as the address primary": "将此电子邮件设置为主要地址",
268
+ "Set up encryption passphrase": "设置加密密码",
269
+ "Set Up Passphrase": "设置密码",
270
+ "Set Up Personal Encryption (Optional)": "设置个人加密(可选)",
271
+ "Set Up Two-Factor Authentication": "设置双因素身份验证",
272
+ "Settings": "设置",
273
+ "Share selected": "分享所选内容",
274
+ "Share the documents that have been selected.": "共享已选择的文档。",
275
+ "Share your document with others": "与他人共享您的文档",
276
+ "Sign up": "报名",
277
+ "Sign Up Closed": "注册已关闭",
278
+ "Signup": "报名",
279
+ "Site navigation": "站点导航",
280
+ "Skip for Now": "暂时跳过",
281
+ "Social Account Provider": "社交账户提供商",
282
+ "Some copies of your files may temporarily be kept in our backup system, but also these will disappear automatically in due time.": "您的文件的某些副本可能会暂时保留在我们的备份系统中,但这些副本也会在适当的时候自动消失。",
283
+ "Staff accounts have to be deleted through the admin interface.": "必须通过管理界面删除员工帐户。",
284
+ "submit": "提交",
285
+ "Submit": "提交",
286
+ "Supported formats": "支持的格式",
287
+ "Tech support": "技术支持",
288
+ "Technical support": "技术支援",
289
+ "Template Editor": "模板编辑器",
290
+ "Terms and Conditions": "条款和条件",
291
+ "Thank you for your report!": "感谢您的报告!",
292
+ "Thanks for verifying!": "感谢您验证!",
293
+ "The %(appName)s server is currently being updated. Please wait.": "当前正在更新 %(appName)s 服务器。请稍等。",
294
+ "The account could not be deleted!": "该帐户无法删除!",
295
+ "The document has been updated": "文档已更新",
296
+ "The document revision has been updated: ": "文档修订已更新:",
297
+ "The document template could not be copied": "无法复制文档模板",
298
+ "The document template has been updated": "文档模板已更新",
299
+ "The email could not be added!": "无法添加邮箱!",
300
+ "The email could not be deleted!": "邮件无法删除!",
301
+ "The email could not be set to be primary email.": "该电子邮件无法设置为主电子邮件。",
302
+ "The page you are looking for cannot be found.": "无法找到您要查找的页面。",
303
+ "The password could not be changed": "密码无法更改",
304
+ "The password could not be changed!": "密码无法更改!",
305
+ "The password has been changed.": "密码已更改。",
306
+ "The primary email has been updated.": "主要电子邮件已更新。",
307
+ "The server can technically access the document contents.": "服务器在技术上可以访问文档内容。",
308
+ "The server cannot access the document contents.": "服务器无法访问文档内容。",
309
+ "This document will be saved as encrypted.": "该文档将被加密保存。",
310
+ "This e-mail confirmation link expired or is invalid. Please try to open another account.": "此电子邮件确认链接已过期或无效。请尝试开设另一个帐户。",
311
+ "This field is required.": "此字段是必需的。",
312
+ "This is not a valid email.": "这不是有效的电子邮件。",
313
+ "This is optional. You can also use a per-document password instead.": "这是可选的。您还可以使用每个文档的密码。",
314
+ "This person is already in your contacts!": "此人已在您的联系人中!",
315
+ "Time": "时间",
316
+ "Title": "标题",
317
+ "Two-Factor Authentication": "双因素身份验证",
318
+ "Two-factor setup failed.": "双因素设置失败。",
319
+ "Type": "类型",
320
+ "Type @ in the editor to insert a citation or cross-reference:": "在编辑器中输入 @ 以插入引用或交叉引用:",
321
+ "Type $ in the editor followed by LaTeX math to insert an equation inline, e.g. $x^2. Press Enter or Tab to confirm.": "在编辑器中输入 $,然后输入 LaTeX math 以插入内联方程式,例如$x^2。按 Enter 或 Tab 进行确认。",
322
+ "Undefined": "不明确的",
323
+ "Unsupported file format": "不支持的文件格式",
324
+ "Untitled": "无题",
325
+ "Update": "更新",
326
+ "Updating document templates.": "更新文档模板。",
327
+ "Updating documents.": "更新文档。",
328
+ "Updating saved revisions.": "更新保存的修订。",
329
+ "Updating...": "更新中...",
330
+ "Upload": "上传",
331
+ "Upload FIDUSTEMPLATE file": "上传 FIDUSTEMPLATE 文件",
332
+ "Upload your profile picture": "上传您的个人资料照片",
333
+ "User": "用户",
334
+ "Username": "用户名",
335
+ "Username or e-mail": "用户名或电子邮件",
336
+ "Verified": "已验证",
337
+ "Verify": "核实",
338
+ "Verify Your E-mail Address": "验证您的电子邮件地址",
339
+ "We are sorry, but the sign up is currently closed.": "很抱歉,注册目前已关闭。",
340
+ "We cannot reverse an account deletion.": "我们无法撤销帐户删除。",
341
+ "We have sent an e-mail to your email address for verification. Follow the link provided to finalize the signup process.": "我们已向您的电子邮件地址发送了一封电子邮件以进行验证。按照提供的链接完成注册过程。",
342
+ "Would you like to set up a personal passphrase now? This will allow you to unlock all your encrypted documents with a single passphrase.": "您想现在设置个人密码吗?这将允许您使用单个密码解锁所有加密文档。",
343
+ "You are currently disconnected from the %(appName)s server.": "您当前已与 %(appName)s 服务器断开连接。",
344
+ "You are viewing a cached version of this page.": "您正在查看此页面的缓存版本。",
345
+ "You can also upload a ZIP file that contains one file in any of these formats as well as images and/or bibtex file.": "您还可以上传包含任一这些格式的文件以及图像和/或 bibtex 文件的 ZIP 文件。",
346
+ "You can now log in.": "您现在可以登录了。",
347
+ "You cannot add yourself to your contacts!": "您无法将自己添加到联系人中!",
348
+ "You cannot delete a document while you are offline.": "离线时无法删除文档。",
349
+ "You cannot delete documents of other users": "您无法删除其他用户的文档",
350
+ "You cannot delete system document templates.": "您无法删除系统文档模板。",
351
+ "You cannot open a document while you are offline.": "离线时无法打开文档。",
352
+ "You cannot share documents of other users": "您无法共享其他用户的文档",
353
+ "You cannot view the revision history of a document while you are offline.": "离线时您无法查看文档的修订历史记录。",
354
+ "You have indicated that you have forgotten your password. Please enter your new password in the form twice.": "您已表明您忘记了密码。请在表格中输入两次新密码。",
355
+ "You must share the password with collaborators manually (unless they use a personal passphrase).": "您必须手动与协作者共享密码(除非他们使用个人密码)。",
356
+ "You must type the same password each time.": "您必须每次输入相同的密码。",
357
+ "You need to set up a personal passphrase before you can import documents.": "您需要先设置个人密码才能导入文档。",
358
+ "Your password has been reset and you can now log in with the new password.": "您的密码已重置,您现在可以使用新密码登录。"
359
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiduswriter/frontend",
3
- "version": "0.1.31",
3
+ "version": "0.1.33",
4
4
  "description": "Fidus Writer-specific shared utilities and UI chrome",
5
5
  "repository": {
6
6
  "type": "git",
@@ -163,17 +163,25 @@
163
163
  "./api": {
164
164
  "types": "./dist/api/index.d.ts",
165
165
  "default": "./dist/api/index.js"
166
+ },
167
+ "./i18n": {
168
+ "types": "./dist/i18n/index.d.ts",
169
+ "default": "./dist/i18n/index.js"
166
170
  }
167
171
  },
168
172
  "files": [
169
173
  "dist/",
174
+ "css/",
175
+ "static/",
176
+ "scripts/",
170
177
  "src/",
178
+ "locale/*/messages.json",
171
179
  "README.md",
172
180
  "LICENSE",
173
181
  "logo.svg"
174
182
  ],
175
183
  "scripts": {
176
- "build": "tsc",
184
+ "build": "tsc && node scripts/aggregate-assets.js",
177
185
  "prepare": "npm run build",
178
186
  "prepublishOnly": "npm run build",
179
187
  "typecheck": "tsc --noEmit",
@@ -182,16 +190,17 @@
182
190
  "format": "prettier --write .",
183
191
  "format:check": "prettier --check .",
184
192
  "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config jest.config.js",
185
- "install-hooks": "husky"
193
+ "install-hooks": "husky",
194
+ "postinstall": "node scripts/aggregate-assets.js"
186
195
  },
187
196
  "dependencies": {
188
- "@fiduswriter/bibliography-manager": "^0.1.22",
189
- "@fiduswriter/document": "^0.2.30",
190
- "@fiduswriter/document-template-editor": "^0.1.10",
191
- "@fiduswriter/image-manager": "^0.1.16",
192
- "@fiduswriter/editor": "^0.1.52",
197
+ "@fiduswriter/bibliography-manager": "^0.1.25",
198
+ "@fiduswriter/document": "^0.2.32",
199
+ "@fiduswriter/document-template-editor": "^0.1.12",
200
+ "@fiduswriter/editor": "^0.1.54",
201
+ "@fiduswriter/image-manager": "^0.1.19",
193
202
  "downloadjs": "^1.4.7",
194
- "fwtoolkit": "^0.2.1",
203
+ "fwtoolkit": "^0.2.4",
195
204
  "jszip": "^3.10.1",
196
205
  "prosemirror-history": "^1.3.2",
197
206
  "prosemirror-keymap": "^1.2.2",
@@ -208,16 +217,71 @@
208
217
  "@types/jest": "^30.0.0",
209
218
  "@types/qrcode": "^1.5.6",
210
219
  "eslint": "^10.6.0",
220
+ "gettext-parser": "^9.1.1",
211
221
  "globals": "^15.15.0",
212
222
  "happy-dom": "^20.10.6",
223
+ "husky": "^9.1.7",
213
224
  "jest": "^30.4.2",
225
+ "lint-staged": "^17.0.8",
214
226
  "prettier": "^3.5.3",
215
227
  "ts-jest": "^29.4.11",
216
228
  "ts-jest-resolver": "^2.0.1",
217
229
  "typescript": "^6.0.3",
218
- "typescript-eslint": "^8.62.0",
219
- "husky": "^9.1.7",
220
- "lint-staged": "^17.0.8"
230
+ "typescript-eslint": "^8.62.0"
231
+ },
232
+ "fiduswriter": {
233
+ "css": {
234
+ "fwtoolkit": [
235
+ "colors.css",
236
+ "forms.css",
237
+ "buttons.css",
238
+ "dialog.css",
239
+ "loader.css",
240
+ "alerts.css",
241
+ "pulldown.css",
242
+ "data_table.css",
243
+ "overview_menu.css",
244
+ "progress_task.css",
245
+ "ui_tabs.css",
246
+ "content_menu.css",
247
+ "dialog_table.css",
248
+ "common.css",
249
+ "drop_up.css",
250
+ "faq_dialog.css",
251
+ "file_selector.css",
252
+ "inline_tools.css",
253
+ "input_list.css",
254
+ "two_pane_selector.css",
255
+ "type_switch.css",
256
+ "checkable_list.css",
257
+ "pulldown_menu.css",
258
+ "add_remove_dialog.css"
259
+ ],
260
+ "own": {
261
+ "additive": [
262
+ "colors.css",
263
+ "forms.css"
264
+ ],
265
+ "component": [
266
+ "reset.css",
267
+ "fonts.css",
268
+ "text.css",
269
+ "figure.css",
270
+ "header_menu.css",
271
+ "admin.css",
272
+ "flatpage.css",
273
+ "inline_tools.css",
274
+ "prelogin.css",
275
+ "document_overview.css",
276
+ "document_template_admin.css",
277
+ "show_profile.css",
278
+ "two_factor.css",
279
+ "feedback.css",
280
+ "user_template_manager.css",
281
+ "errorlist.css"
282
+ ]
283
+ }
284
+ }
221
285
  },
222
286
  "lint-staged": {
223
287
  "*.{ts,js,mjs,css,md,json,html}": [