chore: refine UI text consistency and translation accuracy for workflow (#2153)
This commit is contained in:
parent
950f4a7ec6
commit
bf24f195f2
@ -8,51 +8,51 @@ export default {
|
|||||||
},
|
},
|
||||||
info: {
|
info: {
|
||||||
previewVersion: 'Preview Version:',
|
previewVersion: 'Preview Version:',
|
||||||
saveTime: 'Save Time:'
|
saveTime: 'Last Saved:'
|
||||||
},
|
},
|
||||||
setting: {
|
setting: {
|
||||||
restoreVersion: 'Restore Version',
|
restoreVersion: 'Restore Previous Version"',
|
||||||
restoreCurrentVersion: 'Restore This Version',
|
restoreCurrentVersion: 'Restore to This Version',
|
||||||
addComponent: 'Add Component',
|
addComponent: 'Add',
|
||||||
public: 'Publish',
|
public: 'Publish',
|
||||||
releaseHistory: 'Publish History',
|
releaseHistory: 'Release History',
|
||||||
autoSave: 'Auto Save',
|
autoSave: 'Auto Save',
|
||||||
latestRelease: 'Latest Publish',
|
latestRelease: 'Latest Release',
|
||||||
copyParam: 'Copy Parameter',
|
copyParam: 'Copy Parameters',
|
||||||
debug: 'Run',
|
debug: 'Run',
|
||||||
},
|
},
|
||||||
tip: {
|
tip: {
|
||||||
publicSuccess: 'Successfully',
|
publicSuccess: 'Published successfully',
|
||||||
noData: 'No related results found',
|
noData: 'No related results found',
|
||||||
nameMessage: 'Name cannot be empty!',
|
nameMessage: 'Name cannot be empty!',
|
||||||
onlyRight: 'Only allow connections from the right anchor point',
|
onlyRight: 'Connections can only be made from the right anchor',
|
||||||
notRecyclable: 'Cannot create a loop connection',
|
notRecyclable: 'Loop connections are not allowed',
|
||||||
onlyLeft: 'Only allow connections to the left anchor point',
|
onlyLeft: 'Connections can only be made to the left anchor',
|
||||||
applicationNodeError: 'This APP is unavailable',
|
applicationNodeError: 'This application is unavailable',
|
||||||
functionNodeError: 'This function is unavailable',
|
functionNodeError: 'This function node is unavailable',
|
||||||
repeatedNodeError: 'Node name already exists!',
|
repeatedNodeError: 'A node with this name already exists',
|
||||||
cannotCopy: 'Cannot be copied',
|
cannotCopy: 'Cannot be copied',
|
||||||
copyError: 'Node has been copied',
|
copyError: 'Node already copied',
|
||||||
paramErrorMessage: 'Parameter already exists: '
|
paramErrorMessage: 'Parameter already exists: '
|
||||||
},
|
},
|
||||||
delete: {
|
delete: {
|
||||||
confirmTitle: 'Confirm to delete this node?',
|
confirmTitle: 'Confirm to delete this node?',
|
||||||
deleteMessage: 'Node cannot be deleted'
|
deleteMessage: 'This node cannot be deleted'
|
||||||
},
|
},
|
||||||
control: {
|
control: {
|
||||||
zoomOut: 'Zoom Out',
|
zoomOut: 'Zoom Out',
|
||||||
zoomIn: 'Zoom In',
|
zoomIn: 'Zoom In',
|
||||||
fitView: 'Fit View',
|
fitView: 'Fit to Screen',
|
||||||
retract: 'Collapse All Nodes',
|
retract: 'Collapse All',
|
||||||
extend: 'Expand All Nodes',
|
extend: 'Expand All',
|
||||||
beautify: 'One-click Beautification'
|
beautify: 'Auto-Arrange'
|
||||||
},
|
},
|
||||||
variable: {
|
variable: {
|
||||||
global: 'Global Variable',
|
global: 'Global Variable',
|
||||||
Referencing: 'Reference Variable',
|
Referencing: 'Referenced Variable',
|
||||||
ReferencingRequired: 'reference variable required',
|
ReferencingRequired: 'Referenced variable is required',
|
||||||
ReferencingError: 'reference variable error',
|
ReferencingError: 'Invalid referenced variable',
|
||||||
NoReferencing: 'Non-existent Reference Variable',
|
NoReferencing: 'Referenced variable does not exist',
|
||||||
fieldMessage: 'Please select a variable'
|
fieldMessage: 'Please select a variable'
|
||||||
},
|
},
|
||||||
condition: {
|
condition: {
|
||||||
@ -63,15 +63,15 @@ export default {
|
|||||||
text: 'After the connected node is executed, execute the current node'
|
text: 'After the connected node is executed, execute the current node'
|
||||||
},
|
},
|
||||||
validate: {
|
validate: {
|
||||||
startNodeRequired: 'Start Node Required',
|
startNodeRequired: 'Start node is required',
|
||||||
startNodeOnly: 'There can only be one start node',
|
startNodeOnly: 'Only one start node is allowed',
|
||||||
baseNodeRequired: 'Base Info Node Required',
|
baseNodeRequired: 'Base information node is required',
|
||||||
baseNodeOnly: 'There can only be one base info node',
|
baseNodeOnly: 'Only one base information node is allowed',
|
||||||
notInWorkFlowNode: 'Node not in workflow',
|
notInWorkFlowNode: 'Node not in workflow',
|
||||||
noNextNode: 'Non-existent next node',
|
noNextNode: 'Next node does not exist',
|
||||||
nodeUnavailable: 'Node unavailable',
|
nodeUnavailable: 'Node unavailable',
|
||||||
needConnect1: 'The branch of the node needs to be connected',
|
needConnect1: 'The branch of the node needs to be connected',
|
||||||
cannotEndNode: 'Node cannot be used as an end node'
|
cannotEndNode: 'This node cannot be used as an end node'
|
||||||
},
|
},
|
||||||
nodes: {
|
nodes: {
|
||||||
startNode: {
|
startNode: {
|
||||||
@ -99,7 +99,7 @@ export default {
|
|||||||
},
|
},
|
||||||
aiChatNode: {
|
aiChatNode: {
|
||||||
label: 'AI Chat',
|
label: 'AI Chat',
|
||||||
text: 'Chat with AI large model',
|
text: 'Chat with an AI model',
|
||||||
answer: 'AI Answer Content',
|
answer: 'AI Answer Content',
|
||||||
returnContent: {
|
returnContent: {
|
||||||
label: 'Return Content',
|
label: 'Return Content',
|
||||||
@ -109,13 +109,13 @@ export default {
|
|||||||
defaultPrompt: 'Known Information'
|
defaultPrompt: 'Known Information'
|
||||||
},
|
},
|
||||||
searchDatasetNode: {
|
searchDatasetNode: {
|
||||||
label: 'Knowledge Search',
|
label: 'Knowledge Retrieval',
|
||||||
text: 'Associate knowledge and find relevant segments',
|
text: 'Allows you to query text content related to user questions from the Knowledge',
|
||||||
paragraph_list: 'List of retrieved segments',
|
paragraph_list: 'List of retrieved segments',
|
||||||
is_hit_handling_method_list: 'List of segments that meet direct response criteria',
|
is_hit_handling_method_list: 'List of segments that meet direct response criteria',
|
||||||
result: 'Search Result',
|
result: 'Search Result',
|
||||||
directly_return: 'Content of segments that meet direct response criteria',
|
directly_return: 'Content of segments that meet direct response criteria',
|
||||||
selectDatasetText: 'Associated knowledge displayed here',
|
selectDatasetText: 'Related knowledge displayed here',
|
||||||
searchParam: 'Retrieval Parameters',
|
searchParam: 'Retrieval Parameters',
|
||||||
searchQuestion: {
|
searchQuestion: {
|
||||||
label: 'Question',
|
label: 'Question',
|
||||||
@ -133,7 +133,7 @@ export default {
|
|||||||
},
|
},
|
||||||
conditionNode: {
|
conditionNode: {
|
||||||
label: 'Conditional Branch',
|
label: 'Conditional Branch',
|
||||||
text: 'Execute different nodes based on different conditions',
|
text: 'Trigger different nodes based on conditions',
|
||||||
branch_name: 'Branch Name',
|
branch_name: 'Branch Name',
|
||||||
conditions: {
|
conditions: {
|
||||||
label: 'Conditions',
|
label: 'Conditions',
|
||||||
@ -156,7 +156,7 @@ export default {
|
|||||||
},
|
},
|
||||||
rerankerNode: {
|
rerankerNode: {
|
||||||
label: 'Multi-path Recall',
|
label: 'Multi-path Recall',
|
||||||
text: 'Use Rerank to perform secondary recall on retrieval results from multiple knowledge',
|
text: 'Use a re-ranking model to refine retrieval results from multiple knowledge sources',
|
||||||
result_list: 'Re-ranked Results List',
|
result_list: 'Re-ranked Results List',
|
||||||
result: 'Re-ranking Result',
|
result: 'Re-ranking Result',
|
||||||
rerankerContent: {
|
rerankerContent: {
|
||||||
@ -172,8 +172,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
formNode: {
|
formNode: {
|
||||||
label: 'Form Collection',
|
label: 'Form Input',
|
||||||
text: 'Used to collect user information during Q&A process, subsequent processes can be executed based on collected form data',
|
text: 'Collect user input during Q&A and use it in subsequent processes',
|
||||||
form_content_format1: 'Hello, please fill out the form below:',
|
form_content_format1: 'Hello, please fill out the form below:',
|
||||||
form_content_format2: 'Click the [Submit] button after filling it out.',
|
form_content_format2: 'Click the [Submit] button after filling it out.',
|
||||||
form_data: 'All Form Content',
|
form_data: 'All Form Content',
|
||||||
@ -182,7 +182,7 @@ export default {
|
|||||||
requiredMessage:
|
requiredMessage:
|
||||||
'Please set the output content of this node, { form } is a placeholder for the form.',
|
'Please set the output content of this node, { form } is a placeholder for the form.',
|
||||||
tooltip:
|
tooltip:
|
||||||
'Set the content output by executing this node, { form } is a placeholder for the form.'
|
'Define the output content of this node. { form } is a placeholder for the form'
|
||||||
},
|
},
|
||||||
formAllContent: 'All Form Content',
|
formAllContent: 'All Form Content',
|
||||||
formSetting: 'Form Configuration'
|
formSetting: 'Form Configuration'
|
||||||
@ -194,7 +194,7 @@ export default {
|
|||||||
},
|
},
|
||||||
imageUnderstandNode: {
|
imageUnderstandNode: {
|
||||||
label: 'Image Understanding',
|
label: 'Image Understanding',
|
||||||
text: 'Identify objects, scenes, etc., in images to answer user questions',
|
text: 'Analyze images to identify objects, scenes, and provide answers',
|
||||||
answer: 'AI Answer Content',
|
answer: 'AI Answer Content',
|
||||||
model: {
|
model: {
|
||||||
label: 'Vision Model',
|
label: 'Vision Model',
|
||||||
@ -216,12 +216,12 @@ export default {
|
|||||||
prompt: {
|
prompt: {
|
||||||
label: 'Positive Prompt',
|
label: 'Positive Prompt',
|
||||||
tooltip:
|
tooltip:
|
||||||
'Positive prompt words, used to describe elements and visual features expected in the generated image'
|
'Describe elements and visual features you want in the generated image'
|
||||||
},
|
},
|
||||||
negative_prompt: {
|
negative_prompt: {
|
||||||
label: 'Negative Prompt',
|
label: 'Negative Prompt',
|
||||||
tooltip:
|
tooltip:
|
||||||
'Negative prompt words, used to describe content that should not appear in the image, which can limit the image.',
|
'Describe elements you want to exclude from the generated image',
|
||||||
placeholder:
|
placeholder:
|
||||||
'Please describe content you do not want to generate, such as color, bloody content'
|
'Please describe content you do not want to generate, such as color, bloody content'
|
||||||
}
|
}
|
||||||
@ -256,20 +256,20 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
compare: {
|
compare: {
|
||||||
is_null: 'Is Null',
|
is_null: 'Is null',
|
||||||
is_not_null: 'Is Not Null',
|
is_not_null: 'Is not null',
|
||||||
contain: 'Contains',
|
contain: 'Contains',
|
||||||
not_contain: 'Does Not Contain',
|
not_contain: 'Does not contain',
|
||||||
eq: 'Equals',
|
eq: 'Equal to',
|
||||||
ge: 'Greater Than or Equal To',
|
ge: 'Greater than or equal to',
|
||||||
gt: 'Greater Than',
|
gt: 'Greater than',
|
||||||
le: 'Less Than or Equal To',
|
le: 'Less than or equal to',
|
||||||
lt: 'Less Than',
|
lt: 'Less than',
|
||||||
len_eq: 'Length Equals',
|
len_eq: 'Length equal to',
|
||||||
len_ge: 'Length Greater Than or Equal To',
|
len_ge: 'Length greater than or equal to',
|
||||||
len_gt: 'Length Greater Than',
|
len_gt: 'Length greater than',
|
||||||
len_le: 'Length Less Than or Equal To',
|
len_le: 'Length less than or equal to',
|
||||||
len_lt: 'Length Less Than'
|
len_lt: 'Length less than'
|
||||||
},
|
},
|
||||||
FileUploadSetting: {}
|
FileUploadSetting: {}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user