From e10b0e6b60d65c319e17579312e6a1a01bb613b1 Mon Sep 17 00:00:00 2001 From: Yuhao Tsui Date: Thu, 21 Nov 2024 10:09:20 +0800 Subject: [PATCH] Fix: Inaccurate description (#3540) ### What problem does this PR solve? Correction of inaccurate front-end description. ![image](https://github.com/user-attachments/assets/4a7330b5-1384-4092-825d-56675fb5799c) ![image](https://github.com/user-attachments/assets/b3737912-4f5a-4928-a629-404a4fa4da6e) ### Type of change - [x] Refactoring --- web/src/locales/en.ts | 6 +++--- web/src/locales/es.ts | 2 +- web/src/locales/id.ts | 4 ++-- web/src/locales/zh-traditional.ts | 2 +- web/src/locales/zh.ts | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts index e4543cdd6..cc2214514 100644 --- a/web/src/locales/en.ts +++ b/web/src/locales/en.ts @@ -61,8 +61,8 @@ export default { register: 'Register', signin: 'Sign in', home: 'Home', - setting: '用户设置', - logout: '登出', + setting: 'User settings', + logout: 'Log out', fileManager: 'File Management', flow: 'Agent', search: 'Search', @@ -747,7 +747,7 @@ The above is the content you need to summarize.`, bingDescription: 'This component is used to get search result from https://www.bing.com/. Typically, it performs as a supplement to knowledgebases. Top N and Bing Subscription-Key specifies the number of search results you need to adapt.', apiKey: 'API KEY', - country: 'Country', + country: 'Country&Region', language: 'Language', googleScholar: 'Google Scholar', googleScholarDescription: diff --git a/web/src/locales/es.ts b/web/src/locales/es.ts index 39339faed..d6c3aa4b0 100644 --- a/web/src/locales/es.ts +++ b/web/src/locales/es.ts @@ -590,7 +590,7 @@ export default { bingTip: 'Este componente se usa para obtener resultados de búsqueda de https://www.bing.com/. Típicamente, actúa como un complemento a las bases de conocimiento. Top N y la clave de suscripción de Bing especifican el número de resultados de búsqueda que necesitas ajustar.', apiKey: 'Clave API', - country: 'País', + country: 'País&Región', language: 'Idioma', googleScholar: 'Google Scholar', googleScholarDescription: diff --git a/web/src/locales/id.ts b/web/src/locales/id.ts index 9179018ff..64380f4af 100644 --- a/web/src/locales/id.ts +++ b/web/src/locales/id.ts @@ -746,7 +746,7 @@ export default { bingTip: 'Komponen ini digunakan untuk mendapatkan hasil pencarian dari https://www.bing.com/. Biasanya, ini berfungsi sebagai pelengkap basis pengetahuan. Top N dan Kunci Langganan Bing menentukan jumlah hasil pencarian yang perlu Anda sesuaikan.', apiKey: 'Kunci API', - country: 'Negara', + country: 'Negara&Wilayah', language: 'Bahasa', googleScholar: 'Google Scholar', googleScholarDescription: @@ -1016,4 +1016,4 @@ export default { }, }, }; - \ No newline at end of file + diff --git a/web/src/locales/zh-traditional.ts b/web/src/locales/zh-traditional.ts index 305815faf..caed8735e 100644 --- a/web/src/locales/zh-traditional.ts +++ b/web/src/locales/zh-traditional.ts @@ -712,7 +712,7 @@ export default { bingDescription: '此元件用於從 https://www.bing.com/ 取得搜尋結果。通常,它充當知識庫的補充。 Top N 和 Bing Subscription-Key 指定您需要適配的搜尋結果數量。', apiKey: 'API KEY', - country: '國家', + country: '國家和地區', language: '語言', googleScholar: '谷歌學術', googleScholarDescription: `該元件用於從 https://scholar.google.com/ 取得搜尋結果。通常,它充當知識庫的補充。 Top N 指定您需要調整的搜尋結果的數量。`, diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts index fe6a543c2..e08bd34cf 100644 --- a/web/src/locales/zh.ts +++ b/web/src/locales/zh.ts @@ -732,7 +732,7 @@ export default { bingDescription: '此组件用于从 https://www.bing.com/ 获取搜索结果。通常,它作为知识库的补充。Top N 和 Bing Subscription-Key 指定您需要调整的搜索结果数量。', apiKey: 'API KEY', - country: '国家', + country: '国家和地区', language: '语言', googleScholar: '谷歌学术', googleScholarDescription: `此组件用于从 https://scholar.google.com/ 获取搜索结果。通常,它作为知识库的补充。Top N 指定您需要调整的搜索结果数量。`,