chore: translate i18n files (#9528)

Co-authored-by: iamjoel <2120155+iamjoel@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
github-actions[bot] 2024-10-21 18:49:05 +08:00 • committed by GitHub
commit 5a3eaa85bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 1057 additions and 1 deletions

View file

@ -38,6 +38,10 @@ const translation = {
duplicate: '複製',
rename: '重新命名',
audioSourceUnavailable: '音訊來源不可用',
copyImage: '複製圖像',
openInNewTab: '在新選項卡中打開',
zoomIn: '放大',
zoomOut: '縮小',
},
placeholder: {
input: '請輸入',
@ -499,6 +503,7 @@ const translation = {
vectorHash: '向量雜湊:',
hitScore: '召回得分:',
},
inputPlaceholder: '與 Bot 對話',
},
promptEditor: {
placeholder: '在這裡寫你的提示詞,輸入\'{\' 插入變數、輸入\'/\' 插入提示內容塊',
@ -576,6 +581,16 @@ const translation = {
fieldRequired: '{{field}} 為必填項',
urlError: 'URL應以 http:// 或 https:// 開頭',
},
fileUploader: {
pasteFileLink: '粘貼文件連結',
pasteFileLinkInputPlaceholder: '輸入網址...',
uploadFromComputerReadError: '檔案讀取失敗,請重試。',
uploadFromComputerUploadError: '檔上傳失敗,請重新上傳。',
pasteFileLinkInvalid: '無效的文件連結',
uploadFromComputer: '本地上傳',
fileExtensionNotSupport: '不支援檔擴展名',
uploadFromComputerLimit: '上傳文件不能超過 {{size}}',
},
}
export default translation

View file

@ -95,6 +95,10 @@ const translation = {
addParallelNode: '添加並行節點',
parallel: '並行',
branch: '分支',
featuresDocLink: '瞭解更多資訊',
fileUploadTip: '圖片上傳功能已升級為檔上傳。',
ImageUploadLegacyTip: '現在,您可以在起始表單中創建檔案類型變數。我們將來不再支持圖片上傳功能。',
featuresDescription: '增強 Web 應用程式用戶體驗',
},
env: {
envPanelTitle: '環境變數',
@ -180,6 +184,7 @@ const translation = {
code: '代碼',
model: '模型',
rerankModel: 'Rerank 模型',
visionVariable: 'Vision Variable',
},
invalidVariable: '無效的變量',
rerankModelRequired: '在開啟 Rerank 模型之前,請在設置中確認模型配置成功。',
@ -224,9 +229,11 @@ const translation = {
'iteration-start': '迭代開始',
'iteration': '迭代',
'parameter-extractor': '參數提取器',
'list-operator': '清單運算子',
'document-extractor': '文件提取器',
},
blocksAbout: {
'start': '定義一個 workflow 流程啟動的初始參數',
'start': '定義一個 workflow 流程啟動的參數',
'end': '定義一個 workflow 流程的結束和結果類型',
'answer': '定義一個聊天對話的回覆內容',
'llm': '調用大語言模型回答問題或者對自然語言進行處理',
@ -241,6 +248,8 @@ const translation = {
'variable-aggregator': '將多路分支的變量聚合為一個變量,以實現下游節點統一配置。',
'iteration': '對列表對象執行多次步驟直至輸出所有結果。',
'parameter-extractor': '利用 LLM 從自然語言內推理提取出結構化參數,用於後置的工具調用或 HTTP 請求。',
'document-extractor': '用於將上傳的文件解析為 LLM 易於理解的文字內容。',
'list-operator': '用於篩選或排序陣列內容。',
},
operator: {
zoomIn: '放大',
@ -396,6 +405,8 @@ const translation = {
writeLabel: '寫入超時',
writePlaceholder: '輸入寫入超時(以秒為單位)',
},
type: '類型',
binaryFileVariable: '二進位檔變數',
},
code: {
inputVars: '輸入變量',
@ -432,11 +443,26 @@ const translation = {
'null': '空',
'not null': '不為空',
'regex match': '正則表達式匹配',
'all of': '全部',
'exists': '存在',
'in': '在',
'not in': '不在',
'not exists': '不存在',
},
enterValue: '輸入值',
addCondition: '添加條件',
conditionNotSetup: '條件未設置',
selectVariable: '選擇變數...',
optionName: {
image: '圖像',
url: '網址',
doc: '醫生',
localUpload: '本地上傳',
video: '視頻',
audio: '音訊',
},
select: '選擇',
addSubVariable: '子變數',
},
variableAssigner: {
title: '變量賦值',
@ -551,6 +577,31 @@ const translation = {
},
addNote: '添加註釋',
},
docExtractor: {
outputVars: {
text: '提取的文字',
},
learnMore: '瞭解更多資訊',
inputVar: '輸入變數',
supportFileTypes: '支援文件類型:{{types}}。',
},
listFilter: {
outputVars: {
last_record: '最後一條記錄',
first_record: '第一條記錄',
result: '篩選結果',
},
desc: '描述',
asc: 'ASC的',
orderBy: '排序依據',
inputVar: '輸入變數',
filterConditionComparisonValue: 'Filter Condition 值',
filterCondition: '篩選條件',
limit: '前 N 名',
selectVariableKeyPlaceholder: 'Select sub variable key (選擇子變數鍵)',
filterConditionComparisonOperator: 'Filter Condition Comparison 運算符',
filterConditionKey: '篩選條件鍵',
},
},
tracing: {
stopBy: '由{{user}}終止',