diff --git a/frontend/package-lock.json b/frontend/package-lock.json index a2a8c5dda9..a5fd4d7b8a 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -11,7 +11,7 @@ "@gatsbyjs/reach-router": "1.3.9", "@seafile/react-image-lightbox": "2.0.2", "@seafile/resumablejs": "1.1.16", - "@seafile/sdoc-editor": "0.1.95", + "@seafile/sdoc-editor": "0.1.96", "@seafile/seafile-calendar": "0.0.12", "@seafile/seafile-editor": "0.3.132", "@seafile/slate-react": "0.54.13", @@ -5207,9 +5207,9 @@ "license": "MIT" }, "node_modules/@seafile/sdoc-editor": { - "version": "0.1.95", - "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.95.tgz", - "integrity": "sha512-ooLmGm4cv+3dL32NTan4tOVlcze+NYZ/kyfqR0otlm7DKahA7uiqqBTOCFvhV/fVuv0LXm3n0cN7nqM4D/GuRA==", + "version": "0.1.96", + "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.96.tgz", + "integrity": "sha512-az3YjeHXl8JFxUZqltxzsaRkWD6l6SuqzJ6atdC8EiABIbFDlCxOgmHSBEn/kgO8ds6Pk3q7udFXeX3bZ9SBxw==", "dependencies": { "@seafile/react-image-lightbox": "2.0.2", "@seafile/slate": "0.91.8", @@ -33418,9 +33418,9 @@ "version": "1.1.16" }, "@seafile/sdoc-editor": { - "version": "0.1.95", - "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.95.tgz", - "integrity": "sha512-ooLmGm4cv+3dL32NTan4tOVlcze+NYZ/kyfqR0otlm7DKahA7uiqqBTOCFvhV/fVuv0LXm3n0cN7nqM4D/GuRA==", + "version": "0.1.96", + "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.96.tgz", + "integrity": "sha512-az3YjeHXl8JFxUZqltxzsaRkWD6l6SuqzJ6atdC8EiABIbFDlCxOgmHSBEn/kgO8ds6Pk3q7udFXeX3bZ9SBxw==", "requires": { "@seafile/react-image-lightbox": "2.0.2", "@seafile/slate": "0.91.8", diff --git a/frontend/package.json b/frontend/package.json index 9095e8585e..647a9d923a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -6,7 +6,7 @@ "@gatsbyjs/reach-router": "1.3.9", "@seafile/react-image-lightbox": "2.0.2", "@seafile/resumablejs": "1.1.16", - "@seafile/sdoc-editor": "0.1.95", + "@seafile/sdoc-editor": "0.1.96", "@seafile/seafile-calendar": "0.0.12", "@seafile/seafile-editor": "0.3.132", "@seafile/slate-react": "0.54.13", diff --git a/media/sdoc-editor/locales/en/sdoc-editor.json b/media/sdoc-editor/locales/en/sdoc-editor.json index ba8fd841b3..0295468c6d 100644 --- a/media/sdoc-editor/locales/en/sdoc-editor.json +++ b/media/sdoc-editor/locales/en/sdoc-editor.json @@ -319,5 +319,8 @@ "Creator": "Creator", "Created_time": "Created time", "Created_at": "Created at", - "Resolved_tip": "Mark as resolved and hide discussion" + "Resolved_tip": "Mark as resolved and hide discussion", + "Search_language": "Search language", + "Sdoc_error_tip": "The document has errors and cannot be displayed. Please try to fix it automatically by clicking the button below.", + "Repair": "Repair" } diff --git a/media/sdoc-editor/locales/zh-CN/sdoc-editor.json b/media/sdoc-editor/locales/zh-CN/sdoc-editor.json index 3052700431..e754590582 100644 --- a/media/sdoc-editor/locales/zh-CN/sdoc-editor.json +++ b/media/sdoc-editor/locales/zh-CN/sdoc-editor.json @@ -319,5 +319,8 @@ "Creator": "创建者", "Created_time": "创建时间", "Created_at": "创建时间", - "Resolved_tip": "标记为已解决并隐藏讨论内容" + "Resolved_tip": "标记为已解决并隐藏讨论内容", + "Search_language": "查找语言", + "Sdoc_error_tip": "文档有错误,无法显示。请尝试点击下方按钮自动修复。", + "Repair": "修复" }