diff --git a/frontend/package-lock.json b/frontend/package-lock.json index c17329993d..9493434c2c 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -17,7 +17,7 @@ "@gatsbyjs/reach-router": "2.0.1", "@seafile/react-image-lightbox": "4.0.2", "@seafile/resumablejs": "1.1.16", - "@seafile/sdoc-editor": "2.0.40", + "@seafile/sdoc-editor": "2.0.42", "@seafile/seafile-calendar": "0.0.28", "@seafile/seafile-editor": "2.0.2", "@seafile/stldraw-editor": "1.0.1", @@ -5572,9 +5572,9 @@ "license": "MIT" }, "node_modules/@seafile/sdoc-editor": { - "version": "2.0.40", - "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-2.0.40.tgz", - "integrity": "sha512-fui0Hwrur5JcSWGRHM+SFzCSRpcrX7WcB8UD/i2XX3msJm2gNQsENiI65giHau9RCO3wIWGiF4BzzJoJsCelDg==", + "version": "2.0.42", + "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-2.0.42.tgz", + "integrity": "sha512-fklCA07P1DEx5wja3SnobjlBei8jj0CddAtgngFxQCGXmyLjSguRirZZIioWxDSaOExA39kURoIBqsxLoaBovQ==", "license": "ISC", "dependencies": { "@seafile/print-js": "1.6.6", diff --git a/frontend/package.json b/frontend/package.json index e0868fa2af..b1e5d727bf 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -12,7 +12,7 @@ "@gatsbyjs/reach-router": "2.0.1", "@seafile/react-image-lightbox": "4.0.2", "@seafile/resumablejs": "1.1.16", - "@seafile/sdoc-editor": "2.0.40", + "@seafile/sdoc-editor": "2.0.42", "@seafile/seafile-calendar": "0.0.28", "@seafile/seafile-editor": "2.0.2", "@seafile/stldraw-editor": "1.0.1", diff --git a/media/sdoc-editor/locales/en/sdoc-editor.json b/media/sdoc-editor/locales/en/sdoc-editor.json index b944ddecad..f87813746e 100644 --- a/media/sdoc-editor/locales/en/sdoc-editor.json +++ b/media/sdoc-editor/locales/en/sdoc-editor.json @@ -626,5 +626,6 @@ "Insert_chart": "Insert chart", "Edit_chart": "Edit chart", "Please_complete_the_chart_configuration_first": "Please complete the chart configuration first", - "chart": "chart" + "chart": "chart", + "Image_is_upload_error": "Image upload failed, please delete it and try again" } diff --git a/media/sdoc-editor/locales/zh-CN/sdoc-editor.json b/media/sdoc-editor/locales/zh-CN/sdoc-editor.json index 47eaeefd15..80b44ab3de 100644 --- a/media/sdoc-editor/locales/zh-CN/sdoc-editor.json +++ b/media/sdoc-editor/locales/zh-CN/sdoc-editor.json @@ -622,5 +622,7 @@ "Double_click_then_adjust_field_width": "双击后调节字段宽度", "Insert_chart": "插入图表", "Edit_chart": "编辑图表", - "Please_complete_the_chart_configuration_first": "请先完成图表配置" + "Please_complete_the_chart_configuration_first": "请先完成图表配置", + "chart": "图表", + "Image_is_upload_error": "图片上传失败,请删除后重新尝试" } diff --git a/media/sdoc-editor/locales/zh_CN/sdoc-editor.json b/media/sdoc-editor/locales/zh_CN/sdoc-editor.json index 47eaeefd15..80b44ab3de 100644 --- a/media/sdoc-editor/locales/zh_CN/sdoc-editor.json +++ b/media/sdoc-editor/locales/zh_CN/sdoc-editor.json @@ -622,5 +622,7 @@ "Double_click_then_adjust_field_width": "双击后调节字段宽度", "Insert_chart": "插入图表", "Edit_chart": "编辑图表", - "Please_complete_the_chart_configuration_first": "请先完成图表配置" + "Please_complete_the_chart_configuration_first": "请先完成图表配置", + "chart": "图表", + "Image_is_upload_error": "图片上传失败,请删除后重新尝试" }