From 3b971423611e68c27356dda415bc3a7dcc20ebc5 Mon Sep 17 00:00:00 2001 From: icarus Date: Thu, 23 Oct 2025 12:44:25 +0800 Subject: [PATCH] fix(i18n): split fetch_complete into singular and plural forms Update translation files to properly handle singular/plural cases for search results display --- src/renderer/src/i18n/locales/en-us.json | 3 ++- src/renderer/src/i18n/locales/zh-cn.json | 3 ++- src/renderer/src/i18n/locales/zh-tw.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/i18n/locales/en-us.json b/src/renderer/src/i18n/locales/en-us.json index e49eb7fa72..5ec75b6755 100644 --- a/src/renderer/src/i18n/locales/en-us.json +++ b/src/renderer/src/i18n/locales/en-us.json @@ -1764,7 +1764,8 @@ }, "websearch": { "cutoff": "Truncating search content...", - "fetch_complete": "{{count}} search result(s)", + "fetch_complete_one": "{{count}} search result", + "fetch_complete_other": "{{count}} search results", "rag": "Executing RAG...", "rag_complete": "Keeping {{countAfter}} out of {{countBefore}} results...", "rag_failed": "RAG failed, returning empty results..." diff --git a/src/renderer/src/i18n/locales/zh-cn.json b/src/renderer/src/i18n/locales/zh-cn.json index e63264127e..46bed9b8a3 100644 --- a/src/renderer/src/i18n/locales/zh-cn.json +++ b/src/renderer/src/i18n/locales/zh-cn.json @@ -1764,7 +1764,8 @@ }, "websearch": { "cutoff": "正在截断搜索内容...", - "fetch_complete": "{{count}} 个搜索结果", + "fetch_complete_one": "{{count}} 个搜索结果", + "fetch_complete_other": "{{count}} 个搜索结果", "rag": "正在执行 RAG...", "rag_complete": "保留 {{countBefore}} 个结果中的 {{countAfter}} 个...", "rag_failed": "RAG 失败,返回空结果..." diff --git a/src/renderer/src/i18n/locales/zh-tw.json b/src/renderer/src/i18n/locales/zh-tw.json index 074b935b34..4777d9672a 100644 --- a/src/renderer/src/i18n/locales/zh-tw.json +++ b/src/renderer/src/i18n/locales/zh-tw.json @@ -1764,7 +1764,8 @@ }, "websearch": { "cutoff": "正在截斷搜尋內容...", - "fetch_complete": "{{count}} 個搜尋結果", + "fetch_complete_one": "{{count}} 個搜尋結果", + "fetch_complete_other": "{{count}} 個搜尋結果", "rag": "正在執行 RAG...", "rag_complete": "保留 {{countBefore}} 個結果中的 {{countAfter}} 個...", "rag_failed": "RAG 失敗,返回空結果..."