From 6314b391db879cfa62e089b0911a92e1680ce30e Mon Sep 17 00:00:00 2001 From: Chen Tao <70054568+eeee0717@users.noreply.github.com> Date: Mon, 12 May 2025 20:49:31 +0800 Subject: [PATCH] fix: add i18n (#5921) * fix(i18n) * Update en-us.json --- src/renderer/src/i18n/locales/en-us.json | 2 +- src/renderer/src/i18n/locales/ja-jp.json | 2 +- src/renderer/src/i18n/locales/ru-ru.json | 2 +- src/renderer/src/i18n/locales/zh-cn.json | 2 +- src/renderer/src/i18n/locales/zh-tw.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/renderer/src/i18n/locales/en-us.json b/src/renderer/src/i18n/locales/en-us.json index 4db5907ac4..e5cc69df61 100644 --- a/src/renderer/src/i18n/locales/en-us.json +++ b/src/renderer/src/i18n/locales/en-us.json @@ -489,7 +489,7 @@ "threshold_tooltip": "Used to evaluate the relevance between the user's question and the content in the knowledge base (0-1)", "title": "Knowledge Base", "topN": "Number of results returned", - "topN__too_large_or_small": "The number of results returned cannot be greater than 100 or less than 1.", + "topN_too_large_or_small": "The number of results returned cannot be greater than 30 or less than 1.", "topN_placeholder": "Not set", "topN_tooltip": "The number of matching results returned; the larger the value, the more matching results, but also the more tokens consumed.", "url_added": "URL added", diff --git a/src/renderer/src/i18n/locales/ja-jp.json b/src/renderer/src/i18n/locales/ja-jp.json index 6e9ab12361..a403b3292c 100644 --- a/src/renderer/src/i18n/locales/ja-jp.json +++ b/src/renderer/src/i18n/locales/ja-jp.json @@ -489,7 +489,7 @@ "threshold_tooltip": "ユーザーの質問と知識ベースの内容の関連性を評価するためのしきい値(0-1)", "title": "ナレッジベース", "topN": "返却される結果の数", - "topN__too_large_or_small": "結果の数は100より大きくてはならず、1より小さくてはなりません。", + "topN_too_large_or_small": "結果の数は30より大きくてはならず、1より小さくてはなりません。", "topN_placeholder": "未設定", "topN_tooltip": "返されるマッチ結果の数は、数値が大きいほどマッチ結果が多くなりますが、消費されるトークンも増えます。", "url_added": "URLが追加されました", diff --git a/src/renderer/src/i18n/locales/ru-ru.json b/src/renderer/src/i18n/locales/ru-ru.json index 82f03caebb..d0920fd2cf 100644 --- a/src/renderer/src/i18n/locales/ru-ru.json +++ b/src/renderer/src/i18n/locales/ru-ru.json @@ -489,7 +489,7 @@ "threshold_tooltip": "Используется для оценки соответствия между пользовательским вопросом и содержимым в базе знаний (0-1)", "title": "База знаний", "topN": "Количество возвращаемых результатов", - "topN__too_large_or_small": "Количество возвращаемых результатов не может быть больше 100 или меньше 1.", + "topN_too_large_or_small": "Количество возвращаемых результатов не может быть больше 30 или меньше 1.", "topN_placeholder": "Не установлено", "topN_tooltip": "Количество возвращаемых совпадений; чем больше значение, тем больше совпадений, но и потребление токенов тоже возрастает.", "url_added": "URL добавлен", diff --git a/src/renderer/src/i18n/locales/zh-cn.json b/src/renderer/src/i18n/locales/zh-cn.json index f3545271d1..85c9e4c485 100644 --- a/src/renderer/src/i18n/locales/zh-cn.json +++ b/src/renderer/src/i18n/locales/zh-cn.json @@ -493,7 +493,7 @@ "threshold_tooltip": "用于衡量用户问题与知识库内容之间的相关性(0-1)", "title": "知识库", "topN": "返回结果数量", - "topN__too_large_or_small": "返回结果数量不能大于100或小于1", + "topN_too_large_or_small": "返回结果数量不能大于30或小于1", "topN_placeholder": "未设置", "topN_tooltip": "返回的匹配结果数量,数值越大,匹配结果越多,但消耗的 Token 也越多", "url_added": "网址已添加", diff --git a/src/renderer/src/i18n/locales/zh-tw.json b/src/renderer/src/i18n/locales/zh-tw.json index a342046550..212316a4ac 100644 --- a/src/renderer/src/i18n/locales/zh-tw.json +++ b/src/renderer/src/i18n/locales/zh-tw.json @@ -489,7 +489,7 @@ "threshold_tooltip": "用於衡量使用者問題與知識庫內容之間的相關性(0-1)", "title": "知識庫", "topN": "返回結果數量", - "topN__too_large_or_small": "返回結果數量不能大於100或小於1", + "topN_too_large_or_small": "返回結果數量不能大於30或小於1", "topN_placeholder": "未設定", "topN_tooltip": "返回的匹配結果數量,數值越大,匹配結果越多,但消耗的 Token 也越多", "url_added": "網址已新增",