From 95a1df9d3728a8b56f63e051bd6e5c76e904a19b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E9=A1=BA=E5=BC=BA?= <978987373@qq.com> Date: Sat, 15 Feb 2025 14:58:59 +0800 Subject: [PATCH] update sdoc version and sdoc translate --- frontend/package-lock.json | 10 +++++----- frontend/package.json | 2 +- media/sdoc-editor/locales/cs/sdoc-editor.json | 10 ++++++++-- media/sdoc-editor/locales/de/sdoc-editor.json | 9 +++++++-- media/sdoc-editor/locales/en/sdoc-editor.json | 9 +++++++-- media/sdoc-editor/locales/es-AR/sdoc-editor.json | 10 ++++++++-- media/sdoc-editor/locales/es-MX/sdoc-editor.json | 10 ++++++++-- media/sdoc-editor/locales/es/sdoc-editor.json | 10 ++++++++-- media/sdoc-editor/locales/es_AR/sdoc-editor.json | 10 ++++++++-- media/sdoc-editor/locales/es_MX/sdoc-editor.json | 10 ++++++++-- media/sdoc-editor/locales/fr/sdoc-editor.json | 10 ++++++++-- media/sdoc-editor/locales/it/sdoc-editor.json | 10 ++++++++-- media/sdoc-editor/locales/ru/sdoc-editor.json | 9 +++++++-- media/sdoc-editor/locales/zh-CN/sdoc-editor.json | 7 ++++++- media/sdoc-editor/locales/zh_CN/sdoc-editor.json | 7 ++++++- 15 files changed, 103 insertions(+), 30 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index b0138470d3..6d76722cf1 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -14,9 +14,9 @@ "@emoji-mart/data": "^1.2.1", "@emoji-mart/react": "^1.1.1", "@gatsbyjs/reach-router": "1.3.9", - "@seafile/react-image-lightbox": "^3.0.7", + "@seafile/react-image-lightbox": "3.0.7", "@seafile/resumablejs": "1.1.16", - "@seafile/sdoc-editor": "1.0.218", + "@seafile/sdoc-editor": "1.0.219", "@seafile/seafile-calendar": "0.0.28", "@seafile/seafile-editor": "1.0.133", "@seafile/sf-metadata-ui-component": "^0.0.68", @@ -5080,9 +5080,9 @@ "license": "MIT" }, "node_modules/@seafile/sdoc-editor": { - "version": "1.0.218", - "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-1.0.218.tgz", - "integrity": "sha512-0ePTaM0iHTNvCD7NvfQ0yg4+QT2g8SaXWFAy878gU6NpVdMgRQTfgPf1FQNRsqxU/0Rn+wdn4kB3cLq2UZhRVw==", + "version": "1.0.219", + "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-1.0.219.tgz", + "integrity": "sha512-PVZToACxY8bOVeyMk/Pd3zpE2aCwFKDpXEhXsoIBQfHbHrEILcjYYg5GMPViOiUL7bDcfrfN7ZdRfYvFP9u85Q==", "dependencies": { "@seafile/print-js": "1.6.6", "@seafile/react-image-lightbox": "4.0.0", diff --git a/frontend/package.json b/frontend/package.json index 475d07a478..d3a21f76ec 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -11,7 +11,7 @@ "@gatsbyjs/reach-router": "1.3.9", "@seafile/react-image-lightbox": "3.0.7", "@seafile/resumablejs": "1.1.16", - "@seafile/sdoc-editor": "1.0.218", + "@seafile/sdoc-editor": "1.0.219", "@seafile/seafile-calendar": "0.0.28", "@seafile/seafile-editor": "1.0.133", "@seafile/sf-metadata-ui-component": "^0.0.68", diff --git a/media/sdoc-editor/locales/cs/sdoc-editor.json b/media/sdoc-editor/locales/cs/sdoc-editor.json index a1c8ad9340..4048e9f02b 100644 --- a/media/sdoc-editor/locales/cs/sdoc-editor.json +++ b/media/sdoc-editor/locales/cs/sdoc-editor.json @@ -573,7 +573,7 @@ "Five_column": "5 columns", "Full_width_mode": "Full width mode", "Video": "Video", - "Upload_local_video": "Upload_local_video", + "Upload_local_video": "Upload local video", "The_current_version_does_not_support_>5MB_video_file": "The_current_version_does_not_support_>5MB_video_file", "Token_expired_Please_refresh_the_page": "Token expired. Please refresh the page.", "Link_to_page": "Link to page", @@ -607,6 +607,12 @@ "Enter_reply": "Enter reply", "Processing_content_cannot_be_empty": "Processing content cannot be empty", "AI_error_message": "Request error, please try again", + "Add_video_link": "Add video link", + "Link_Seafile_video_file": "Link Seafile video file", + "Select_video_file": "Select video file", + "Support_Youtube_Tencent_Bilibili_and_more": "Support Youtube, Tencent, Bilibili and more", "Image_cannot_be_copied_Please_download_the_source_image": "Image cannot be copied. Please download the source image,", - "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload." + "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload.", + "Image_copy_error": "Image copy error" + } diff --git a/media/sdoc-editor/locales/de/sdoc-editor.json b/media/sdoc-editor/locales/de/sdoc-editor.json index cc1a836393..80c05a182d 100644 --- a/media/sdoc-editor/locales/de/sdoc-editor.json +++ b/media/sdoc-editor/locales/de/sdoc-editor.json @@ -573,7 +573,7 @@ "Five_column": "5 Spalten", "Full_width_mode": "Full width mode", "Video": "Video", - "Upload_local_video": "Upload_local_video", + "Upload_local_video": "Lokales Video hochladen", "The_current_version_does_not_support_>5MB_video_file": "The_current_version_does_not_support_>5MB_video_file", "Token_expired_Please_refresh_the_page": "Der Token ist abgelaufen. Laden Sie die Seite neu.", "Link_to_page": "Link to page", @@ -607,6 +607,11 @@ "Enter_reply": "Antwort eingeben", "Processing_content_cannot_be_empty": "Processing content cannot be empty", "AI_error_message": "Request error, please try again", + "Add_video_link": "Videolink hinzufügen", + "Link_Seafile_video_file": "Link Seafile video file", + "Select_video_file": "Select video file", + "Support_Youtube_Tencent_Bilibili_and_more": "Support Youtube, Tencent, Bilibili and more", "Image_cannot_be_copied_Please_download_the_source_image": "Image cannot be copied. Please download the source image,", - "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload." + "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload.", + "Image_copy_error": "Image copy error" } diff --git a/media/sdoc-editor/locales/en/sdoc-editor.json b/media/sdoc-editor/locales/en/sdoc-editor.json index 5c30de4007..6dda626f4b 100644 --- a/media/sdoc-editor/locales/en/sdoc-editor.json +++ b/media/sdoc-editor/locales/en/sdoc-editor.json @@ -573,7 +573,7 @@ "Five_column": "5 columns", "Full_width_mode": "Full width mode", "Video": "Video", - "Upload_local_video": "Upload_local_video", + "Upload_local_video": "Upload local video", "The_current_version_does_not_support_>5MB_video_file": "The_current_version_does_not_support_>5MB_video_file", "Token_expired_Please_refresh_the_page": "Token expired. Please refresh the page.", "Link_to_page": "Link to page", @@ -607,6 +607,11 @@ "Enter_reply": "Enter reply", "Processing_content_cannot_be_empty": "Processing content cannot be empty", "AI_error_message": "Request error, please try again", + "Add_video_link": "Add video link", + "Link_Seafile_video_file": "Link Seafile video file", + "Select_video_file": "Select video file", + "Support_Youtube_Tencent_Bilibili_and_more": "Support Youtube, Tencent, Bilibili and more", "Image_cannot_be_copied_Please_download_the_source_image": "Image cannot be copied. Please download the source image,", - "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload." + "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload.", + "Image_copy_error": "Image copy error" } diff --git a/media/sdoc-editor/locales/es-AR/sdoc-editor.json b/media/sdoc-editor/locales/es-AR/sdoc-editor.json index 2ecca00a7d..f23b093140 100644 --- a/media/sdoc-editor/locales/es-AR/sdoc-editor.json +++ b/media/sdoc-editor/locales/es-AR/sdoc-editor.json @@ -573,7 +573,7 @@ "Five_column": "5 columns", "Full_width_mode": "Full width mode", "Video": "Video", - "Upload_local_video": "Upload_local_video", + "Upload_local_video": "Upload local video", "The_current_version_does_not_support_>5MB_video_file": "The_current_version_does_not_support_>5MB_video_file", "Token_expired_Please_refresh_the_page": "Token expired. Please refresh the page.", "Link_to_page": "Link to page", @@ -607,6 +607,12 @@ "Enter_reply": "Enter reply", "Processing_content_cannot_be_empty": "Processing content cannot be empty", "AI_error_message": "Request error, please try again", + "Add_video_link": "Add video link", + "Link_Seafile_video_file": "Link Seafile video file", + "Select_video_file": "Select video file", + "Support_Youtube_Tencent_Bilibili_and_more": "Support Youtube, Tencent, Bilibili and more", "Image_cannot_be_copied_Please_download_the_source_image": "Image cannot be copied. Please download the source image,", - "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload." + "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload.", + "Image_copy_error": "Image copy error" + } diff --git a/media/sdoc-editor/locales/es-MX/sdoc-editor.json b/media/sdoc-editor/locales/es-MX/sdoc-editor.json index 58cfcf4f33..1789fa44af 100644 --- a/media/sdoc-editor/locales/es-MX/sdoc-editor.json +++ b/media/sdoc-editor/locales/es-MX/sdoc-editor.json @@ -573,7 +573,7 @@ "Five_column": "5 columns", "Full_width_mode": "Full width mode", "Video": "Video", - "Upload_local_video": "Upload_local_video", + "Upload_local_video": "Upload local video", "The_current_version_does_not_support_>5MB_video_file": "The_current_version_does_not_support_>5MB_video_file", "Token_expired_Please_refresh_the_page": "Token expired. Please refresh the page.", "Link_to_page": "Link to page", @@ -607,6 +607,12 @@ "Enter_reply": "Enter reply", "Processing_content_cannot_be_empty": "Processing content cannot be empty", "AI_error_message": "Request error, please try again", + "Add_video_link": "Add video link", + "Link_Seafile_video_file": "Link Seafile video file", + "Select_video_file": "Select video file", + "Support_Youtube_Tencent_Bilibili_and_more": "Support Youtube, Tencent, Bilibili and more", "Image_cannot_be_copied_Please_download_the_source_image": "Image cannot be copied. Please download the source image,", - "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload." + "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload.", + "Image_copy_error": "Image copy error" + } diff --git a/media/sdoc-editor/locales/es/sdoc-editor.json b/media/sdoc-editor/locales/es/sdoc-editor.json index b93c05c1d3..e8687a545e 100644 --- a/media/sdoc-editor/locales/es/sdoc-editor.json +++ b/media/sdoc-editor/locales/es/sdoc-editor.json @@ -573,7 +573,7 @@ "Five_column": "5 columns", "Full_width_mode": "Full width mode", "Video": "Video", - "Upload_local_video": "Upload_local_video", + "Upload_local_video": "Upload local video", "The_current_version_does_not_support_>5MB_video_file": "The_current_version_does_not_support_>5MB_video_file", "Token_expired_Please_refresh_the_page": "Token expired. Please refresh the page.", "Link_to_page": "Link to page", @@ -607,6 +607,12 @@ "Enter_reply": "Enter reply", "Processing_content_cannot_be_empty": "Processing content cannot be empty", "AI_error_message": "Request error, please try again", + "Add_video_link": "Add video link", + "Link_Seafile_video_file": "Link Seafile video file", + "Select_video_file": "Select video file", + "Support_Youtube_Tencent_Bilibili_and_more": "Support Youtube, Tencent, Bilibili and more", "Image_cannot_be_copied_Please_download_the_source_image": "Image cannot be copied. Please download the source image,", - "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload." + "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload.", + "Image_copy_error": "Image copy error" + } diff --git a/media/sdoc-editor/locales/es_AR/sdoc-editor.json b/media/sdoc-editor/locales/es_AR/sdoc-editor.json index 2ecca00a7d..f23b093140 100644 --- a/media/sdoc-editor/locales/es_AR/sdoc-editor.json +++ b/media/sdoc-editor/locales/es_AR/sdoc-editor.json @@ -573,7 +573,7 @@ "Five_column": "5 columns", "Full_width_mode": "Full width mode", "Video": "Video", - "Upload_local_video": "Upload_local_video", + "Upload_local_video": "Upload local video", "The_current_version_does_not_support_>5MB_video_file": "The_current_version_does_not_support_>5MB_video_file", "Token_expired_Please_refresh_the_page": "Token expired. Please refresh the page.", "Link_to_page": "Link to page", @@ -607,6 +607,12 @@ "Enter_reply": "Enter reply", "Processing_content_cannot_be_empty": "Processing content cannot be empty", "AI_error_message": "Request error, please try again", + "Add_video_link": "Add video link", + "Link_Seafile_video_file": "Link Seafile video file", + "Select_video_file": "Select video file", + "Support_Youtube_Tencent_Bilibili_and_more": "Support Youtube, Tencent, Bilibili and more", "Image_cannot_be_copied_Please_download_the_source_image": "Image cannot be copied. Please download the source image,", - "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload." + "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload.", + "Image_copy_error": "Image copy error" + } diff --git a/media/sdoc-editor/locales/es_MX/sdoc-editor.json b/media/sdoc-editor/locales/es_MX/sdoc-editor.json index 58cfcf4f33..1789fa44af 100644 --- a/media/sdoc-editor/locales/es_MX/sdoc-editor.json +++ b/media/sdoc-editor/locales/es_MX/sdoc-editor.json @@ -573,7 +573,7 @@ "Five_column": "5 columns", "Full_width_mode": "Full width mode", "Video": "Video", - "Upload_local_video": "Upload_local_video", + "Upload_local_video": "Upload local video", "The_current_version_does_not_support_>5MB_video_file": "The_current_version_does_not_support_>5MB_video_file", "Token_expired_Please_refresh_the_page": "Token expired. Please refresh the page.", "Link_to_page": "Link to page", @@ -607,6 +607,12 @@ "Enter_reply": "Enter reply", "Processing_content_cannot_be_empty": "Processing content cannot be empty", "AI_error_message": "Request error, please try again", + "Add_video_link": "Add video link", + "Link_Seafile_video_file": "Link Seafile video file", + "Select_video_file": "Select video file", + "Support_Youtube_Tencent_Bilibili_and_more": "Support Youtube, Tencent, Bilibili and more", "Image_cannot_be_copied_Please_download_the_source_image": "Image cannot be copied. Please download the source image,", - "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload." + "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload.", + "Image_copy_error": "Image copy error" + } diff --git a/media/sdoc-editor/locales/fr/sdoc-editor.json b/media/sdoc-editor/locales/fr/sdoc-editor.json index f65bfb0d38..5e509696dc 100644 --- a/media/sdoc-editor/locales/fr/sdoc-editor.json +++ b/media/sdoc-editor/locales/fr/sdoc-editor.json @@ -573,7 +573,7 @@ "Five_column": "5 columns", "Full_width_mode": "Full width mode", "Video": "Vidéo", - "Upload_local_video": "Upload_local_video", + "Upload_local_video": "Upload local video", "The_current_version_does_not_support_>5MB_video_file": "The_current_version_does_not_support_>5MB_video_file", "Token_expired_Please_refresh_the_page": "Token expired. Please refresh the page.", "Link_to_page": "Link to page", @@ -607,6 +607,12 @@ "Enter_reply": "Enter reply", "Processing_content_cannot_be_empty": "Processing content cannot be empty", "AI_error_message": "Request error, please try again", + "Add_video_link": "Add video link", + "Link_Seafile_video_file": "Link Seafile video file", + "Select_video_file": "Select video file", + "Support_Youtube_Tencent_Bilibili_and_more": "Support Youtube, Tencent, Bilibili and more", "Image_cannot_be_copied_Please_download_the_source_image": "Image cannot be copied. Please download the source image,", - "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload." + "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload.", + "Image_copy_error": "Image copy error" + } diff --git a/media/sdoc-editor/locales/it/sdoc-editor.json b/media/sdoc-editor/locales/it/sdoc-editor.json index a006b47586..60cef287e4 100644 --- a/media/sdoc-editor/locales/it/sdoc-editor.json +++ b/media/sdoc-editor/locales/it/sdoc-editor.json @@ -573,7 +573,7 @@ "Five_column": "5 columns", "Full_width_mode": "Full width mode", "Video": "Video", - "Upload_local_video": "Upload_local_video", + "Upload_local_video": "Upload local video", "The_current_version_does_not_support_>5MB_video_file": "The_current_version_does_not_support_>5MB_video_file", "Token_expired_Please_refresh_the_page": "Token expired. Please refresh the page.", "Link_to_page": "Link to page", @@ -607,6 +607,12 @@ "Enter_reply": "Enter reply", "Processing_content_cannot_be_empty": "Processing content cannot be empty", "AI_error_message": "Request error, please try again", + "Add_video_link": "Add video link", + "Link_Seafile_video_file": "Link Seafile video file", + "Select_video_file": "Select video file", + "Support_Youtube_Tencent_Bilibili_and_more": "Support Youtube, Tencent, Bilibili and more", "Image_cannot_be_copied_Please_download_the_source_image": "Image cannot be copied. Please download the source image,", - "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload." + "And_select_insert_-_image_to_upload": "and select 「insert」 - 「image」 to upload.", + "Image_copy_error": "Image copy error" + } diff --git a/media/sdoc-editor/locales/ru/sdoc-editor.json b/media/sdoc-editor/locales/ru/sdoc-editor.json index e4a43a1126..ac3cacba10 100644 --- a/media/sdoc-editor/locales/ru/sdoc-editor.json +++ b/media/sdoc-editor/locales/ru/sdoc-editor.json @@ -573,7 +573,7 @@ "Five_column": "5 столбцов", "Full_width_mode": "Режим полной ширины", "Video": "Видео", - "Upload_local_video": "Загрузка_локального_видео", + "Upload_local_video": "Загрузить локального видео", "The_current_version_does_not_support_>5MB_video_file": "Текущая_версия_не_поддерживает_видео_файл_>5_МБ", "Token_expired_Please_refresh_the_page": "Срок действия токена истек. Обновите страницу.", "Link_to_page": "Ссылка на страницу", @@ -607,6 +607,11 @@ "Enter_reply": "Введите ответ", "Processing_content_cannot_be_empty": "Содержимое обработки не может быть пустым", "AI_error_message": "Ошибка запроса, попробуйте еще раз", + "Add_video_link": "Добавить ссылку на видео", + "Link_Seafile_video_file": "Ссылка на видео файл Seafile", + "Select_video_file": "Выбрать видео файл", + "Support_Youtube_Tencent_Bilibili_and_more": "Поддержка Youtube, Tencent, Bilibili и других", "Image_cannot_be_copied_Please_download_the_source_image": "Изображение не может быть скопировано. Скачайте исходное изображение,", - "And_select_insert_-_image_to_upload": "и выбрать 「вставить」 - 「изображение」 для загрузки." + "And_select_insert_-_image_to_upload": "и выбрать 「вставить」 - 「изображение」 для загрузки.", + "Image_copy_error": "Ошибка копирования изображения" } diff --git a/media/sdoc-editor/locales/zh-CN/sdoc-editor.json b/media/sdoc-editor/locales/zh-CN/sdoc-editor.json index f1eb5e2f5b..8ada7ff132 100644 --- a/media/sdoc-editor/locales/zh-CN/sdoc-editor.json +++ b/media/sdoc-editor/locales/zh-CN/sdoc-editor.json @@ -607,6 +607,11 @@ "Enter_reply": "输入回复", "Processing_content_cannot_be_empty": "处理内容不能为空", "AI_error_message": "请求错误,请重试", + "Add_video_link": "添加视频链接", + "Link_Seafile_video_file": "链接Seafile视频文件", + "Select_video_file": "选择视频文件", + "Support_Youtube_Tencent_Bilibili_and_more": "支持Youtube,腾讯视频,B站及其他平台", "Image_cannot_be_copied_Please_download_the_source_image": "此照片不支持复制,请下载原图", - "And_select_insert_-_image_to_upload": "后点击工具栏「插入」- 「照片」上传" + "And_select_insert_-_image_to_upload": "后点击工具栏「插入」- 「照片」上传", + "Image_copy_error": "图片复制错误" } diff --git a/media/sdoc-editor/locales/zh_CN/sdoc-editor.json b/media/sdoc-editor/locales/zh_CN/sdoc-editor.json index f1eb5e2f5b..8ada7ff132 100644 --- a/media/sdoc-editor/locales/zh_CN/sdoc-editor.json +++ b/media/sdoc-editor/locales/zh_CN/sdoc-editor.json @@ -607,6 +607,11 @@ "Enter_reply": "输入回复", "Processing_content_cannot_be_empty": "处理内容不能为空", "AI_error_message": "请求错误,请重试", + "Add_video_link": "添加视频链接", + "Link_Seafile_video_file": "链接Seafile视频文件", + "Select_video_file": "选择视频文件", + "Support_Youtube_Tencent_Bilibili_and_more": "支持Youtube,腾讯视频,B站及其他平台", "Image_cannot_be_copied_Please_download_the_source_image": "此照片不支持复制,请下载原图", - "And_select_insert_-_image_to_upload": "后点击工具栏「插入」- 「照片」上传" + "And_select_insert_-_image_to_upload": "后点击工具栏「插入」- 「照片」上传", + "Image_copy_error": "图片复制错误" }