diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 6f10b0fc6a..8beb2d715c 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.34", + "@seafile/sdoc-editor": "2.0.35", "@seafile/seafile-calendar": "0.0.28", "@seafile/seafile-editor": "2.0.2", "@seafile/stldraw-editor": "1.0.1", @@ -5567,9 +5567,9 @@ "license": "MIT" }, "node_modules/@seafile/sdoc-editor": { - "version": "2.0.34", - "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-2.0.34.tgz", - "integrity": "sha512-g5Y8cZGkRaUm4rDOGz8Wwpf7qhipf3tx9/NWzMnznpr6T8gUc0n+PrjJYcUnBSZah4OavgrpurT21WYyAoXUaA==", + "version": "2.0.35", + "resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-2.0.35.tgz", + "integrity": "sha512-wZrzifMxz3rvqUNzCPnN9tKti79P5GKFILk5fvDvvNIzHwxpTAWR0uotdFRzxGasP0XRnp08xoN/3ofCVtmvcg==", "license": "ISC", "dependencies": { "@seafile/print-js": "1.6.6", diff --git a/frontend/package.json b/frontend/package.json index 90f2e72974..dc44f44aaf 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.34", + "@seafile/sdoc-editor": "2.0.35", "@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/cs/sdoc-editor.json b/media/sdoc-editor/locales/cs/sdoc-editor.json index 3bb67d3e6b..d17d5fa852 100644 --- a/media/sdoc-editor/locales/cs/sdoc-editor.json +++ b/media/sdoc-editor/locales/cs/sdoc-editor.json @@ -619,5 +619,8 @@ "Selected_row_records_cannot_exceed_10_rows": "Selected row records cannot exceed 10 rows", "Select_seatable_rows": "Select seatable rows", "Add_rows_record": "Add rows record", - "Double_click_then_adjust_field_width": "Double click, then adjust field width" + "Double_click_then_adjust_field_width": "Double click, then adjust field width", + "Insert_chart": "Insert chart", + "Edit_chart": "Edit chart", + "Please_complete_the_chart_configuration_first": "Please complete the chart configuration first" } diff --git a/media/sdoc-editor/locales/de/sdoc-editor.json b/media/sdoc-editor/locales/de/sdoc-editor.json index 29958e977a..4fa1ec1e33 100644 --- a/media/sdoc-editor/locales/de/sdoc-editor.json +++ b/media/sdoc-editor/locales/de/sdoc-editor.json @@ -619,5 +619,8 @@ "Selected_row_records_cannot_exceed_10_rows": "Sie können höchstens zehn Einträge in einer Zeile auswählen", "Select_seatable_rows": "Seatable-Zeilen auswählen", "Add_rows_record": "Zeileneintrag hinzufügen", - "Double_click_then_adjust_field_width": "Klicken Sie doppelt, dann passen Sie die Breite des Felds an" + "Double_click_then_adjust_field_width": "Klicken Sie doppelt, dann passen Sie die Breite des Felds an", + "Insert_chart": "Insert chart", + "Edit_chart": "Edit chart", + "Please_complete_the_chart_configuration_first": "Please complete the chart configuration first" } diff --git a/media/sdoc-editor/locales/en/sdoc-editor.json b/media/sdoc-editor/locales/en/sdoc-editor.json index b42c68f25c..b944ddecad 100644 --- a/media/sdoc-editor/locales/en/sdoc-editor.json +++ b/media/sdoc-editor/locales/en/sdoc-editor.json @@ -614,5 +614,17 @@ "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.", "Image_copy_error": "Image copy error", - "Image_is_uploading": "Image is uploading..." + "Image_is_uploading": "Image is uploading...", + "Select_at_least_one_row_record": "Select at least one row record", + "Selected_row_records_cannot_exceed_10_rows": "Selected row records cannot exceed 10 rows", + "Select_seatable_rows": "Select seatable rows", + "Add_rows_record": "Add rows record", + "Double_click_then_adjust_field_width": "Double click, then adjust field width", + "SeaTable_row": "SeaTable row", + "Please_select_one_row_record": "Please select one row record", + "No_linked_records": "No linked records", + "Insert_chart": "Insert chart", + "Edit_chart": "Edit chart", + "Please_complete_the_chart_configuration_first": "Please complete the chart configuration first", + "chart": "chart" } diff --git a/media/sdoc-editor/locales/es/sdoc-editor.json b/media/sdoc-editor/locales/es/sdoc-editor.json index e34ec2329f..7433d126af 100644 --- a/media/sdoc-editor/locales/es/sdoc-editor.json +++ b/media/sdoc-editor/locales/es/sdoc-editor.json @@ -619,5 +619,8 @@ "Selected_row_records_cannot_exceed_10_rows": "Selected row records cannot exceed 10 rows", "Select_seatable_rows": "Select seatable rows", "Add_rows_record": "Add rows record", - "Double_click_then_adjust_field_width": "Double click, then adjust field width" + "Double_click_then_adjust_field_width": "Double click, then adjust field width", + "Insert_chart": "Insert chart", + "Edit_chart": "Edit chart", + "Please_complete_the_chart_configuration_first": "Please complete the chart configuration first" } diff --git a/media/sdoc-editor/locales/es_AR/sdoc-editor.json b/media/sdoc-editor/locales/es_AR/sdoc-editor.json index b72457886f..4942a3298a 100644 --- a/media/sdoc-editor/locales/es_AR/sdoc-editor.json +++ b/media/sdoc-editor/locales/es_AR/sdoc-editor.json @@ -619,5 +619,8 @@ "Selected_row_records_cannot_exceed_10_rows": "Selected row records cannot exceed 10 rows", "Select_seatable_rows": "Select seatable rows", "Add_rows_record": "Add rows record", - "Double_click_then_adjust_field_width": "Double click, then adjust field width" + "Double_click_then_adjust_field_width": "Double click, then adjust field width", + "Insert_chart": "Insert chart", + "Edit_chart": "Edit chart", + "Please_complete_the_chart_configuration_first": "Please complete the chart configuration first" } diff --git a/media/sdoc-editor/locales/es_MX/sdoc-editor.json b/media/sdoc-editor/locales/es_MX/sdoc-editor.json index 179e148590..cf0ba86d8a 100644 --- a/media/sdoc-editor/locales/es_MX/sdoc-editor.json +++ b/media/sdoc-editor/locales/es_MX/sdoc-editor.json @@ -619,5 +619,8 @@ "Selected_row_records_cannot_exceed_10_rows": "Selected row records cannot exceed 10 rows", "Select_seatable_rows": "Select seatable rows", "Add_rows_record": "Add rows record", - "Double_click_then_adjust_field_width": "Double click, then adjust field width" + "Double_click_then_adjust_field_width": "Double click, then adjust field width", + "Insert_chart": "Insert chart", + "Edit_chart": "Edit chart", + "Please_complete_the_chart_configuration_first": "Please complete the chart configuration first" } diff --git a/media/sdoc-editor/locales/fr/sdoc-editor.json b/media/sdoc-editor/locales/fr/sdoc-editor.json index f4eba67d42..2ff132b57b 100644 --- a/media/sdoc-editor/locales/fr/sdoc-editor.json +++ b/media/sdoc-editor/locales/fr/sdoc-editor.json @@ -619,5 +619,8 @@ "Selected_row_records_cannot_exceed_10_rows": "Selected row records cannot exceed 10 rows", "Select_seatable_rows": "Select seatable rows", "Add_rows_record": "Add rows record", - "Double_click_then_adjust_field_width": "Double click, then adjust field width" + "Double_click_then_adjust_field_width": "Double click, then adjust field width", + "Insert_chart": "Insert chart", + "Edit_chart": "Edit chart", + "Please_complete_the_chart_configuration_first": "Please complete the chart configuration first" } diff --git a/media/sdoc-editor/locales/it/sdoc-editor.json b/media/sdoc-editor/locales/it/sdoc-editor.json index 80c4445a23..8a088cff8c 100644 --- a/media/sdoc-editor/locales/it/sdoc-editor.json +++ b/media/sdoc-editor/locales/it/sdoc-editor.json @@ -619,5 +619,8 @@ "Selected_row_records_cannot_exceed_10_rows": "Selected row records cannot exceed 10 rows", "Select_seatable_rows": "Select seatable rows", "Add_rows_record": "Add rows record", - "Double_click_then_adjust_field_width": "Double click, then adjust field width" + "Double_click_then_adjust_field_width": "Double click, then adjust field width", + "Insert_chart": "Insert chart", + "Edit_chart": "Edit chart", + "Please_complete_the_chart_configuration_first": "Please complete the chart configuration first" } diff --git a/media/sdoc-editor/locales/ru/sdoc-editor.json b/media/sdoc-editor/locales/ru/sdoc-editor.json index 2a73d1f51d..8b85479e76 100644 --- a/media/sdoc-editor/locales/ru/sdoc-editor.json +++ b/media/sdoc-editor/locales/ru/sdoc-editor.json @@ -619,5 +619,8 @@ "Selected_row_records_cannot_exceed_10_rows": "Выбранные записи строк не могут превышать 10 строк", "Select_seatable_rows": "Выберите доступные для размещения строки", "Add_rows_record": "Добавить записи строк", - "Double_click_then_adjust_field_width": "Дважды щелкните, затем отрегулируйте ширину поля" + "Double_click_then_adjust_field_width": "Дважды щелкните, затем отрегулируйте ширину поля", + "Insert_chart": "Insert chart", + "Edit_chart": "Edit chart", + "Please_complete_the_chart_configuration_first": "Please complete the chart configuration first" } diff --git a/media/sdoc-editor/locales/zh-CN/sdoc-editor.json b/media/sdoc-editor/locales/zh-CN/sdoc-editor.json deleted file mode 100644 index ec0d363d30..0000000000 --- a/media/sdoc-editor/locales/zh-CN/sdoc-editor.json +++ /dev/null @@ -1,623 +0,0 @@ -{ - "Bold": "粗体", - "Italic": "斜体", - "Underline": "下划线", - "Strikethrough": "删除线", - "Superscript": "上标", - "Subscript": "下标", - "Inline_code": "代码", - "Header_one": "一级标题", - "Header_two": "二级标题", - "Header_three": "三级标题", - "Header_four": "四级标题", - "Header_five": "五级标题", - "Header_six": "六级标题", - "Paragraph": "段落", - "Quote": "引用", - "Ordered_list": "有序列表", - "Unordered_list": "无序列表", - "Check_list": "任务列表", - "Insert_image": "插入图片", - "Insert_formula": "插入公式", - "Formula": "公式", - "Insert_file": "插入文件", - "Code": "行内代码", - "Code_block": "代码块", - "Insert_link": "添加链接", - "Insert_table": "添加表格", - "Valid_values_for_rows_and_columns": "行数和列数的有效值为 0 到 50", - "Save": "保存", - "More": "更多", - "Invalid_url": "无效链接", - "Link_address": "链接地址", - "Image_address": "图片地址", - "Submit": "提交", - "Cancel": "取消", - "Switch_to_plain_text_editor": "切换至普通文本编辑器", - "Switch_to_rich_text_editor": "切换至富文本编辑器", - "Switch_to_viewer": "切换到只读模式", - "Help": "帮助", - "Column": "列", - "Row": "行", - "Delete_table": "删除表格", - "Delete_row": "删除当前行", - "Delete_column": "删除当前列", - "Insert_row": "插入行", - "Set_align": "对齐方式", - "Left": "左对齐", - "Center": "居中", - "Right": "右对齐", - "File_saved": "保存文件成功", - "File_failed_to_save": "保存文件失败", - "Back_to_parent_directory": "返回上级目录", - "Edit": "编辑", - "Copy": "复制", - "Copied": "已复制", - "Cut": "剪切", - "Internal_link": "内部链接", - "Copy_internal_link": "内部链接已复制到剪贴板", - "Internal_link_desc": "内部链接是指向文件或目录的链接,只有对该文件或目录有访问权限的人可以访问。", - "Share": "共享", - "Share_link": "共享链接", - "Generate": "生成链接", - "Add_password_protection": "增加密码保护", - "Password": "密码", - "At_least_8_characters": "至少8个字符", - "Password_again": "请再次输入密码", - "Add_auto_expiration": "增加自动过期", - "Days": "天", - "Please_enter_password": "请输入密码", - "Greater_than_or_equal_to": "大于或等于", - "Less_than_or_equal_to": "小于或等于", - "Set_permission": "设置权限", - "Preview_and_download": "预览与下载", - "Preview_only": "仅查看", - "Please_enter_valid_days": "请输入有效的天数", - "Please_enter_a_non-negative_integer": "请输入一个非负整数", - "Please_enter_days": "请输入天数", - "Password_is_too_short": "密码长度太短", - "Passwords_do_not_match": "两次输入的密码不一致", - "Return_to_wiki_page": "返回维基页面", - "Insert_network_image": "插入网络图片", - "Upload_local_image": "上传本地图片", - "Add_link": "加入链接", - "File_history": "文件历史", - "History_version": "历史版本", - "Back_to_viewer": "返回查看页面", - "Link_title": "链接标题", - "Local_draft": "本地草稿", - "Use_draft": "使用草稿", - "Delete_draft": "删除草稿", - "You_have_an_unsaved_draft_do_you_like_to_use_it": "有未保存的草稿,使用草稿吗?", - "Local_draft_saved": "本地草稿已保存", - "New_draft": "创建草稿", - "View_draft": "查看草稿", - "Publish": "发布", - "This_file_has_a_draft": "这个文件有一个草稿.", - "Delete": "删除", - "Reply": "回复", - "Comment": "评论", - "Comments": "评论", - "All_comments": "所有评论", - "Resolved_comments": "已解决评论", - "Unresolved_comments": "未解决评论", - "Total_1_comment": "共 1 个评论", - "Total_count_comments": "共 {{count}} 个评论", - "Add_a_comment": "增加评论", - "No_comment_yet": "还没有评论", - "Mark_as_Resolved": "标记为已解决", - "Resubmit": "重新提出", - "Resubmitted": "已重新提出", - "Ask_for_review": "发起评审", - "Review_already_exists": "评审已存在", - "View_review": "查看评审", - "There_is_an_associated_review_with_this_file": "有一个与此文件相关联的评审。", - "Start_review": "开始评审", - "This_file_is_in_draft_stage": "该文件处于草稿阶段。", - "This_file_is_in_review_stage": "该文件处于评审阶段。", - "This_file_has_been_updated": "这个文件已被修改。", - "Refresh": "刷新", - "Related_files": "相关文件", - "Related_file": "相关文件", - "No_tags": "没有标签", - "Date": "日期", - "Participants": "参与人", - "Meeting_note": "会议记录", - "Chooser_document_type": "选择文档类型", - "Empty": "暂无", - "No_related_files": "没有相关文件", - "No_out_line": "没有大纲", - "Editing_files_in_this_browser_can_lead_to_slight_display_problems": "在此浏览器中,编辑文件可能导致轻微的显示问题。", - "No_document_improvement_suggestion": "没有文档改进建议", - "Hide_side_panel": "隐藏侧旁栏", - "Show_side_panel": "显示侧旁栏", - "Show_resolved_comments": "显示已解决的评论", - "Update": "更新", - "Width": "宽度", - "Height": "高度", - "Full_screen": "全屏", - "Insert_library_image": "插入资料库图片", - "Size": "大小", - "Location": "位置", - "Last_update": "更新时间", - "Tags": "标签", - "Add_participants": "添加参与人", - "Clear_format": "清除格式", - "MarkdownLint": { - "missing_h1": { - "description": "文档缺少一级标题", - "issue": "缺少一级标题" - }, - "heading_end_with_colon": { - "description": "标题中的标点符号不应为冒号", - "issue": "标题末尾是冒号" - }, - "heading_increase_irregular": { - "description": "标题级别一次只能增加一个级别", - "issue": "标题级别错误" - } - }, - "Shortcut_help": "快捷键帮助", - "User_help": { - "title": "键盘快捷键", - "userHelpData": [ - { - "shortcutType": "列表快捷键", - "shortcutData": { - "Make_list": "生成列表", - "Make_ordered_list": "生成有序列表", - "Insert_new_item": "插入列表项", - "Insert_child_in_item": "插入新段落", - "Increase_depth": "增加列表项深度" - } - }, - { - "shortcutType": "标题快捷键", - "shortcutData": { - "Heading_1": "一级标题", - "Heading_2": "二级标题", - "Heading_3": "三级标题", - "Heading_4": "四级标题", - "Heading_5": "五级标题", - "Heading_6": "六级标题" - } - }, - { - "shortcutType": "代码块快捷键", - "shortcutData": { - "Make_code_block": "生成代码块", - "Insert_new_line": "插入行", - "Escape_code_block": "退出代码块", - "Insert_indent": "缩进" - } - }, - { - "shortcutType": "引用快捷键", - "shortcutData": { - "Make_Block_quote": "生成引用", - "Escape_Block_quote": "退出引用" - } - }, - { - "shortcutType": "表格快捷键", - "shortcutData": { - "Insert_Table_Row": "插入行", - "Escape_table": "退出表格" - } - }, - { - "shortcutType": "公式快捷键", - "shortcutData": { - "Insert_Formula": " 插入公式" - } - }, - { - "shortcutType": "行级操作", - "shortcutData": { - "Bold": "粗体", - "Italic": "斜体", - "Italic_Bold": "斜体加粗", - "Inline_code": "行内代码" - } - }, - { - "shortcutType": "文件保存", - "shortcutData": { - "Save_file": "保存文件" - } - }, - { - "shortcutType": "图片操作", - "shortcutData": { - "Paste_screen_shot": "上传截图", - "Drag_image_from_anywhere_to_upload_it": "拖拽任意图片上传" - } - } - ] - }, - "The_link_address_is_required": "链接地址是必填项。", - "The_link_title_is_required": "链接标题是必填项。", - "The_link_address_is_invalid": "链接地址不合法,请输入一个正确的链接地址。", - "All_changes_saved": "所有更改均已保存", - "Saving": "保存中...", - "Collaborators": "协作人", - "Online_members": "在线成员", - "Me": "我", - "Server_is_not_connected_Operation_will_be_sent_to_server_later": "服务器未连接。 操作稍后将发送到服务器。", - "Server_is_disconnected_Reconnecting": "服务器断开连接。正在重新连接...", - "Server_is_reconnected": "服务器已重新连接。", - "Outline": "目录", - "Headings_you_add_to_the_document_will_appear_here": "你添加到文档中的标题将显示在此处", - "Open_parent_folder": "打开父目录", - "Redo": "重做", - "Undo": "撤销", - "Open_link": "打开链接", - "Customize_the_number_of_rows_and_columns": "自定义行列数", - "Rows": "行数", - "Columns": "列数", - "Please_enter_title": "请输入标题", - "Please_enter_text": "请输入正文", - "Row(s)": "行", - "Column(s)": "列", - "Insert_below": "在下方插入", - "Insert_above": "在上方插入", - "Insert_on_the_right": "在右侧插入", - "Insert_on_the_left": "在左侧插入", - "Starred": "星标文件", - "Unstarred": "未加星标", - "Star": "添加星标", - "Unstar": "取消星标", - "Auto_wrap": "自动换行", - "Add_comment": "添加评论", - "Delete_comment": "删除评论", - "Delete_reply": "删除回复", - "Are_you_sure_to_delete_this_comment": "你确定要删除这个评论吗?", - "Are_you_sure_to_delete_this_reply": "你确定要删除这个回复吗?", - "Enter_comment_shift_enter_for_new_line_Enter_to_send": "输入评论,Shift + Enter 换行,Enter 发送", - "Enter_reply_shift_Enter_for_new_line_Enter_to_send": "输入回复,Shift + Enter 换行,Enter 发送", - "Reopen_discussion": "添加回复会重新提出该讨论", - "Confirm": "确认", - "View_changes": "查看改动", - "Revision": "修订稿", - "Error": "错误", - "Start_revise": "开始修订", - "Revise": "修订", - "Failed_to_execute_operation_on_server": "无法在服务器上执行操作,当前操作已经撤回", - "Start_revise_tip": "创建一个临时文档并对其进行修订,检查更改后将其合并回来", - "Load_doc_content_error": "加载文档内容错误", - "Sdoc_format_invalid": "文档内容不符合 sdoc 规范", - "Draft": "草稿", - "Unmark_as_draft": "取消草稿标识", - "Background_color": "背景色", - "No_color": "无颜色", - "Standard_color": "标准色", - "Recently_used": "最近使用", - "More_color": "更多颜色", - "White": "白", - "Black": "黑", - "Blue_grey": "蓝灰", - "Blue": "蓝", - "Sky_blue": "天蓝", - "Green": "绿", - "Red": "红", - "Orange": "橙", - "Yellow": "黄", - "Purple": "紫", - "Light_grey_x": "浅灰 {{value}}", - "Dark_grey_x": "深灰 {{value}}", - "Light_blue_grey_x": "浅蓝灰 {{value}}", - "Light_blue_x": "浅蓝 {{value}}", - "Light_sky_blue_x": "浅天蓝 {{value}}", - "Light_green_x": "浅绿 {{value}}", - "Light_red_x": "浅红 {{value}}", - "Light_orange_x": "浅橙 {{value}}", - "Light_yellow_x": "浅黄 {{value}}", - "Light_purple_x": "浅紫 {{value}}", - "Dark_blue_grey_x": "深蓝灰 {{value}}", - "Dark_blue_x": "深蓝 {{value}}", - "Dark_sky_blue_x": "深天蓝 {{value}}", - "Dark_green_x": "深绿 {{value}}", - "Dark_red_x": "深红 {{value}}", - "Dark_orange_x": "深橙 {{value}}", - "Dark_yellow_x": "深黄 {{value}}", - "Dark_purple_x": "深紫 {{value}}", - "Standard_dark_red": "标准深红", - "Standard_red": "标准红", - "Standard_orange": "标准橙", - "Standard_yellow": "标准黄", - "Standard_light_green": "标准浅绿", - "Standard_green": "标准绿", - "Standard_light_blue": "标准浅蓝", - "Standard_blue": "标准蓝", - "Standard_dark_blue": "标准深蓝", - "Standard_purple": "标准紫", - "Highlight_color": "突出显示", - "Font_color": "字体颜色", - "Default": "默认", - "No_revisions": "没有修订稿", - "1_revision": "1 个修订稿", - "x_revisions": "{{count}} 个修订稿", - "Creator": "创建者", - "Created_time": "创建时间", - "Created_at": "创建时间", - "Resolved_tip": "标记为已解决并隐藏讨论内容", - "Search_language": "查找语言", - "Sdoc_error_tip": "文档有错误,无法显示。请尝试点击下方按钮自动修复。", - "Repair": "修复", - "Font_size": "字号", - "Increase_font_size": "增大字号", - "Reduce_font_size": "减小字号", - "Font": "字体", - "All_fonts": "所有字体", - "Default_font": "默认字体", - "Pending_operations_exceed_limit": "有多个操作未同步到服务器。请检查你的网络。", - "Recently_saved": "最近保存", - "Text_Link": "文字链", - "Icon_and_text_Link": "图标+文字链", - "Card": "卡片", - "Select_sdoc_document": "选择 sdoc 文档", - "Select_file": "选择文件", - "Local_file": "本地文件", - "Internal_server_exec_operations_error": "在服务器执行操作异常,请刷新页面后重试", - "Failed_to_sync_with_server_operations": "与服务器同步操作失败,请刷新页面", - "Style": "样式", - "Insert": "插入", - "Image": "图片", - "Table": "表格", - "Link": "链接", - "Transform_to": "转化为", - "Last_modification": "上一个修改", - "Next_modification": "下一个修改", - "Changes": "改动", - "No_changes": "没有变化", - "Title": "标题", - "Subtitle": "副标题", - "Link_sdoc": "链接 sdoc", - "Link_file": "文件链接", - "Keep_my_modification": "保留我的更改", - "Keep_other_modification": "保留他人的更改", - "Keep_both_modification": "保留两者更改", - "Tip": "提示", - "Rebase_delete_no_change_revision_tip": "修订改没有更改,是否删除修订稿?", - "Has_been_replaced_tip": "文档内容已经被替换,请刷新页面", - "Has_been_published_tip": "修订稿已发布", - "Has_conflict_before_publish_tip": "文档有冲突,请解决冲突后再发布!", - "Merge_tip": "文档有冲突,是否合并?", - "Has_conflict_before_view_changes_tip": "文档有冲突,请解决冲突后再查看更改!", - "Has_been_removed_tip": "文档已经被删除,请查看其他文档", - "Checking": "检查中...", - "Publishing": "发布中...", - "Inline": "嵌入行内", - "Block": "独占一行", - "Full_screen_mode": "全屏查看", - "Image_border": "图片边框", - "Delete_revision": "删除修订稿", - "Delete_tip": "确定要删除 {{content}} 吗?", - "Revision_deleted": "修订稿已删除", - "Published": "已发布", - "Delete_Successfully": "删除成功", - "Delete_failed": "删除失败", - "Caption": "标题", - "No_collaborators_available": "没有找到协作人", - "Search_collaborator": "查找协作人", - "Doc_comments": "文档评论", - "Tag_not_found": "标签未找到", - "Create_a_new_tag": "新建标签", - "Search_tags": "查找标签", - "No_options_available": "标签未找到", - "Add_option": "新建标签", - "Find_an_option": "查找标签", - "Copy_link_of_section": "拷贝章节的链接", - "revision": "修订稿", - "xxx_added_a_new_comment": "{{author}} 添加了一条新评论", - "xxx_added_a_reply": "{{author}} 添加了一条回复", - "New": "新", - "Table_template": "表格模版", - "Jump_to_original_doc": "跳转到源文档", - "Freezed": "已冻结", - "Callout": "高亮块", - "The_current_location_does_not_support_pasting": "当前位置不支持粘贴", - "Please_enter": "请输入", - "Combine_cell": "合并单元格", - "Split_cell": "拆分单元格", - "Row_number": "行数", - "Column_number": "列数", - "The_maximum_row_number_is_{number}": "最大行数为 {number}", - "Other_modification": "他人更改", - "My_modification": "我的更改", - "Document_history": "文档历史", - "Freeze_document": "冻结文档", - "Document_frozen": "文档已冻结", - "Unfreeze": "取消冻结", - "Search_and_replace": "查找和替换", - "Search": "搜索", - "Type_search_content": "输入查找内容", - "Replace_as": "替换为", - "Type_replace_content": "输入替换内容", - "Prevs": "上一个", - "Next": "下一个", - "Replace": "替换", - "Replace_all": "替换全部", - "Are_you_sure_to_replace_all_number_xxx_in_this_document_with_yyy": "确定要将此文档内的 {{number}} 处 \"{{originalWord}} \" 替换为 \"{{replacedWord}} \" 吗?", - "Are_you_sure_to_clear_all_number_xxx_in_this_document": "确定将此文档内的 {{number}} 处 \"{{originalWord}}\" 全部清除吗?", - "Search_not_found": "未找到", - "Recent_visited": "最近浏览", - "The_document_does_not_exist": "不存在该文档", - "Create_a_new_sdoc_file": "新建 sdoc 文件", - "New_page": "新建页面", - "Create": "创建", - "Top_align": "顶端对齐", - "Center_align": "居中对齐", - "Bottom_align": "底端对齐", - "Move_column_count": "移动{{count}}列", - "Move_row_count": "移动{{count}}行", - "Mark_all_as_read": "全部标记为已读", - "Alignment_type": "对齐方式", - "Print": "打印", - "Enter_more_character_start_search": "输入更多字符开始搜索", - "Create_file_name_sdoc": "新建 {{file_name_sdoc}}", - "Source_document_changed_tip": "源文档有并发的改动。你需要合并这些改动到修订稿吗?", - "Fit_table_to_page_width": "自动适应页面宽度", - "Enter_text_or_press_forward_slash_to_insert_element": "输入文本或按下 '/' 插入元素", - "Vertical_align": "垂直对齐", - "Horizontal_align": "水平对齐", - "SeaTable_column": "SeaTable 列", - "SeaTable_table": "SeaTable 子表", - "And_x_more_records": "以及另外 {{count}} 条记录", - "Print_limit_exceeded": "超过打印限制, 只会打印前 200 行", - "Show_record_numbers": "显示记录编号", - "Alternate_color": "单双行不同背景色", - "Select_column_display_option_color_tip": "单选列和多选列显示选项颜色", - "Header": "标题", - "Remove_icon": "移除图标", - "Hide_columns": "隐藏列", - "1_hidden_column": "1 列被隐藏", - "hidden_columns": "列被隐藏", - "Search_column": "搜索列", - "No_columns_available_to_be_hidden": "没有列可以被隐藏。", - "Hide_all": "隐藏全部", - "Show_all": "显示全部", - "Sort": "排序", - "1 Sort": "1 个排序", - "Sorts": "个排序", - "No_sorts": "没有排序", - "Add_sort": "增加排序", - "No_sort_added": "未添加排序", - "up": "升序", - "down": "降序", - "No_results": "没有结果", - "Filter": "过滤", - "1 Filter": "1 个过滤条件", - "Filters": "个过滤条件", - "Add_filter": "增加过滤条件", - "No_filters": "没有过滤条件", - "And": "并且", - "Or": "或者", - "Select_option(s)": "选择标签", - "Select_an_option": "选择标签", - "Search_option": "选择标签", - "Add_collaborator": "增加协作人", - "Add_a_creator": "增加创建者", - "Add_a_last_modifier": "增加最后修改者", - "Invalid_filter": "无效的过滤器", - "Department_single_select": "部门单选", - "Search_department": "搜索部门", - "Select_department": "选择部门", - "No_departments_available": "没有可用的部门", - "Current_user_department": "当前用户的部门", - "Current_user_department_and_sub": "当前用户的部门和子部门", - "Deleted_department": "已经删除的部门", - "Data_settings": "数据设置", - "Style_settings": "样式设置", - "contains": "包含", - "does_not_contain": "不包含", - "is": "是", - "is_not": "不是", - "equal": "=", - "not_equal": "≠", - "less": "<", - "greater": ">", - "less_or_equal": "≤", - "greater_or_equal": "≥", - "is_empty": "是空", - "is_not_empty": "不是空", - "is_within": "在某段时间内", - "is_before": "在某天之前", - "is_after": "在某天之后", - "is_on_or_before": "在某天或之前", - "is_on_or_after": "在某天或之后", - "has_any_of": "包含其中一个", - "has_all_of": "包含所有", - "has_none_of": "不包含", - "is_exactly": "精确筛选", - "is_current_user_ID": "是当前用户的 ID", - "Current_date": "当前日期", - "Specific_date": "指定日期", - "x_days_before_current_date": "当前日期的前 X 天", - "x_days_after_current_date": "当前日期的后 X 天", - "is_any_of": "是任意一个...", - "is_none_of": "不是任意一个...", - "include_me": "包括当前用户", - "today": "今天", - "tomorrow": "明天", - "yesterday": "昨天", - "one_week_ago": "一周前", - "one_week_from_now": "一周后", - "one_month_ago": "一个月前", - "one_month_from_now": "一个月后", - "number_of_days_ago": "特定天数前", - "number_of_days_from_now": "特定天数后", - "exact_date": "精确日期", - "last_week": "上个星期", - "last_month": "上个月", - "last_year": "去年", - "this_week": "这个星期", - "this_month": "这个月", - "this_year": "今年", - "the_next_week": "下个星期", - "the_next_month": "下个月", - "the_next_year": "下一年", - "the_past_week": "上个星期", - "the_past_month": "上个月", - "the_past_year": "去年", - "the_next_numbers_of_days": "今天之后的指定天数", - "the_past_numbers_of_days": "今天之前的指定天数", - "Double_click_to_enter_edit_mode_and_adjust_field_width" : "双击可进入编辑模式并调整字段宽度", - "Enter_comment_Enter_for_new_line_shift_enter_to_send": "输入评论,Enter 换行,Shift + Enter 发送", - "Sub_table": "子表", - "Search_action": "搜索操作...", - "Comment_details": "评论详情", - "Two_column": "2 列", - "Three_column": "3 列", - "Four_column": "4 列", - "Five_column": "5 列", - "Full_width_mode": "全宽模式", - "Video": "视频", - "Upload_local_video": "上传本地视频", - "The_current_version_does_not_support_>5MB_video_file": "当前版本不支持大于 5MB 的视频文件", - "Token_expired_Please_refresh_the_page": "Token已过期。请刷新页面。", - "Link_to_page": "链接到页面", - "No_page_results": "没有页面结果", - "Page": "页面", - "Share_1": "分享", - "Collect": "收藏", - "Collected": "已收藏", - "Link_to_file": "链接到文件", - "Create_a_new_file": "新建文件", - "Suggestion": "建议", - "Continuation": "继续写", - "More_details": "更加详细", - "More_concise": "更加简单", - "More_vivid": "更加生动", - "Translate": "翻译", - "Adjustment": "调整", - "Try_again": "再试一次", - "Deprecation": "弃用", - "Generated_content_x_words": "已生成内容 {{count}} 字", - "Ask_AI_anything": "请输入指令...", - "Thinking": "思考中...", - "Translation_error_message": "翻译出错,请重试", - "The_translation_content_cannot_be_empty": "翻译内容不能为空", - "Processing_message": "正在处理,请稍侯...", - "AI_tip_content": "是否丢失当前内容?", - "Discard": "丢弃", - "English": "英语", - "Chinese": "中文", - "Ask_AI": "询问 AI", - "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": "后点击工具栏「插入」- 「照片」上传", - "Image_copy_error": "图片复制错误", - "Image_is_uploading": "图片正在上传...", - "Select_at_least_one_row_record": "选择至少一行记录", - "Selected_row_records_cannot_exceed_10_rows": "选择的行记录不能超过10条", - "Select_seatable_rows": "选择 Seatable 行", - "Add_rows_record": "添加行记录", - "Double_click_then_adjust_field_width": "双击后调节字段宽度" -} diff --git a/media/sdoc-editor/locales/zh_CN/sdoc-editor.json b/media/sdoc-editor/locales/zh_CN/sdoc-editor.json index ec0d363d30..47eaeefd15 100644 --- a/media/sdoc-editor/locales/zh_CN/sdoc-editor.json +++ b/media/sdoc-editor/locales/zh_CN/sdoc-editor.json @@ -619,5 +619,8 @@ "Selected_row_records_cannot_exceed_10_rows": "选择的行记录不能超过10条", "Select_seatable_rows": "选择 Seatable 行", "Add_rows_record": "添加行记录", - "Double_click_then_adjust_field_width": "双击后调节字段宽度" + "Double_click_then_adjust_field_width": "双击后调节字段宽度", + "Insert_chart": "插入图表", + "Edit_chart": "编辑图表", + "Please_complete_the_chart_configuration_first": "请先完成图表配置" } diff --git a/media/sdoc-editor/sdoc-editor-font/iconfont.css b/media/sdoc-editor/sdoc-editor-font/iconfont.css index 8a0bbae264..942b21bccd 100644 --- a/media/sdoc-editor/sdoc-editor-font/iconfont.css +++ b/media/sdoc-editor/sdoc-editor-font/iconfont.css @@ -1,14 +1,11 @@ @font-face { - font-family: "sdocfont"; - /* Project id 4097705 */ - src: url('iconfont.eot?t=1734596051979'); - /* IE9 */ - src: url('iconfont.eot?t=1734596051979#iefix') format('embedded-opentype'), - /* IE6-IE8 */ - url('iconfont.woff2?t=1734596051979') format('woff2'), - url('iconfont.woff?t=1734596051979') format('woff'), - url('iconfont.ttf?t=1734596051979') format('truetype'), - url('iconfont.svg?t=1734596051979#sdocfont') format('svg'); + font-family: "sdocfont"; /* Project id 4097705 */ + src: url('iconfont.eot?t=1740817787686'); /* IE9 */ + src: url('iconfont.eot?t=1740817787686#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('iconfont.woff2?t=1740817787686') format('woff2'), + url('iconfont.woff?t=1740817787686') format('woff'), + url('iconfont.ttf?t=1740817787686') format('truetype'), + url('iconfont.svg?t=1740817787686#sdocfont') format('svg'); } .sdocfont { @@ -19,6 +16,14 @@ -moz-osx-font-smoothing: grayscale; } +.sdoc-seatable-row:before { + content: "\e687"; +} + +.sdoc-ask-ai:before { + content: "\e685"; +} + .sdoc-document-link:before { content: "\e686"; } @@ -51,10 +56,6 @@ content: "\e684"; } -.sdoc-ask-ai:before { - content: "\e685"; -} - .sdoc-check-mark:before { content: "\e67d"; } diff --git a/media/sdoc-editor/sdoc-editor-font/iconfont.eot b/media/sdoc-editor/sdoc-editor-font/iconfont.eot index 3eb8e375e1..16ad51e6f0 100644 Binary files a/media/sdoc-editor/sdoc-editor-font/iconfont.eot and b/media/sdoc-editor/sdoc-editor-font/iconfont.eot differ diff --git a/media/sdoc-editor/sdoc-editor-font/iconfont.svg b/media/sdoc-editor/sdoc-editor-font/iconfont.svg index eebb6b206c..7ccc47efb5 100644 --- a/media/sdoc-editor/sdoc-editor-font/iconfont.svg +++ b/media/sdoc-editor/sdoc-editor-font/iconfont.svg @@ -14,7 +14,9 @@ /> - + + + diff --git a/media/sdoc-editor/sdoc-editor-font/iconfont.ttf b/media/sdoc-editor/sdoc-editor-font/iconfont.ttf index 9aeed335c4..9fe842bc35 100644 Binary files a/media/sdoc-editor/sdoc-editor-font/iconfont.ttf and b/media/sdoc-editor/sdoc-editor-font/iconfont.ttf differ diff --git a/media/sdoc-editor/sdoc-editor-font/iconfont.woff b/media/sdoc-editor/sdoc-editor-font/iconfont.woff index 2b1aabda60..432a4bd699 100644 Binary files a/media/sdoc-editor/sdoc-editor-font/iconfont.woff and b/media/sdoc-editor/sdoc-editor-font/iconfont.woff differ diff --git a/media/sdoc-editor/sdoc-editor-font/iconfont.woff2 b/media/sdoc-editor/sdoc-editor-font/iconfont.woff2 index db18de4ebd..d3a5dab186 100644 Binary files a/media/sdoc-editor/sdoc-editor-font/iconfont.woff2 and b/media/sdoc-editor/sdoc-editor-font/iconfont.woff2 differ