chore: translate i18n files (#12118)

Co-authored-by: laipz8200 <16485841+laipz8200@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-12-26 23:33:11 +08:00
committed by GitHub
parent 9c3cf7b69a
commit a2855fa24a
109 changed files with 1894 additions and 0 deletions

View File

@@ -42,6 +42,11 @@ const translation = {
openInNewTab: '在新選項卡中打開',
zoomIn: '放大',
zoomOut: '縮小',
saveAndRegenerate: '保存並重新生成子塊',
view: '視圖',
close: '關閉',
viewMore: '查看更多',
regenerate: '再生',
},
placeholder: {
input: '請輸入',
@@ -474,6 +479,7 @@ const translation = {
emptyTip: ' 知識庫尚未關聯,請前往應用程式或外掛完成關聯。',
viewDoc: '檢視文件',
relatedApp: '個關聯應用',
noRelatedApp: '沒有連結的應用程式',
},
voiceInput: {
speaking: '現在講...',

View File

@@ -144,6 +144,28 @@ const translation = {
webpageUnit: '頁面',
separatorTip: '分隔符是用於分隔文字的字元。\\n\\n 和 \\n 是分隔段落和行的常用分隔符。與逗號 \\n\\n\\n 組合使用時,當超過最大區塊長度時,段落將按行分段。您也可以使用自定義的特殊分隔符(例如 ***)。',
maxLengthCheck: '塊最大長度應小於 {{limit}}',
general: '常規',
previewChunkCount: '{{count}}估計塊數',
useQALanguage: '使用Q&A格式的塊',
qaSwitchHighQualityTipContent: '目前只有高品質索引方法支援Q&A格式分塊。是否要切換到高品質模式',
previewChunk: '預覽資料塊Preview Chunk',
fullDocTip: '整個文件用作父塊並直接檢索。請注意出於性能原因超過10000個令牌的文本將被自動截斷。',
parentChunkForContext: '父母的背景',
previewChunkTip: '點擊左側的 『Preview Chunk』 按鈕載入預覽',
parentChild: '父子',
notAvailableForQA: '不適用於 Q&A 索引',
parentChildChunkDelimiterTip: '分隔符是用於分隔文字的字元。建議使用 \\n 將父塊拆分為小的子塊。您還可以使用自己定義的特殊分隔符。',
parentChildDelimiterTip: '分隔符是用於分隔文字的字元。建議將原始文檔拆分為多個大型父塊。您還可以使用自己定義的特殊分隔符。',
generalTip: '常規文本分塊模式,檢索和調用的塊是相同的。',
highQualityTip: '在 High Quality 模式下完成嵌入後,將無法恢復到 Economical (經濟) 模式。',
childChunkForRetrieval: '用於檢索的 Child-chunk',
paragraphTip: '此模式根據分隔符和最大區塊長度將文本拆分為段落,使用拆分文本作為父區塊進行檢索。',
paragraph: '段',
qaSwitchHighQualityTipTitle: 'Q&A 格式需要高品質的索引方法',
notAvailableForParentChild: '不適用於父子索引',
fullDoc: '完整文件',
parentChildTip: '當使用 parent-child 模式時child-chunk 用於檢索parent-chunk 用於作為上下文調用 call。',
switch: '開關',
},
stepThree: {
creationTitle: '🎉 知識庫已建立',
@@ -172,6 +194,11 @@ const translation = {
getApiKeyLinkText: '在 jina.ai 獲取您的免費 API 金鑰',
apiKeyPlaceholder: '來自 jina.ai 的 API 金鑰',
},
otherDataSource: {
learnMore: '瞭解更多資訊',
description: '目前Dify 的知識庫只有有限的數據源。向 Dify 知識庫貢獻數據源是説明所有使用者增強平台靈活性和強大功能的絕佳方式。我們的貢獻指南使入門變得容易。請點擊下面的連結瞭解更多資訊。',
title: '連接到其他數據源?',
},
}
export default translation

View File

@@ -12,6 +12,7 @@ const translation = {
uploadTime: '上傳時間',
status: '狀態',
action: '操作',
chunkingMode: '分塊模式',
},
name: '名字',
rename: '重新命名',
@@ -77,6 +78,7 @@ const translation = {
ok: '確定',
},
addUrl: '添加 URL',
learnMore: '瞭解更多資訊',
},
metadata: {
title: '元資料',
@@ -327,6 +329,10 @@ const translation = {
automatic: '自動',
custom: '自定義',
previewTip: '段落預覽將在嵌入完成後可用',
hierarchical: '父子',
parentMaxTokens: '父母',
childMaxTokens: '孩子',
pause: '暫停',
},
segment: {
paragraphs: '段落',
@@ -345,6 +351,43 @@ const translation = {
newTextSegment: '新文字分段',
newQaSegment: '新問答分段',
delete: '刪除這個分段?',
characters_other: '字元',
addChunk: '添加數據塊',
addChildChunk: '添加子塊',
addAnother: '添加另一個',
childChunkAdded: '添加了1個子塊',
editParentChunk: '編輯父塊Edit Parent Chunk',
editChildChunk: '編輯子塊',
chunkDetail: '數據塊詳細資訊',
regenerationConfirmTitle: '是否要重新生成子塊?',
regenerationConfirmMessage: '重新生成子數據塊將覆蓋當前子數據塊,包括已編輯的數據塊和新添加的數據塊。重新生成無法復原。',
regeneratingTitle: '重新生成子塊',
regenerationSuccessTitle: '再生完成',
collapseChunks: '摺疊塊',
expandChunks: '擴展塊',
chunkAdded: '添加了 1 個數據塊',
editedAt: '編輯於',
regeneratingMessage: '這可能需要一些時間,請稍候...',
editChunk: '編輯數據塊',
regenerationSuccessMessage: '您可以關閉此視窗。',
chunks_other: '塊',
childChunks_one: '子塊',
edited: '編輯',
characters_one: '字元',
childChunks_other: '子塊',
newChunk: '新區塊',
chunk: '塊',
childChunk: '子塊',
parentChunks_one: '父數據塊',
searchResults_one: '結果',
searchResults_other: '結果',
chunks_one: '塊',
clearFilter: '清除過濾器',
parentChunk: '父塊',
empty: '未找到 Chunk',
searchResults_zero: '結果',
parentChunks_other: '父塊',
newChildChunk: '新兒童塊',
},
}

View File

@@ -25,6 +25,11 @@ const translation = {
viewChart: '查看向量圖表',
viewDetail: '查看詳情',
settingTitle: '檢索設置',
open: '打開',
records: '記錄',
chunkDetail: '數據塊詳細資訊',
hitChunks: '命中 {{num}} 個子塊',
keyword: '關鍵字',
}
export default translation

View File

@@ -32,6 +32,9 @@ const translation = {
externalKnowledgeID: '外部知識ID',
externalKnowledgeAPI: '外部知識 API',
retrievalSettings: '檢索設置',
indexMethodChangeToEconomyDisabledTip: '不適用於從 HQ 降級到 ECO',
upgradeHighQualityTip: '升級到高品質模式后,無法恢復到經濟模式',
helpText: '瞭解如何編寫良好的數據集描述。',
},
}

View File

@@ -146,6 +146,26 @@ const translation = {
externalAPIPanelDocumentation: '瞭解如何創建外部知識 API',
externalKnowledgeNamePlaceholder: '請輸入知識庫的名稱',
noExternalKnowledge: '目前還沒有外部知識 API按兩下此處創建',
chunkingMode: {
parentChild: '父子',
general: '常規',
},
parentMode: {
paragraph: '段',
fullDoc: '完整文件',
},
batchAction: {
delete: '刪除',
enable: '使',
disable: '禁用',
cancel: '取消',
archive: '檔案',
selected: '選擇',
},
enable: '使',
documentsDisabled: '已禁用 {{num}} 個文檔 - 處於非活動狀態超過 30 天',
localDocs: '本地文件',
preprocessDocument: '{{num}}預處理文件',
}
export default translation