diff --git a/src/renderer/src/i18n/locales/en-us.json b/src/renderer/src/i18n/locales/en-us.json index 12dcef76ce..a0b4c6d655 100644 --- a/src/renderer/src/i18n/locales/en-us.json +++ b/src/renderer/src/i18n/locales/en-us.json @@ -177,6 +177,7 @@ "input.upload": "Upload image or document file", "input.upload.document": "Upload document file (model does not support images)", "input.web_search": "Web search", + "input.web_search.settings": "Web Search Settings", "input.web_search.button.ok": "Go to Settings", "input.web_search.enable": "Enable web search", "input.web_search.enable_content": "Need to check web search connectivity in settings first", diff --git a/src/renderer/src/i18n/locales/ja-jp.json b/src/renderer/src/i18n/locales/ja-jp.json index 4c743a4e34..3170a55bfd 100644 --- a/src/renderer/src/i18n/locales/ja-jp.json +++ b/src/renderer/src/i18n/locales/ja-jp.json @@ -177,6 +177,7 @@ "input.upload": "画像またはドキュメントをアップロード", "input.upload.document": "ドキュメントをアップロード(モデルは画像をサポートしません)", "input.web_search": "ウェブ検索", + "input.web_search.settings": "ウェブ検索設定", "input.web_search.button.ok": "設定に移動", "input.web_search.enable": "ウェブ検索を有効にする", "input.web_search.enable_content": "ウェブ検索の接続性を先に設定で確認する必要があります", diff --git a/src/renderer/src/i18n/locales/ru-ru.json b/src/renderer/src/i18n/locales/ru-ru.json index 30332b88a3..12a84fce48 100644 --- a/src/renderer/src/i18n/locales/ru-ru.json +++ b/src/renderer/src/i18n/locales/ru-ru.json @@ -177,6 +177,7 @@ "input.upload": "Загрузить изображение или документ", "input.upload.document": "Загрузить документ (модель не поддерживает изображения)", "input.web_search": "Веб-поиск", + "input.web_search.settings": "Настройки веб-поиска", "input.web_search.button.ok": "Перейти в Настройки", "input.web_search.enable": "Включить веб-поиск", "input.web_search.enable_content": "Необходимо предварительно проверить подключение к веб-поиску в настройках", diff --git a/src/renderer/src/i18n/locales/zh-cn.json b/src/renderer/src/i18n/locales/zh-cn.json index df40aacdbe..c2c7c2624f 100644 --- a/src/renderer/src/i18n/locales/zh-cn.json +++ b/src/renderer/src/i18n/locales/zh-cn.json @@ -186,6 +186,7 @@ "input.upload.upload_from_local": "上传本地文件...", "input.upload.document": "上传文档(模型不支持图片)", "input.web_search": "网络搜索", + "input.web_search.settings": "网络搜索设置", "input.web_search.button.ok": "去设置", "input.web_search.enable": "开启网络搜索", "input.web_search.enable_content": "需要先在设置中检查网络搜索连通性", diff --git a/src/renderer/src/i18n/locales/zh-tw.json b/src/renderer/src/i18n/locales/zh-tw.json index de3c0a9593..b1fb627c8a 100644 --- a/src/renderer/src/i18n/locales/zh-tw.json +++ b/src/renderer/src/i18n/locales/zh-tw.json @@ -177,6 +177,7 @@ "input.upload": "上傳圖片或文件", "input.upload.document": "上傳文件(模型不支援圖片)", "input.web_search": "網路搜尋", + "input.web_search.settings": "網路搜尋設定", "input.web_search.button.ok": "去設定", "input.web_search.enable": "開啟網路搜尋", "input.web_search.enable_content": "需要先在設定中開啟網路搜尋", diff --git a/src/renderer/src/pages/home/Inputbar/WebSearchButton.tsx b/src/renderer/src/pages/home/Inputbar/WebSearchButton.tsx index a06b729b2e..68838061cf 100644 --- a/src/renderer/src/pages/home/Inputbar/WebSearchButton.tsx +++ b/src/renderer/src/pages/home/Inputbar/WebSearchButton.tsx @@ -79,7 +79,7 @@ const WebSearchButton: FC = ({ ref, assistant, ToolbarButton }) => { } items.push({ - label: '前往设置' + '...', + label: t('chat.input.web_search.settings'), icon: , action: () => navigate('/settings/web-search') })