mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 20:37:48 +00:00
feat: undo-redo & edit snapshots (#2436)
* feat: undo-redo & edit snapshots * fix merge * add simple history back * fix some undo * change app latest version * fix * chatconfig * fix snapshot * fix * fix * fix * fix compare * fix initial * fix merge: * fix useEffect * fix snapshot initial and saved state * chore * fix * compare snapshot * nodes edges useEffct * fix chatconfig * fix * delete unused method * fix * fix * fix * default version name
This commit is contained in:
@@ -3,10 +3,20 @@
|
||||
"ai_settings": "AI Settings",
|
||||
"all_apps": "All Apps",
|
||||
"app": {
|
||||
"Version name": "Version name",
|
||||
"modules": {
|
||||
"click to update": "click to update",
|
||||
"has new version": "has new version"
|
||||
}
|
||||
},
|
||||
"version_back": "Back to initial",
|
||||
"version_copy": "Copy",
|
||||
"version_current": "current version",
|
||||
"version_initial": "Initial version",
|
||||
"version_initial_copy": "Copy-Initial state",
|
||||
"version_name_tips": "Version name can't be empty.",
|
||||
"version_past": "published",
|
||||
"version_publish_tips": "This version will be saved to the team's cloud, synchronized with the entire team, and update the application versions across all publishing channels.",
|
||||
"version_save_tips": "This version will be saved to the team's cloud and synchronized with the entire team."
|
||||
},
|
||||
"app_detail": "App Details",
|
||||
"chat_debug": "Chat Debug",
|
||||
|
@@ -138,6 +138,7 @@
|
||||
"Done": "Done",
|
||||
"Edit": "Edit",
|
||||
"Exit": "Exit",
|
||||
"Exit Directly": "Exit",
|
||||
"Expired Time": "Expired Time",
|
||||
"Field": "Field",
|
||||
"File": "File",
|
||||
@@ -184,6 +185,7 @@
|
||||
"Save": "Save",
|
||||
"Save Failed": "Saved failed",
|
||||
"Save Success": "Saved success",
|
||||
"Save_and_exit": "Save and exit",
|
||||
"Search": "Search",
|
||||
"Select File Failed": "Select File Failed",
|
||||
"Select template": "Select template",
|
||||
@@ -256,6 +258,8 @@
|
||||
"no_intro": "No introduction yet",
|
||||
"not_support": "not support",
|
||||
"page_center": "Center the page",
|
||||
"redo_tip": "redo ctrl shift z",
|
||||
"redo_tip_mac": "redo ⌘ shift z",
|
||||
"request_end": "All loaded",
|
||||
"request_more": "Click to load more",
|
||||
"speech": {
|
||||
@@ -275,7 +279,13 @@
|
||||
"textarea": {
|
||||
"Magnifying": "Magnify"
|
||||
}
|
||||
}
|
||||
},
|
||||
"undo_tip": "unde ctrl z",
|
||||
"undo_tip_mac": "undo ⌘ z ",
|
||||
"zoomin_tip": "zoomIn ctrl -",
|
||||
"zoomin_tip_mac": "zoomIn ⌘ -",
|
||||
"zoomout_tip": "zoomOut ctrl +",
|
||||
"zoomout_tip_mac": "zoomOut ⌘ +"
|
||||
},
|
||||
"confirm_choice": "Confirm selection",
|
||||
"contribute_app_template": "Contribution template",
|
||||
@@ -311,6 +321,7 @@
|
||||
"Max histories": "Chat history count",
|
||||
"Max tokens": "Reply limit",
|
||||
"Name and avatar": "Avatar & name",
|
||||
"Not saved": "Not saved",
|
||||
"Onclick to save": "Click to save",
|
||||
"Publish": "Publish",
|
||||
"Publish Confirm": "Confirm to publish the app? It will immediately update the app status across all published channels.",
|
||||
@@ -361,6 +372,7 @@
|
||||
"close custom feedback": "Close feedback"
|
||||
},
|
||||
"have_publish": "Published",
|
||||
"have_saved": "have saved",
|
||||
"loading": "loading",
|
||||
"logs": {
|
||||
"Source And Time": "Source & Time"
|
||||
@@ -375,6 +387,7 @@
|
||||
},
|
||||
"no_app": "There is no application yet, go and create one!",
|
||||
"not_published": "Unpublished",
|
||||
"not_saved": "not saved",
|
||||
"outLink": {
|
||||
"Can Drag": "Icon draggable",
|
||||
"Default open": "Open by default",
|
||||
@@ -475,6 +488,7 @@
|
||||
"Recent use": "Recent use",
|
||||
"Record": "Voice input",
|
||||
"Restart": "Restart conversation",
|
||||
"Run test": "Run test",
|
||||
"Select Image": "Select image",
|
||||
"Select dataset": "Select dataset",
|
||||
"Select dataset Desc": "Select a dataset to store the expected answer",
|
||||
@@ -935,7 +949,10 @@
|
||||
"Debug Node": "Debug mode",
|
||||
"Failed": "Execution failed",
|
||||
"Not intro": "This node has no introduction~",
|
||||
"Run": "Run",
|
||||
"Running": "Running",
|
||||
"Save and publish": "Save and publish",
|
||||
"Save to cloud": "Save",
|
||||
"Skipped": "Skipped execution",
|
||||
"Stop debug": "Stop debugging",
|
||||
"Success": "Execution successful",
|
||||
|
@@ -45,5 +45,12 @@
|
||||
},
|
||||
"tool_input": "Tool",
|
||||
"update_link_error": "Update link exception",
|
||||
"variable_picker_tips": "enter node name or variable name to search"
|
||||
"variable_picker_tips": "enter node name or variable name to search",
|
||||
"workflow": {
|
||||
"Back_to_current_version": "Back to current version",
|
||||
"My edit": "My edit",
|
||||
"Switch_success": "switch successfully",
|
||||
"Team cloud": "Team cloud",
|
||||
"exit_tips": "Your changes have not been saved. Exiting directly will not save your edits."
|
||||
}
|
||||
}
|
||||
|
@@ -3,10 +3,20 @@
|
||||
"ai_settings": "AI 配置",
|
||||
"all_apps": "全部应用",
|
||||
"app": {
|
||||
"Version name": "版本名称",
|
||||
"modules": {
|
||||
"click to update": "点击更新",
|
||||
"has new version": "有新版本"
|
||||
}
|
||||
},
|
||||
"version_back": "回到初始状态",
|
||||
"version_copy": "副本",
|
||||
"version_current": "当前版本",
|
||||
"version_initial": "初始版本",
|
||||
"version_initial_copy": "副本-初始状态",
|
||||
"version_name_tips": "版本名称不能为空",
|
||||
"version_past": "发布过",
|
||||
"version_publish_tips": "该版本将被保存至团队云端,同步给整个团队,同时更新所有发布渠道的应用版本",
|
||||
"version_save_tips": "该版本将被保存至团队云端,同步给整个团队"
|
||||
},
|
||||
"app_detail": "应用详情",
|
||||
"chat_debug": "调试预览",
|
||||
|
@@ -138,6 +138,7 @@
|
||||
"Done": "完成",
|
||||
"Edit": "编辑",
|
||||
"Exit": "退出",
|
||||
"Exit Directly": "直接退出",
|
||||
"Expired Time": "过期时间",
|
||||
"Field": "字段",
|
||||
"File": "文件",
|
||||
@@ -184,6 +185,7 @@
|
||||
"Save": "保存",
|
||||
"Save Failed": "保存异常",
|
||||
"Save Success": "保存成功",
|
||||
"Save_and_exit": "保存并退出",
|
||||
"Search": "搜索",
|
||||
"Select File Failed": "选择文件异常",
|
||||
"Select template": "选择模板",
|
||||
@@ -256,6 +258,8 @@
|
||||
"no_intro": "暂无介绍",
|
||||
"not_support": "不支持",
|
||||
"page_center": "页面居中",
|
||||
"redo_tip": "恢复 ctrl shift z",
|
||||
"redo_tip_mac": "恢复 ⌘ shift z",
|
||||
"request_end": "已加载全部",
|
||||
"request_more": "点击加载更多",
|
||||
"speech": {
|
||||
@@ -275,7 +279,13 @@
|
||||
"textarea": {
|
||||
"Magnifying": "放大"
|
||||
}
|
||||
}
|
||||
},
|
||||
"undo_tip": "撤销 ctrl z",
|
||||
"undo_tip_mac": "撤销 ⌘ z ",
|
||||
"zoomin_tip": "缩小 ctrl -",
|
||||
"zoomin_tip_mac": "缩小 ⌘ -",
|
||||
"zoomout_tip": "放大 ctrl +",
|
||||
"zoomout_tip_mac": "放大 ⌘ +"
|
||||
},
|
||||
"confirm_choice": "确认选择",
|
||||
"contribute_app_template": "贡献模板",
|
||||
@@ -311,6 +321,7 @@
|
||||
"Max histories": "聊天记录数量",
|
||||
"Max tokens": "回复上限",
|
||||
"Name and avatar": "头像 & 名称",
|
||||
"Not saved": "未保存",
|
||||
"Onclick to save": "点击保存",
|
||||
"Publish": "发布",
|
||||
"Publish Confirm": "确认发布应用?会立即更新所有发布渠道的应用状态。",
|
||||
@@ -361,6 +372,7 @@
|
||||
"close custom feedback": "关闭反馈"
|
||||
},
|
||||
"have_publish": "已发布",
|
||||
"have_saved": "已保存",
|
||||
"loading": "加载中",
|
||||
"logs": {
|
||||
"Source And Time": "来源 & 时间"
|
||||
@@ -375,6 +387,7 @@
|
||||
},
|
||||
"no_app": "还没有应用,快去创建一个吧!",
|
||||
"not_published": "未发布",
|
||||
"not_saved": "未保存",
|
||||
"outLink": {
|
||||
"Can Drag": "图标可拖拽",
|
||||
"Default open": "默认打开",
|
||||
@@ -475,6 +488,7 @@
|
||||
"Recent use": "最近使用",
|
||||
"Record": "语音输入",
|
||||
"Restart": "重开对话",
|
||||
"Run test": "运行预览",
|
||||
"Select Image": "选择图片",
|
||||
"Select dataset": "选择知识库",
|
||||
"Select dataset Desc": "选择一个知识库存储预期答案",
|
||||
@@ -617,7 +631,8 @@
|
||||
"success": "开始同步"
|
||||
}
|
||||
},
|
||||
"training": {}
|
||||
"training": {
|
||||
}
|
||||
},
|
||||
"data": {
|
||||
"Auxiliary Data": "辅助数据",
|
||||
@@ -934,7 +949,10 @@
|
||||
"Debug Node": "Debug 模式",
|
||||
"Failed": "运行失败",
|
||||
"Not intro": "这个节点没有介绍~",
|
||||
"Run": "运行",
|
||||
"Running": "运行中",
|
||||
"Save and publish": "保存并发布",
|
||||
"Save to cloud": "仅保存",
|
||||
"Skipped": "跳过运行",
|
||||
"Stop debug": "停止调试",
|
||||
"Success": "运行成功",
|
||||
|
@@ -45,5 +45,12 @@
|
||||
},
|
||||
"tool_input": "工具参数",
|
||||
"update_link_error": "更新链接异常",
|
||||
"variable_picker_tips": "可输入节点名或变量名搜索"
|
||||
"variable_picker_tips": "可输入节点名或变量名搜索",
|
||||
"workflow": {
|
||||
"Back_to_current_version": "回到初始状态",
|
||||
"My edit": "我的编辑",
|
||||
"Switch_success": "切换成功",
|
||||
"Team cloud": "团队云端",
|
||||
"exit_tips": "您的更改尚未保存,「直接退出」将不会保存您的编辑记录。"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user