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: 'Undo',
|
||||
redo: 'Redo',
|
||||
editing: 'Editing',
|
||||
autoSaved: 'Auto-Saved',
|
||||
unpublished: 'Unpublished',
|
||||
@@ -76,6 +78,32 @@ const translation = {
|
||||
importFailure: 'Import failure',
|
||||
importSuccess: 'Import success',
|
||||
},
|
||||
changeHistory: {
|
||||
title: 'Change History',
|
||||
placeholder: 'You haven\'t changed anything yet',
|
||||
clearHistory: 'Clear History',
|
||||
hint: 'Hint',
|
||||
hintText: 'Your editing actions are tracked in a change history, which is stored on your device for the duration of this session. This history will be cleared when you leave the editor.',
|
||||
stepBackward_one: '{{count}} step backward',
|
||||
stepBackward_other: '{{count}} steps backward',
|
||||
stepForward_one: '{{count}} step forward',
|
||||
stepForward_other: '{{count}} steps forward',
|
||||
sessionStart: 'Session Start',
|
||||
currentState: 'Current State',
|
||||
nodeTitleChange: 'Block title changed',
|
||||
nodeDescriptionChange: 'Block description changed',
|
||||
nodeDragStop: 'Block moved',
|
||||
nodeChange: 'Block changed',
|
||||
nodeConnect: 'Block connected',
|
||||
nodePaste: 'Block pasted',
|
||||
nodeDelete: 'Block deleted',
|
||||
nodeAdd: 'Block added',
|
||||
nodeResize: 'Block resized',
|
||||
noteAdd: 'Note added',
|
||||
noteChange: 'Note changed',
|
||||
noteDelete: 'Note deleted',
|
||||
edgeDelete: 'Block disconnected',
|
||||
},
|
||||
errorMsg: {
|
||||
fieldRequired: '{{field}} is required',
|
||||
authRequired: 'Authorization is required',
|
||||
|
Reference in New Issue
Block a user