feat: undo/redo for workflow editor (#3927)

Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
Pascal M 2024-06-26 08:37:12 +02:00 • committed by GitHub
commit af9448e6f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 2049 additions and 778 deletions

View file

@ -1,5 +1,7 @@
const translation = {
common: {
undo: '실행 취소',
redo: '다시 실행',
editing: '편집 중',
autoSaved: '자동 저장됨',
unpublished: '미발행',
@ -68,6 +70,32 @@ const translation = {
workflowAsToolTip: '워크플로우 업데이트 후 도구 재구성이 필요합니다.',
viewDetailInTracingPanel: '세부 정보 보기',
},
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: '인증이 필요합니다',