Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ui/src/locales/lang/zh-CN/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default {
text: '将输入的分段列表写入当前知识库,并完成向量化处理',
},
dataSourceWebNode: {
label: 'Web站点',
label: 'Web 站点',
text: '输入根地址自动抓取 Web 数据(单链接对应单文档),输出含内容的文档列表',
field_label: '文档列表',
},
Expand All @@ -109,7 +109,7 @@ export default {
},
},
classify: {
aiCapability: 'AI能力',
aiCapability: 'AI 能力',
businessLogic: '业务逻辑',
other: '其他',
dataProcessing: '数据处理',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The provided code is generally well-written with minimal changes needed. Here's a brief review and possible improvements:

Review:

  • Consistency: The labels across different sections are consistent throughout, which is good practice.

Issues/Improvements (if any):

Labels Correction:

  • In the dataSourceWebNode, some minor corrections have been made to improve legibility and consistency.
label: 'Web 站点',

This change helps maintain uniform formatting across similar key-value pairs, making the configuration file less jarring.

Additional Comments on Other Sections:

  1. classify Section:
    • While minor, it’s a good practice to ensure that all keys follow standardized naming conventions.
aiCapability: 'AI 能力'
businessLogic: '业务逻辑'
other: '其他'
dataProcessing: '数据处理'

By maintaining一致性 in how you name each field within categories like AI capabilities or processing methods, you can keep configurations clean and easier to navigate.

These corrections aim to enhance readability without altering the core functionality of your library. If further optimizations or additional features need consideration, please let me know!

Expand Down
4 changes: 2 additions & 2 deletions ui/src/locales/lang/zh-Hant/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default {
text: '將輸入的分段列表寫入當前知識庫,並完成向量化處理',
},
dataSourceWebNode: {
label: 'Web網站',
label: 'Web 網站',
text: '輸入根地址自動抓取Web數據(單鏈接對應單文檔),輸出含內容的文檔列表',
field_label: '文件列表',
},
Expand All @@ -105,7 +105,7 @@ export default {
},
},
classify: {
aiCapability: 'AI能力',
aiCapability: 'AI 能力',
businessLogic: '業務邏輯',
other: '其他',
dataProcessing: '數據處理',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code has no significant irregularities, potential issues, or major optimization suggestions based on the context provided. The labels and texts seem to be correctly formatted, maintaining consistency throughout the document.

Expand Down
Loading