chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -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(): {

View File

@@ -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 &&

View File

@@ -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,