This commit is contained in:
Typer_Body
2026-05-07 23:33:54 +08:00
parent d176a448e0
commit fc40d3c949
34 changed files with 2297 additions and 1075 deletions
+3 -1
View File
@@ -18,7 +18,9 @@ export default function I18nProvider({ children }: I18nProviderProps) {
// return i18nLabel.en_US;
// }
export const extractI18nObject = (i18nObject: I18nObject | undefined | null): string => {
export const extractI18nObject = (
i18nObject: I18nObject | undefined | null,
): string => {
// 根据当前语言返回对应的值, fallback优先级:en_US、zh_Hans、zh_Hant、ja_JP
if (!i18nObject || typeof i18nObject !== 'object') {
return '';
+38 -19
View File
@@ -380,14 +380,17 @@ const enUS = {
sessionTypeGroup: 'Group Chat',
// Unified binding (replacing routing rules)
bindTarget: 'Bind Target',
bindTargetDescription: 'Select the Pipeline or Workflow to process messages for this bot',
bindTargetDescription:
'Select the Pipeline or Workflow to process messages for this bot',
bindingType: 'Binding Type',
selectBinding: 'Select binding target',
selectWorkflow: 'Select Workflow',
noPipelinesFound: 'No pipelines available',
noWorkflowsFound: 'No workflows available',
pipelineBindingHelp: 'Pipeline is the traditional message processing method using predefined stages.',
workflowBindingHelp: 'Workflow provides visual node orchestration for more flexible message processing.',
pipelineBindingHelp:
'Pipeline is the traditional message processing method using predefined stages.',
workflowBindingHelp:
'Workflow provides visual node orchestration for more flexible message processing.',
adapterConfigDescription: 'Configure the selected platform adapter',
dangerZone: 'Danger Zone',
dangerZoneDescription: 'Irreversible and destructive actions',
@@ -1355,7 +1358,8 @@ const enUS = {
},
workflows: {
title: 'Workflows',
description: 'Create and manage visual workflows for complex message processing logic',
description:
'Create and manage visual workflows for complex message processing logic',
createWorkflow: 'Create Workflow',
selectFromSidebar: 'Select a workflow from the sidebar',
editWorkflow: 'Edit Workflow',
@@ -1395,10 +1399,12 @@ const enUS = {
dangerZoneDesc: 'Irreversible operations',
dangerZoneDescription: 'Irreversible operations',
deleteWorkflowAction: 'Delete this workflow',
deleteWorkflowHint: 'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflowHint:
'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflow: 'Delete Workflow',
deleteConfirm: 'Confirm Delete',
deleteConfirmDesc: 'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
deleteConfirmDesc:
'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
// Form component
name: 'Name',
namePlaceholder: 'Enter workflow name',
@@ -1461,13 +1467,16 @@ const enUS = {
dragToAdd: 'Drag nodes to add to canvas',
// Property panel
selectNodeOrEdge: 'Select a node or edge',
selectNodeOrEdgeHint: 'Click on a node or edge in the canvas to view and edit its properties',
selectNodeOrEdgeHint:
'Click on a node or edge in the canvas to view and edit its properties',
edgeProperties: 'Edge Properties',
nodeProperties: 'Node Properties',
condition: 'Condition',
hasCondition: 'Set',
conditionPlaceholder: 'Enter condition expression, e.g. output.success == true',
conditionHelp: 'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
conditionPlaceholder:
'Enter condition expression, e.g. output.success == true',
conditionHelp:
'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
deleteEdge: 'Delete Edge',
deleteEdgeConfirm: 'Confirm Delete Edge',
deleteEdgeConfirmDesc: 'This edge will be permanently removed.',
@@ -1488,7 +1497,8 @@ const enUS = {
noConfigOptions: 'No configuration options for this node type',
deleteNode: 'Delete Node',
deleteNodeConfirm: 'Confirm Delete Node',
deleteNodeConfirmDesc: 'This node and all its connections will be permanently removed.',
deleteNodeConfirmDesc:
'This node and all its connections will be permanently removed.',
// Node inputs/outputs i18n (for port labels)
nodeInputs: {
// Common inputs
@@ -1551,7 +1561,8 @@ const enUS = {
aiProcess: 'AI Processing',
aiProcessDescription: 'Process messages using AI models',
llmCall: 'LLM Call',
llmCallDescription: 'Invoke large language model for conversation or generation',
llmCallDescription:
'Invoke large language model for conversation or generation',
codeProcess: 'Code Processing',
codeProcessDescription: 'Execute custom code',
codeExecutor: 'Code Executor',
@@ -1563,13 +1574,17 @@ const enUS = {
dataTransform: 'Data Transform',
dataTransformDescription: 'Transform data format',
questionClassifier: 'Question Classifier',
questionClassifierDescription: 'Classify user questions into predefined categories using LLM',
questionClassifierDescription:
'Classify user questions into predefined categories using LLM',
parameterExtractor: 'Parameter Extractor',
parameterExtractorDescription: 'Extract structured parameters from text using LLM',
parameterExtractorDescription:
'Extract structured parameters from text using LLM',
knowledgeRetrieval: 'Knowledge Retrieval',
knowledgeRetrievalDescription: 'Retrieve relevant content from knowledge base',
knowledgeRetrievalDescription:
'Retrieve relevant content from knowledge base',
textTemplate: 'Text Template',
textTemplateDescription: 'Generate text using templates with variable interpolation',
textTemplateDescription:
'Generate text using templates with variable interpolation',
jsonTransform: 'JSON Transform',
jsonTransformDescription: 'Transform JSON data using expressions',
dataAggregator: 'Data Aggregator',
@@ -1597,13 +1612,15 @@ const enUS = {
merge: 'Merge',
mergeDescription: 'Merge multiple branches',
variableAggregator: 'Variable Aggregator',
variableAggregatorDescription: 'Aggregate variable outputs from multiple branches',
variableAggregatorDescription:
'Aggregate variable outputs from multiple branches',
action: 'Actions',
actionDescription: 'Action execution nodes',
sendMessage: 'Send Message',
sendMessageDescription: 'Send message to platform',
replyMessage: 'Reply Message',
replyMessageDescription: 'Reply to the message that triggered the workflow',
replyMessageDescription:
'Reply to the message that triggered the workflow',
storeData: 'Store Data',
storeDataDescription: 'Store data to database',
callPipeline: 'Call Pipeline',
@@ -1611,7 +1628,8 @@ const enUS = {
setVariable: 'Set Variable',
setVariableDescription: 'Set context variable',
openingStatement: 'Opening Statement',
openingStatementDescription: 'Provide conversation opener and suggested questions',
openingStatementDescription:
'Provide conversation opener and suggested questions',
end: 'End',
endDescription: 'Mark the end of workflow execution',
log: 'Log',
@@ -1657,7 +1675,8 @@ const enUS = {
title: 'Version History',
current: 'Current Version',
rollback: 'Rollback to this version',
rollbackConfirm: 'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackConfirm:
'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackSuccess: 'Rollback successful',
rollbackError: 'Failed to rollback: ',
},
+32 -16
View File
@@ -1373,7 +1373,8 @@ const esES = {
},
workflows: {
title: 'Workflows',
description: 'Create and manage visual workflows for complex message processing logic',
description:
'Create and manage visual workflows for complex message processing logic',
createWorkflow: 'Create Workflow',
selectFromSidebar: 'Select a workflow from the sidebar',
editWorkflow: 'Edit Workflow',
@@ -1413,10 +1414,12 @@ const esES = {
dangerZoneDesc: 'Irreversible operations',
dangerZoneDescription: 'Irreversible operations',
deleteWorkflowAction: 'Delete this workflow',
deleteWorkflowHint: 'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflowHint:
'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflow: 'Delete Workflow',
deleteConfirm: 'Confirm Delete',
deleteConfirmDesc: 'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
deleteConfirmDesc:
'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
// Form component
name: 'Name',
namePlaceholder: 'Enter workflow name',
@@ -1479,13 +1482,16 @@ const esES = {
dragToAdd: 'Drag nodes to add to canvas',
// Property panel
selectNodeOrEdge: 'Select a node or edge',
selectNodeOrEdgeHint: 'Click on a node or edge in the canvas to view and edit its properties',
selectNodeOrEdgeHint:
'Click on a node or edge in the canvas to view and edit its properties',
edgeProperties: 'Edge Properties',
nodeProperties: 'Node Properties',
condition: 'Condition',
hasCondition: 'Set',
conditionPlaceholder: 'Enter condition expression, e.g. output.success == true',
conditionHelp: 'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
conditionPlaceholder:
'Enter condition expression, e.g. output.success == true',
conditionHelp:
'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
deleteEdge: 'Delete Edge',
deleteEdgeConfirm: 'Confirm Delete Edge',
deleteEdgeConfirmDesc: 'This edge will be permanently removed.',
@@ -1506,7 +1512,8 @@ const esES = {
noConfigOptions: 'No configuration options for this node type',
deleteNode: 'Delete Node',
deleteNodeConfirm: 'Confirm Delete Node',
deleteNodeConfirmDesc: 'This node and all its connections will be permanently removed.',
deleteNodeConfirmDesc:
'This node and all its connections will be permanently removed.',
// Node inputs/outputs i18n (for port labels)
nodeInputs: {
// Common inputs
@@ -1569,7 +1576,8 @@ const esES = {
aiProcess: 'AI Processing',
aiProcessDescription: 'Process messages using AI models',
llmCall: 'LLM Call',
llmCallDescription: 'Invoke large language model for conversation or generation',
llmCallDescription:
'Invoke large language model for conversation or generation',
codeProcess: 'Code Processing',
codeProcessDescription: 'Execute custom code',
codeExecutor: 'Code Executor',
@@ -1581,13 +1589,17 @@ const esES = {
dataTransform: 'Data Transform',
dataTransformDescription: 'Transform data format',
questionClassifier: 'Question Classifier',
questionClassifierDescription: 'Classify user questions into predefined categories using LLM',
questionClassifierDescription:
'Classify user questions into predefined categories using LLM',
parameterExtractor: 'Parameter Extractor',
parameterExtractorDescription: 'Extract structured parameters from text using LLM',
parameterExtractorDescription:
'Extract structured parameters from text using LLM',
knowledgeRetrieval: 'Knowledge Retrieval',
knowledgeRetrievalDescription: 'Retrieve relevant content from knowledge base',
knowledgeRetrievalDescription:
'Retrieve relevant content from knowledge base',
textTemplate: 'Text Template',
textTemplateDescription: 'Generate text using templates with variable interpolation',
textTemplateDescription:
'Generate text using templates with variable interpolation',
jsonTransform: 'JSON Transform',
jsonTransformDescription: 'Transform JSON data using expressions',
dataAggregator: 'Data Aggregator',
@@ -1615,13 +1627,15 @@ const esES = {
merge: 'Merge',
mergeDescription: 'Merge multiple branches',
variableAggregator: 'Variable Aggregator',
variableAggregatorDescription: 'Aggregate variable outputs from multiple branches',
variableAggregatorDescription:
'Aggregate variable outputs from multiple branches',
action: 'Actions',
actionDescription: 'Action execution nodes',
sendMessage: 'Send Message',
sendMessageDescription: 'Send message to platform',
replyMessage: 'Reply Message',
replyMessageDescription: 'Reply to the message that triggered the workflow',
replyMessageDescription:
'Reply to the message that triggered the workflow',
storeData: 'Store Data',
storeDataDescription: 'Store data to database',
callPipeline: 'Call Pipeline',
@@ -1629,7 +1643,8 @@ const esES = {
setVariable: 'Set Variable',
setVariableDescription: 'Set context variable',
openingStatement: 'Opening Statement',
openingStatementDescription: 'Provide conversation opener and suggested questions',
openingStatementDescription:
'Provide conversation opener and suggested questions',
end: 'End',
endDescription: 'Mark the end of workflow execution',
log: 'Log',
@@ -1675,7 +1690,8 @@ const esES = {
title: 'Version History',
current: 'Current Version',
rollback: 'Rollback to this version',
rollbackConfirm: 'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackConfirm:
'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackSuccess: 'Rollback successful',
rollbackError: 'Failed to rollback: ',
},
+34 -17
View File
@@ -1341,7 +1341,8 @@
},
workflows: {
title: 'Workflows',
description: 'Create and manage visual workflows for complex message processing logic',
description:
'Create and manage visual workflows for complex message processing logic',
createWorkflow: 'Create Workflow',
selectFromSidebar: 'Select a workflow from the sidebar',
editWorkflow: 'Edit Workflow',
@@ -1381,10 +1382,12 @@
dangerZoneDesc: 'Irreversible operations',
dangerZoneDescription: 'Irreversible operations',
deleteWorkflowAction: 'Delete this workflow',
deleteWorkflowHint: 'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflowHint:
'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflow: 'Delete Workflow',
deleteConfirm: 'Confirm Delete',
deleteConfirmDesc: 'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
deleteConfirmDesc:
'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
// Form component
name: 'Name',
namePlaceholder: 'Enter workflow name',
@@ -1447,13 +1450,16 @@
dragToAdd: 'Drag nodes to add to canvas',
// Property panel
selectNodeOrEdge: 'Select a node or edge',
selectNodeOrEdgeHint: 'Click on a node or edge in the canvas to view and edit its properties',
selectNodeOrEdgeHint:
'Click on a node or edge in the canvas to view and edit its properties',
edgeProperties: 'Edge Properties',
nodeProperties: 'Node Properties',
condition: 'Condition',
hasCondition: 'Set',
conditionPlaceholder: 'Enter condition expression, e.g. output.success == true',
conditionHelp: 'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
conditionPlaceholder:
'Enter condition expression, e.g. output.success == true',
conditionHelp:
'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
deleteEdge: 'Delete Edge',
deleteEdgeConfirm: 'Confirm Delete Edge',
deleteEdgeConfirmDesc: 'This edge will be permanently removed.',
@@ -1474,7 +1480,8 @@
noConfigOptions: 'No configuration options for this node type',
deleteNode: 'Delete Node',
deleteNodeConfirm: 'Confirm Delete Node',
deleteNodeConfirmDesc: 'This node and all its connections will be permanently removed.',
deleteNodeConfirmDesc:
'This node and all its connections will be permanently removed.',
// Node inputs/outputs i18n (for port labels)
nodeInputs: {
// Common inputs
@@ -1537,7 +1544,8 @@
aiProcess: 'AI Processing',
aiProcessDescription: 'Process messages using AI models',
llmCall: 'LLM Call',
llmCallDescription: 'Invoke large language model for conversation or generation',
llmCallDescription:
'Invoke large language model for conversation or generation',
codeProcess: 'Code Processing',
codeProcessDescription: 'Execute custom code',
codeExecutor: 'Code Executor',
@@ -1549,13 +1557,17 @@
dataTransform: 'Data Transform',
dataTransformDescription: 'Transform data format',
questionClassifier: 'Question Classifier',
questionClassifierDescription: 'Classify user questions into predefined categories using LLM',
questionClassifierDescription:
'Classify user questions into predefined categories using LLM',
parameterExtractor: 'Parameter Extractor',
parameterExtractorDescription: 'Extract structured parameters from text using LLM',
parameterExtractorDescription:
'Extract structured parameters from text using LLM',
knowledgeRetrieval: 'Knowledge Retrieval',
knowledgeRetrievalDescription: 'Retrieve relevant content from knowledge base',
knowledgeRetrievalDescription:
'Retrieve relevant content from knowledge base',
textTemplate: 'Text Template',
textTemplateDescription: 'Generate text using templates with variable interpolation',
textTemplateDescription:
'Generate text using templates with variable interpolation',
jsonTransform: 'JSON Transform',
jsonTransformDescription: 'Transform JSON data using expressions',
dataAggregator: 'Data Aggregator',
@@ -1583,13 +1595,15 @@
merge: 'Merge',
mergeDescription: 'Merge multiple branches',
variableAggregator: 'Variable Aggregator',
variableAggregatorDescription: 'Aggregate variable outputs from multiple branches',
variableAggregatorDescription:
'Aggregate variable outputs from multiple branches',
action: 'Actions',
actionDescription: 'Action execution nodes',
sendMessage: 'Send Message',
sendMessageDescription: 'Send message to platform',
replyMessage: 'Reply Message',
replyMessageDescription: 'Reply to the message that triggered the workflow',
replyMessageDescription:
'Reply to the message that triggered the workflow',
storeData: 'Store Data',
storeDataDescription: 'Store data to database',
callPipeline: 'Call Pipeline',
@@ -1597,7 +1611,8 @@
setVariable: 'Set Variable',
setVariableDescription: 'Set context variable',
openingStatement: 'Opening Statement',
openingStatementDescription: 'Provide conversation opener and suggested questions',
openingStatementDescription:
'Provide conversation opener and suggested questions',
end: 'End',
endDescription: 'Mark the end of workflow execution',
log: 'Log',
@@ -1643,7 +1658,8 @@
title: 'Version History',
current: 'Current Version',
rollback: 'Rollback to this version',
rollbackConfirm: 'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackConfirm:
'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackSuccess: 'Rollback successful',
rollbackError: 'Failed to rollback: ',
},
@@ -1719,7 +1735,8 @@
disconnected: 'WebSocket未接続',
connectionError: 'WebSocket接続エラー',
connectionFailed: 'WebSocket接続失敗',
notConnected: 'WebSocket未接続です。しばらくしてからもう一度お試しください',
notConnected:
'WebSocket未接続です。しばらくしてからもう一度お試しください',
imageUploadFailed: '画像アップロード失敗',
reply: '返信',
replyTo: '返信先',
+32 -16
View File
@@ -1344,7 +1344,8 @@ const ruRU = {
},
workflows: {
title: 'Workflows',
description: 'Create and manage visual workflows for complex message processing logic',
description:
'Create and manage visual workflows for complex message processing logic',
createWorkflow: 'Create Workflow',
selectFromSidebar: 'Select a workflow from the sidebar',
editWorkflow: 'Edit Workflow',
@@ -1384,10 +1385,12 @@ const ruRU = {
dangerZoneDesc: 'Irreversible operations',
dangerZoneDescription: 'Irreversible operations',
deleteWorkflowAction: 'Delete this workflow',
deleteWorkflowHint: 'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflowHint:
'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflow: 'Delete Workflow',
deleteConfirm: 'Confirm Delete',
deleteConfirmDesc: 'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
deleteConfirmDesc:
'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
// Form component
name: 'Name',
namePlaceholder: 'Enter workflow name',
@@ -1450,13 +1453,16 @@ const ruRU = {
dragToAdd: 'Drag nodes to add to canvas',
// Property panel
selectNodeOrEdge: 'Select a node or edge',
selectNodeOrEdgeHint: 'Click on a node or edge in the canvas to view and edit its properties',
selectNodeOrEdgeHint:
'Click on a node or edge in the canvas to view and edit its properties',
edgeProperties: 'Edge Properties',
nodeProperties: 'Node Properties',
condition: 'Condition',
hasCondition: 'Set',
conditionPlaceholder: 'Enter condition expression, e.g. output.success == true',
conditionHelp: 'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
conditionPlaceholder:
'Enter condition expression, e.g. output.success == true',
conditionHelp:
'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
deleteEdge: 'Delete Edge',
deleteEdgeConfirm: 'Confirm Delete Edge',
deleteEdgeConfirmDesc: 'This edge will be permanently removed.',
@@ -1477,7 +1483,8 @@ const ruRU = {
noConfigOptions: 'No configuration options for this node type',
deleteNode: 'Delete Node',
deleteNodeConfirm: 'Confirm Delete Node',
deleteNodeConfirmDesc: 'This node and all its connections will be permanently removed.',
deleteNodeConfirmDesc:
'This node and all its connections will be permanently removed.',
// Node inputs/outputs i18n (for port labels)
nodeInputs: {
// Common inputs
@@ -1540,7 +1547,8 @@ const ruRU = {
aiProcess: 'AI Processing',
aiProcessDescription: 'Process messages using AI models',
llmCall: 'LLM Call',
llmCallDescription: 'Invoke large language model for conversation or generation',
llmCallDescription:
'Invoke large language model for conversation or generation',
codeProcess: 'Code Processing',
codeProcessDescription: 'Execute custom code',
codeExecutor: 'Code Executor',
@@ -1552,13 +1560,17 @@ const ruRU = {
dataTransform: 'Data Transform',
dataTransformDescription: 'Transform data format',
questionClassifier: 'Question Classifier',
questionClassifierDescription: 'Classify user questions into predefined categories using LLM',
questionClassifierDescription:
'Classify user questions into predefined categories using LLM',
parameterExtractor: 'Parameter Extractor',
parameterExtractorDescription: 'Extract structured parameters from text using LLM',
parameterExtractorDescription:
'Extract structured parameters from text using LLM',
knowledgeRetrieval: 'Knowledge Retrieval',
knowledgeRetrievalDescription: 'Retrieve relevant content from knowledge base',
knowledgeRetrievalDescription:
'Retrieve relevant content from knowledge base',
textTemplate: 'Text Template',
textTemplateDescription: 'Generate text using templates with variable interpolation',
textTemplateDescription:
'Generate text using templates with variable interpolation',
jsonTransform: 'JSON Transform',
jsonTransformDescription: 'Transform JSON data using expressions',
dataAggregator: 'Data Aggregator',
@@ -1586,13 +1598,15 @@ const ruRU = {
merge: 'Merge',
mergeDescription: 'Merge multiple branches',
variableAggregator: 'Variable Aggregator',
variableAggregatorDescription: 'Aggregate variable outputs from multiple branches',
variableAggregatorDescription:
'Aggregate variable outputs from multiple branches',
action: 'Actions',
actionDescription: 'Action execution nodes',
sendMessage: 'Send Message',
sendMessageDescription: 'Send message to platform',
replyMessage: 'Reply Message',
replyMessageDescription: 'Reply to the message that triggered the workflow',
replyMessageDescription:
'Reply to the message that triggered the workflow',
storeData: 'Store Data',
storeDataDescription: 'Store data to database',
callPipeline: 'Call Pipeline',
@@ -1600,7 +1614,8 @@ const ruRU = {
setVariable: 'Set Variable',
setVariableDescription: 'Set context variable',
openingStatement: 'Opening Statement',
openingStatementDescription: 'Provide conversation opener and suggested questions',
openingStatementDescription:
'Provide conversation opener and suggested questions',
end: 'End',
endDescription: 'Mark the end of workflow execution',
log: 'Log',
@@ -1646,7 +1661,8 @@ const ruRU = {
title: 'Version History',
current: 'Current Version',
rollback: 'Rollback to this version',
rollbackConfirm: 'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackConfirm:
'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackSuccess: 'Rollback successful',
rollbackError: 'Failed to rollback: ',
},
+32 -16
View File
@@ -1313,7 +1313,8 @@ const thTH = {
},
workflows: {
title: 'Workflows',
description: 'Create and manage visual workflows for complex message processing logic',
description:
'Create and manage visual workflows for complex message processing logic',
createWorkflow: 'Create Workflow',
selectFromSidebar: 'Select a workflow from the sidebar',
editWorkflow: 'Edit Workflow',
@@ -1353,10 +1354,12 @@ const thTH = {
dangerZoneDesc: 'Irreversible operations',
dangerZoneDescription: 'Irreversible operations',
deleteWorkflowAction: 'Delete this workflow',
deleteWorkflowHint: 'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflowHint:
'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflow: 'Delete Workflow',
deleteConfirm: 'Confirm Delete',
deleteConfirmDesc: 'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
deleteConfirmDesc:
'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
// Form component
name: 'Name',
namePlaceholder: 'Enter workflow name',
@@ -1419,13 +1422,16 @@ const thTH = {
dragToAdd: 'Drag nodes to add to canvas',
// Property panel
selectNodeOrEdge: 'Select a node or edge',
selectNodeOrEdgeHint: 'Click on a node or edge in the canvas to view and edit its properties',
selectNodeOrEdgeHint:
'Click on a node or edge in the canvas to view and edit its properties',
edgeProperties: 'Edge Properties',
nodeProperties: 'Node Properties',
condition: 'Condition',
hasCondition: 'Set',
conditionPlaceholder: 'Enter condition expression, e.g. output.success == true',
conditionHelp: 'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
conditionPlaceholder:
'Enter condition expression, e.g. output.success == true',
conditionHelp:
'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
deleteEdge: 'Delete Edge',
deleteEdgeConfirm: 'Confirm Delete Edge',
deleteEdgeConfirmDesc: 'This edge will be permanently removed.',
@@ -1446,7 +1452,8 @@ const thTH = {
noConfigOptions: 'No configuration options for this node type',
deleteNode: 'Delete Node',
deleteNodeConfirm: 'Confirm Delete Node',
deleteNodeConfirmDesc: 'This node and all its connections will be permanently removed.',
deleteNodeConfirmDesc:
'This node and all its connections will be permanently removed.',
// Node inputs/outputs i18n (for port labels)
nodeInputs: {
// Common inputs
@@ -1509,7 +1516,8 @@ const thTH = {
aiProcess: 'AI Processing',
aiProcessDescription: 'Process messages using AI models',
llmCall: 'LLM Call',
llmCallDescription: 'Invoke large language model for conversation or generation',
llmCallDescription:
'Invoke large language model for conversation or generation',
codeProcess: 'Code Processing',
codeProcessDescription: 'Execute custom code',
codeExecutor: 'Code Executor',
@@ -1521,13 +1529,17 @@ const thTH = {
dataTransform: 'Data Transform',
dataTransformDescription: 'Transform data format',
questionClassifier: 'Question Classifier',
questionClassifierDescription: 'Classify user questions into predefined categories using LLM',
questionClassifierDescription:
'Classify user questions into predefined categories using LLM',
parameterExtractor: 'Parameter Extractor',
parameterExtractorDescription: 'Extract structured parameters from text using LLM',
parameterExtractorDescription:
'Extract structured parameters from text using LLM',
knowledgeRetrieval: 'Knowledge Retrieval',
knowledgeRetrievalDescription: 'Retrieve relevant content from knowledge base',
knowledgeRetrievalDescription:
'Retrieve relevant content from knowledge base',
textTemplate: 'Text Template',
textTemplateDescription: 'Generate text using templates with variable interpolation',
textTemplateDescription:
'Generate text using templates with variable interpolation',
jsonTransform: 'JSON Transform',
jsonTransformDescription: 'Transform JSON data using expressions',
dataAggregator: 'Data Aggregator',
@@ -1555,13 +1567,15 @@ const thTH = {
merge: 'Merge',
mergeDescription: 'Merge multiple branches',
variableAggregator: 'Variable Aggregator',
variableAggregatorDescription: 'Aggregate variable outputs from multiple branches',
variableAggregatorDescription:
'Aggregate variable outputs from multiple branches',
action: 'Actions',
actionDescription: 'Action execution nodes',
sendMessage: 'Send Message',
sendMessageDescription: 'Send message to platform',
replyMessage: 'Reply Message',
replyMessageDescription: 'Reply to the message that triggered the workflow',
replyMessageDescription:
'Reply to the message that triggered the workflow',
storeData: 'Store Data',
storeDataDescription: 'Store data to database',
callPipeline: 'Call Pipeline',
@@ -1569,7 +1583,8 @@ const thTH = {
setVariable: 'Set Variable',
setVariableDescription: 'Set context variable',
openingStatement: 'Opening Statement',
openingStatementDescription: 'Provide conversation opener and suggested questions',
openingStatementDescription:
'Provide conversation opener and suggested questions',
end: 'End',
endDescription: 'Mark the end of workflow execution',
log: 'Log',
@@ -1615,7 +1630,8 @@ const thTH = {
title: 'Version History',
current: 'Current Version',
rollback: 'Rollback to this version',
rollbackConfirm: 'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackConfirm:
'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackSuccess: 'Rollback successful',
rollbackError: 'Failed to rollback: ',
},
+32 -16
View File
@@ -1335,7 +1335,8 @@ const viVN = {
},
workflows: {
title: 'Workflows',
description: 'Create and manage visual workflows for complex message processing logic',
description:
'Create and manage visual workflows for complex message processing logic',
createWorkflow: 'Create Workflow',
selectFromSidebar: 'Select a workflow from the sidebar',
editWorkflow: 'Edit Workflow',
@@ -1375,10 +1376,12 @@ const viVN = {
dangerZoneDesc: 'Irreversible operations',
dangerZoneDescription: 'Irreversible operations',
deleteWorkflowAction: 'Delete this workflow',
deleteWorkflowHint: 'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflowHint:
'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflow: 'Delete Workflow',
deleteConfirm: 'Confirm Delete',
deleteConfirmDesc: 'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
deleteConfirmDesc:
'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
// Form component
name: 'Name',
namePlaceholder: 'Enter workflow name',
@@ -1441,13 +1444,16 @@ const viVN = {
dragToAdd: 'Drag nodes to add to canvas',
// Property panel
selectNodeOrEdge: 'Select a node or edge',
selectNodeOrEdgeHint: 'Click on a node or edge in the canvas to view and edit its properties',
selectNodeOrEdgeHint:
'Click on a node or edge in the canvas to view and edit its properties',
edgeProperties: 'Edge Properties',
nodeProperties: 'Node Properties',
condition: 'Condition',
hasCondition: 'Set',
conditionPlaceholder: 'Enter condition expression, e.g. output.success == true',
conditionHelp: 'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
conditionPlaceholder:
'Enter condition expression, e.g. output.success == true',
conditionHelp:
'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
deleteEdge: 'Delete Edge',
deleteEdgeConfirm: 'Confirm Delete Edge',
deleteEdgeConfirmDesc: 'This edge will be permanently removed.',
@@ -1468,7 +1474,8 @@ const viVN = {
noConfigOptions: 'No configuration options for this node type',
deleteNode: 'Delete Node',
deleteNodeConfirm: 'Confirm Delete Node',
deleteNodeConfirmDesc: 'This node and all its connections will be permanently removed.',
deleteNodeConfirmDesc:
'This node and all its connections will be permanently removed.',
// Node inputs/outputs i18n (for port labels)
nodeInputs: {
// Common inputs
@@ -1531,7 +1538,8 @@ const viVN = {
aiProcess: 'AI Processing',
aiProcessDescription: 'Process messages using AI models',
llmCall: 'LLM Call',
llmCallDescription: 'Invoke large language model for conversation or generation',
llmCallDescription:
'Invoke large language model for conversation or generation',
codeProcess: 'Code Processing',
codeProcessDescription: 'Execute custom code',
codeExecutor: 'Code Executor',
@@ -1543,13 +1551,17 @@ const viVN = {
dataTransform: 'Data Transform',
dataTransformDescription: 'Transform data format',
questionClassifier: 'Question Classifier',
questionClassifierDescription: 'Classify user questions into predefined categories using LLM',
questionClassifierDescription:
'Classify user questions into predefined categories using LLM',
parameterExtractor: 'Parameter Extractor',
parameterExtractorDescription: 'Extract structured parameters from text using LLM',
parameterExtractorDescription:
'Extract structured parameters from text using LLM',
knowledgeRetrieval: 'Knowledge Retrieval',
knowledgeRetrievalDescription: 'Retrieve relevant content from knowledge base',
knowledgeRetrievalDescription:
'Retrieve relevant content from knowledge base',
textTemplate: 'Text Template',
textTemplateDescription: 'Generate text using templates with variable interpolation',
textTemplateDescription:
'Generate text using templates with variable interpolation',
jsonTransform: 'JSON Transform',
jsonTransformDescription: 'Transform JSON data using expressions',
dataAggregator: 'Data Aggregator',
@@ -1577,13 +1589,15 @@ const viVN = {
merge: 'Merge',
mergeDescription: 'Merge multiple branches',
variableAggregator: 'Variable Aggregator',
variableAggregatorDescription: 'Aggregate variable outputs from multiple branches',
variableAggregatorDescription:
'Aggregate variable outputs from multiple branches',
action: 'Actions',
actionDescription: 'Action execution nodes',
sendMessage: 'Send Message',
sendMessageDescription: 'Send message to platform',
replyMessage: 'Reply Message',
replyMessageDescription: 'Reply to the message that triggered the workflow',
replyMessageDescription:
'Reply to the message that triggered the workflow',
storeData: 'Store Data',
storeDataDescription: 'Store data to database',
callPipeline: 'Call Pipeline',
@@ -1591,7 +1605,8 @@ const viVN = {
setVariable: 'Set Variable',
setVariableDescription: 'Set context variable',
openingStatement: 'Opening Statement',
openingStatementDescription: 'Provide conversation opener and suggested questions',
openingStatementDescription:
'Provide conversation opener and suggested questions',
end: 'End',
endDescription: 'Mark the end of workflow execution',
log: 'Log',
@@ -1637,7 +1652,8 @@ const viVN = {
title: 'Version History',
current: 'Current Version',
rollback: 'Rollback to this version',
rollbackConfirm: 'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackConfirm:
'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackSuccess: 'Rollback successful',
rollbackError: 'Failed to rollback: ',
},
+32 -16
View File
@@ -1276,7 +1276,8 @@ const zhHant = {
},
workflows: {
title: 'Workflows',
description: 'Create and manage visual workflows for complex message processing logic',
description:
'Create and manage visual workflows for complex message processing logic',
createWorkflow: 'Create Workflow',
selectFromSidebar: 'Select a workflow from the sidebar',
editWorkflow: 'Edit Workflow',
@@ -1316,10 +1317,12 @@ const zhHant = {
dangerZoneDesc: 'Irreversible operations',
dangerZoneDescription: 'Irreversible operations',
deleteWorkflowAction: 'Delete this workflow',
deleteWorkflowHint: 'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflowHint:
'Once deleted, all associated configurations will be permanently removed and cannot be recovered.',
deleteWorkflow: 'Delete Workflow',
deleteConfirm: 'Confirm Delete',
deleteConfirmDesc: 'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
deleteConfirmDesc:
'Are you sure you want to delete workflow "{{name}}"? This action cannot be undone.',
// Form component
name: 'Name',
namePlaceholder: 'Enter workflow name',
@@ -1382,13 +1385,16 @@ const zhHant = {
dragToAdd: 'Drag nodes to add to canvas',
// Property panel
selectNodeOrEdge: 'Select a node or edge',
selectNodeOrEdgeHint: 'Click on a node or edge in the canvas to view and edit its properties',
selectNodeOrEdgeHint:
'Click on a node or edge in the canvas to view and edit its properties',
edgeProperties: 'Edge Properties',
nodeProperties: 'Node Properties',
condition: 'Condition',
hasCondition: 'Set',
conditionPlaceholder: 'Enter condition expression, e.g. output.success == true',
conditionHelp: 'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
conditionPlaceholder:
'Enter condition expression, e.g. output.success == true',
conditionHelp:
'When condition is empty, this edge will always be executed. Use {{variable}} to reference context variables.',
deleteEdge: 'Delete Edge',
deleteEdgeConfirm: 'Confirm Delete Edge',
deleteEdgeConfirmDesc: 'This edge will be permanently removed.',
@@ -1409,7 +1415,8 @@ const zhHant = {
noConfigOptions: 'No configuration options for this node type',
deleteNode: 'Delete Node',
deleteNodeConfirm: 'Confirm Delete Node',
deleteNodeConfirmDesc: 'This node and all its connections will be permanently removed.',
deleteNodeConfirmDesc:
'This node and all its connections will be permanently removed.',
// Node inputs/outputs i18n (for port labels)
nodeInputs: {
// Common inputs
@@ -1472,7 +1479,8 @@ const zhHant = {
aiProcess: 'AI Processing',
aiProcessDescription: 'Process messages using AI models',
llmCall: 'LLM Call',
llmCallDescription: 'Invoke large language model for conversation or generation',
llmCallDescription:
'Invoke large language model for conversation or generation',
codeProcess: 'Code Processing',
codeProcessDescription: 'Execute custom code',
codeExecutor: 'Code Executor',
@@ -1484,13 +1492,17 @@ const zhHant = {
dataTransform: 'Data Transform',
dataTransformDescription: 'Transform data format',
questionClassifier: 'Question Classifier',
questionClassifierDescription: 'Classify user questions into predefined categories using LLM',
questionClassifierDescription:
'Classify user questions into predefined categories using LLM',
parameterExtractor: 'Parameter Extractor',
parameterExtractorDescription: 'Extract structured parameters from text using LLM',
parameterExtractorDescription:
'Extract structured parameters from text using LLM',
knowledgeRetrieval: 'Knowledge Retrieval',
knowledgeRetrievalDescription: 'Retrieve relevant content from knowledge base',
knowledgeRetrievalDescription:
'Retrieve relevant content from knowledge base',
textTemplate: 'Text Template',
textTemplateDescription: 'Generate text using templates with variable interpolation',
textTemplateDescription:
'Generate text using templates with variable interpolation',
jsonTransform: 'JSON Transform',
jsonTransformDescription: 'Transform JSON data using expressions',
dataAggregator: 'Data Aggregator',
@@ -1518,13 +1530,15 @@ const zhHant = {
merge: 'Merge',
mergeDescription: 'Merge multiple branches',
variableAggregator: 'Variable Aggregator',
variableAggregatorDescription: 'Aggregate variable outputs from multiple branches',
variableAggregatorDescription:
'Aggregate variable outputs from multiple branches',
action: 'Actions',
actionDescription: 'Action execution nodes',
sendMessage: 'Send Message',
sendMessageDescription: 'Send message to platform',
replyMessage: 'Reply Message',
replyMessageDescription: 'Reply to the message that triggered the workflow',
replyMessageDescription:
'Reply to the message that triggered the workflow',
storeData: 'Store Data',
storeDataDescription: 'Store data to database',
callPipeline: 'Call Pipeline',
@@ -1532,7 +1546,8 @@ const zhHant = {
setVariable: 'Set Variable',
setVariableDescription: 'Set context variable',
openingStatement: 'Opening Statement',
openingStatementDescription: 'Provide conversation opener and suggested questions',
openingStatementDescription:
'Provide conversation opener and suggested questions',
end: 'End',
endDescription: 'Mark the end of workflow execution',
log: 'Log',
@@ -1578,7 +1593,8 @@ const zhHant = {
title: 'Version History',
current: 'Current Version',
rollback: 'Rollback to this version',
rollbackConfirm: 'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackConfirm:
'Are you sure you want to rollback to this version? Current changes will be lost.',
rollbackSuccess: 'Rollback successful',
rollbackError: 'Failed to rollback: ',
},