perf: workflow&plugins json config import and export (#2592)

This commit is contained in:
papapatrick
2024-09-02 15:05:58 +08:00
committed by GitHub
parent 84de95d294
commit 036097243a
11 changed files with 302 additions and 71 deletions

View File

@@ -48,6 +48,7 @@
"export_config_successful": "Config copied, please check for important data",
"export_configs": "Export Configs",
"feedback_count": "User Feedback",
"file_recover": "The file will overwrite the current content",
"file_upload": "file_upload",
"file_upload_tip": "After it is enabled, you can upload documents/pictures. Documents are kept for 7 days and pictures for 15 days. Use of this feature may incur additional charges. To ensure the user experience, select an AI model with a large context length when using this function.",
"go_to_chat": "To chat",
@@ -56,6 +57,7 @@
"image_upload_tip": "Be sure to select a visual model that can handle the picture",
"import_configs": "Import Configs",
"import_configs_failed": "Failed to import configs, please ensure configs are valid!",
"import_configs_success": "Import successful",
"interval": {
"12_hours": "every 12 hours",
"2_hours": "every 2 hours",
@@ -86,6 +88,8 @@
},
"move_app": "Move app",
"no": "no",
"not_json_file": "Please select a JSON file",
"or_drag_JSON": "Or drag in a JSON file",
"paste_config": "Paste Config",
"plugin_cost_per_times": "{{cost}}/per time",
"plugin_dispatch": "Plugins",

View File

@@ -227,6 +227,7 @@
"confirm": {
"Common Tip": "Operation confirmation"
},
"copy_to_clipboard": "copy to clipboard",
"course": {
"Read Course": "Read course"
},
@@ -238,6 +239,7 @@
"too_many_request": "Too many requests, please try again later.",
"unKnow": "An unexpected error occurred~"
},
"export_to_json": "Export to JSON",
"failed": "fail",
"folder": {
"Drag Tip": "Drag me",
@@ -257,6 +259,7 @@
"jsonEditor": {
"Parse error": "JSON may be incorrect, please check carefully"
},
"json_config": "JSON configuration",
"link": {
"UnValid": "Invalid link"
},
@@ -289,6 +292,7 @@
},
"undo_tip": "unde ctrl z",
"undo_tip_mac": "undo ⌘ z ",
"upload_file": "Upload files",
"zoomin_tip": "zoomIn ctrl -",
"zoomin_tip_mac": "zoomIn ⌘ -",
"zoomout_tip": "zoomOut ctrl +",

View File

@@ -48,6 +48,7 @@
"export_config_successful": "已复制配置,自动过滤部分敏感信息,请注意检查是否仍有敏感数据",
"export_configs": "导出配置",
"feedback_count": "用户反馈",
"file_recover": "文件将覆盖当前内容",
"file_upload": "文件上传",
"file_upload_tip": "开启后,可以上传文档/图片。文档保留7天图片保留15天。使用该功能可能产生较多额外费用。为保证使用体验使用该功能时请选择上下文长度较大的AI模型。",
"go_to_chat": "去对话",
@@ -56,6 +57,7 @@
"image_upload_tip": "请确保选择可处理图片的视觉模型",
"import_configs": "导入配置",
"import_configs_failed": "导入配置失败,请确保配置正常!",
"import_configs_success": "导入成功",
"interval": {
"12_hours": "每12小时",
"2_hours": "每2小时",
@@ -85,7 +87,9 @@
"unit": "号"
},
"move_app": "移动应用",
"not_json_file": "请选择JSON文件",
"paste_config": "粘贴配置",
"or_drag_JSON": "或拖入JSON文件",
"plugin_cost_per_times": "{{cost}}/次",
"plugin_dispatch": "插件调用",
"plugin_dispatch_tip": "给模型附加额外的能力,具体调用哪些插件,将由模型自主决定。\n若选择了插件知识库调用将自动作为一个特殊的插件。",

View File

@@ -112,6 +112,7 @@
"common": {
"Action": "操作",
"Add": "添加",
"copy_to_clipboard": "复制到剪贴板",
"Add New": "新增",
"Add Success": "添加成功",
"All": "全部",
@@ -122,6 +123,7 @@
"Confirm": "确认",
"Confirm Create": "确认创建",
"Confirm Import": "确认导入",
"export_to_json": "导出为 JSON",
"Confirm Move": "移动到这",
"Confirm Update": "确认更新",
"Confirm to leave the page": "确认离开该页面?",
@@ -193,6 +195,7 @@
"Save Success": "保存成功",
"Save_and_exit": "保存并退出",
"Search": "搜索",
"json_config": "JSON 配置",
"Select File Failed": "选择文件异常",
"Select template": "选择模板",
"Set Avatar": "点击设置头像",
@@ -289,6 +292,7 @@
},
"undo_tip": "撤销 ctrl z",
"undo_tip_mac": "撤销 ⌘ z ",
"upload_file": "上传文件",
"zoomin_tip": "缩小 ctrl -",
"zoomin_tip_mac": "缩小 ⌘ -",
"zoomout_tip": "放大 ctrl +",