chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -20,7 +20,7 @@ import { useService } from '@flowgram-adapter/free-layout-editor';
|
||||
import { HistoryService } from '@flowgram-adapter/common';
|
||||
|
||||
/**
|
||||
* 清空undo redo历史栈
|
||||
* Undo redo history stack
|
||||
* @returns
|
||||
*/
|
||||
export function useClearHistory(): {
|
||||
|
||||
@@ -112,7 +112,7 @@ export class WorkflowOperationReportService {
|
||||
private shouldReport(operation: Operation) {
|
||||
const { value, type } = operation;
|
||||
|
||||
// 修改同一个节点,同一个属性只上报一次, 防止频繁编辑上报过多
|
||||
// Modify the same node and report the same attribute only once to prevent frequent editing and reporting too much
|
||||
if (
|
||||
this.isChangeDataType(type) &&
|
||||
this.lastOperation &&
|
||||
|
||||
@@ -28,7 +28,7 @@ import { reporter } from '@coze-workflow/base';
|
||||
import { WorkflowHistoryConfig } from './workflow-history-config';
|
||||
|
||||
/**
|
||||
* history 快捷键
|
||||
* History shortcut
|
||||
*/
|
||||
@injectable()
|
||||
export class WorkflowHistoryShortcutsContribution
|
||||
@@ -44,7 +44,7 @@ export class WorkflowHistoryShortcutsContribution
|
||||
registerShortcuts(registry: WorkflowShortcutsRegistry): void {
|
||||
registry.addHandlers(
|
||||
/**
|
||||
* 撤销
|
||||
* revoke
|
||||
*/
|
||||
{
|
||||
commandId: WorkflowCommands.UNDO,
|
||||
@@ -61,7 +61,7 @@ export class WorkflowHistoryShortcutsContribution
|
||||
},
|
||||
},
|
||||
/**
|
||||
* 重做
|
||||
* redo
|
||||
*/
|
||||
{
|
||||
commandId: WorkflowCommands.REDO,
|
||||
|
||||
Reference in New Issue
Block a user