mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 11:26:52 +08:00
feat: undo/redo for workflow editor (#3927)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
const translation = {
|
||||
common: {
|
||||
undo: '撤销',
|
||||
redo: '重做',
|
||||
editing: '编辑中',
|
||||
autoSaved: '自动保存',
|
||||
unpublished: '未发布',
|
||||
@@ -76,6 +78,32 @@ const translation = {
|
||||
importFailure: '导入失败',
|
||||
importSuccess: '导入成功',
|
||||
},
|
||||
changeHistory: {
|
||||
title: '变更历史',
|
||||
placeholder: '尚未更改任何内容',
|
||||
clearHistory: '清除历史记录',
|
||||
hint: '提示',
|
||||
hintText: '您的编辑操作将被跟踪并存储在您的设备上,直到您离开编辑器。此历史记录将在您离开编辑器时被清除。',
|
||||
stepBackward_one: '{{count}} 步后退',
|
||||
stepBackward_other: '{{count}} 步后退',
|
||||
stepForward_one: '{{count}} 步前进',
|
||||
stepForward_other: '{{count}} 步前进',
|
||||
sessionStart: '会话开始',
|
||||
currentState: '当前状态',
|
||||
nodeTitleChange: '块标题已更改',
|
||||
nodeDescriptionChange: '块描述已更改',
|
||||
nodeDragStop: '块已移动',
|
||||
nodeChange: '块已更改',
|
||||
nodeConnect: '块已连接',
|
||||
nodePaste: '块已粘贴',
|
||||
nodeDelete: '块已删除',
|
||||
nodeAdd: '块已添加',
|
||||
nodeResize: '块已调整大小',
|
||||
noteAdd: '注释已添加',
|
||||
noteChange: '注释已更改',
|
||||
noteDelete: '注释已删除',
|
||||
edgeDelete: '块已断开连接',
|
||||
},
|
||||
errorMsg: {
|
||||
fieldRequired: '{{field}} 不能为空',
|
||||
authRequired: '请先授权',
|
||||
|
||||
Reference in New Issue
Block a user