diff --git a/src/renderer/src/i18n/locales/en-us.json b/src/renderer/src/i18n/locales/en-us.json index 6ccede00..9f7a8f5c 100644 --- a/src/renderer/src/i18n/locales/en-us.json +++ b/src/renderer/src/i18n/locales/en-us.json @@ -982,7 +982,7 @@ "search_placeholder": "Search model id or name", "title": "Model Provider", "copilot": { - "tooltip": "You need to log in to Github before using Github Copilot in Cherry Studio.", + "tooltip": "You need to log in to Github before using Github Copilot", "description": "Your GitHub account needs to subscribe to Copilot.", "login": "Log in to Github", "connect": "Connect to Github", diff --git a/src/renderer/src/i18n/locales/ja-jp.json b/src/renderer/src/i18n/locales/ja-jp.json index af396cde..89739595 100644 --- a/src/renderer/src/i18n/locales/ja-jp.json +++ b/src/renderer/src/i18n/locales/ja-jp.json @@ -982,7 +982,7 @@ "search_placeholder": "モデルIDまたは名前を検索", "title": "モデルプロバイダー", "copilot": { - "tooltip": "Cherry StudioでGithub Copilotを使用するには、まずGithubにログインする必要があります。", + "tooltip": "Github Copilot を使用するには、まず Github にログインする必要があります。", "description": "あなたのGithubアカウントはCopilotを購読する必要があります。", "login": "GitHubにログインする", "connect": "GitHubに接続する", diff --git a/src/renderer/src/i18n/locales/ru-ru.json b/src/renderer/src/i18n/locales/ru-ru.json index e582c13b..4f87ac1a 100644 --- a/src/renderer/src/i18n/locales/ru-ru.json +++ b/src/renderer/src/i18n/locales/ru-ru.json @@ -982,7 +982,7 @@ "search_placeholder": "Поиск по ID или имени модели", "title": "Провайдеры моделей", "copilot": { - "tooltip": "В Cherry Studio для использования Github Copilot необходимо сначала войти в Github.", + "tooltip": "Для использования Github Copilot необходимо сначала войти в Github.", "description": "Ваша учетная запись Github должна подписаться на Copilot.", "login": "Войти в Github", "connect": "Подключить Github", diff --git a/src/renderer/src/i18n/locales/zh-cn.json b/src/renderer/src/i18n/locales/zh-cn.json index e722b6a3..73a81851 100644 --- a/src/renderer/src/i18n/locales/zh-cn.json +++ b/src/renderer/src/i18n/locales/zh-cn.json @@ -982,27 +982,27 @@ "search_placeholder": "搜索模型 ID 或名称", "title": "模型服务", "copilot": { - "tooltip": "在Cherry Studio中使用Github Copilot需要先登录Github", - "description": "您的Github账号需要订阅Copilot", - "login": "登录Github", - "connect": "连接Github", - "logout": "退出Github", + "tooltip": "使用 Github Copilot 需要先登录 Github", + "description": "您的 Github 账号需要订阅 Copilot", + "login": "登录 Github", + "connect": "连接 Github", + "logout": "退出 Github", "auth_success_title": "认证成功", - "code_generated_title": "获取Device Code", - "code_generated_desc": "请将device code复制到下面的浏览器链接中", - "code_failed": "获取Device Code失败,请重试", - "auth_success": "Github Copilot认证成功", - "auth_failed": "Github Copilot认证失败", + "code_generated_title": "获取 Device Code", + "code_generated_desc": "请将 Device Code 复制到下面的浏览器链接中", + "code_failed": "获取 Device Code 失败,请重试", + "auth_success": "Github Copilot 认证成功", + "auth_failed": "Github Copilot 认证失败", "logout_success": "已成功退出", "logout_failed": "退出失败,请重试", "confirm_title": "风险警告", - "confirm_login": "过度使用可能会导致您的Github遭到封号,请谨慎使用!!!!", + "confirm_login": "过度使用可能会导致您的 Github 账号遭到封号,请谨慎使用!!!!", "rate_limit": "速率限制", "custom_headers": "自定义请求头", "headers_description": "自定义请求头(json格式)", "expand": "展开", "model_setting": "模型设置", - "invalid_json": "JSON格式错误", + "invalid_json": "JSON 格式错误", "open_verification_first": "请先点击上方链接访问验证页面" } }, diff --git a/src/renderer/src/i18n/locales/zh-tw.json b/src/renderer/src/i18n/locales/zh-tw.json index 5ad89528..ca91ae9d 100644 --- a/src/renderer/src/i18n/locales/zh-tw.json +++ b/src/renderer/src/i18n/locales/zh-tw.json @@ -982,27 +982,27 @@ "search_placeholder": "搜尋模型 ID 或名稱", "title": "模型提供者", "copilot": { - "tooltip": "在Cherry Studio中使用Github Copilot需要先登入Github", - "description": "您的Github帳號需要訂閱Copilot", - "login": "登入Github", - "connect": "連接Github", - "logout": "退出Github", + "tooltip": "使用 Github Copilot 需要先登入 Github", + "description": "您的 Github 帳號需要訂閱 Copilot", + "login": "登入 Github", + "connect": "連接 Github", + "logout": "退出 Github", "auth_success_title": "認證成功", "code_generated_title": "獲取設備代碼", - "code_generated_desc": "請將設備代碼複製到下面的瀏覽器連結中。", - "code_failed": "獲取Device Code失敗,請重試", + "code_generated_desc": "請將設備代碼複製到下面的瀏覽器連結中", + "code_failed": "獲取 Device Code失敗,請重試", "auth_success": "Github Copilot 認證成功", "auth_failed": "Github Copilot認證失敗", "logout_success": "已成功登出", "logout_failed": "退出失敗,請重試", "confirm_title": "風險警告", - "confirm_login": "過度使用可能會導致您的Github帳號被封,請謹慎使用!!!!", + "confirm_login": "過度使用可能會導致您的 Github 帳號遭到封號,請謹慎使用!!!!", "rate_limit": "速率限制", "custom_headers": "自訂請求標頭", "headers_description": "自訂請求標頭(json格式)", "expand": "展開", "model_setting": "模型設定", - "invalid_json": "JSON格式錯誤", + "invalid_json": "JSON 格式錯誤", "open_verification_first": "請先點擊上方連結訪問驗證頁面" } }, diff --git a/src/renderer/src/pages/settings/ProviderSettings/GithubCopilotSettings.tsx b/src/renderer/src/pages/settings/ProviderSettings/GithubCopilotSettings.tsx index 871b8237..5fe9b4ee 100644 --- a/src/renderer/src/pages/settings/ProviderSettings/GithubCopilotSettings.tsx +++ b/src/renderer/src/pages/settings/ProviderSettings/GithubCopilotSettings.tsx @@ -182,6 +182,7 @@ const GithubCopilotSettings: FC = ({ provider: initi return ( <> = ({ provider: initi return ( <>