diff --git a/src/renderer/src/i18n/locales/en-us.json b/src/renderer/src/i18n/locales/en-us.json index 3c48e82000..5a7a930a79 100644 --- a/src/renderer/src/i18n/locales/en-us.json +++ b/src/renderer/src/i18n/locales/en-us.json @@ -1674,9 +1674,13 @@ "models.base_url": "Base URL", "models.api_key": "API Key", "models.provider_key_add_confirm": "Do you want to add the API key for {{provider}}?", + "models.provider_key_already_exists": "{{provider}} already has an API key ({{existingKey}}). Do not add it again.", "models.provider_key_override_confirm": "{{provider}} already has an API key ({{existingKey}}). Do you want to override it with the new key ({{newKey}})?", "models.provider_key_added": "Successfully added API key for {{provider}}", "models.provider_key_overridden": "Successfully updated API key for {{provider}}", + "models.provider_key_no_change": "API key for {{provider}} has not changed", + "models.provider_key_add_failed_by_empty_data": "Failed to add provider API key, data is empty", + "models.provider_key_add_failed_by_invalid_data": "Failed to add provider API key, data format error", "moresetting": "More Settings", "moresetting.check.confirm": "Confirm Selection", "moresetting.check.warn": "Please be cautious when selecting this option. Incorrect selection may cause the model to malfunction!", diff --git a/src/renderer/src/i18n/locales/ja-jp.json b/src/renderer/src/i18n/locales/ja-jp.json index 9ac68186d2..6c10d00f0f 100644 --- a/src/renderer/src/i18n/locales/ja-jp.json +++ b/src/renderer/src/i18n/locales/ja-jp.json @@ -1668,6 +1668,7 @@ "models.provider_key_no_change": "{{provider}} の API キーは変更されませんでした", "models.provider_key_add_failed_by_empty_data": "{{provider}} の API キーを追加できませんでした。データが空です。", "models.provider_key_add_failed_by_invalid_data": "{{provider}} の API キーを追加できませんでした。データ形式が無効です。", + "models.provider_key_override_confirm": "{{provider}} はすでに API キー ({{existingKey}}) を持っています。新しいキー ({{newKey}}) で上書きしますか?", "moresetting": "詳細設定", "moresetting.check.confirm": "選択を確認", "moresetting.check.warn": "このオプションを選択する際は慎重に行ってください。誤った選択はモデルの誤動作を引き起こす可能性があります!", diff --git a/src/renderer/src/i18n/locales/ru-ru.json b/src/renderer/src/i18n/locales/ru-ru.json index 3f21cfbf73..72859a3d52 100644 --- a/src/renderer/src/i18n/locales/ru-ru.json +++ b/src/renderer/src/i18n/locales/ru-ru.json @@ -1668,6 +1668,7 @@ "models.provider_key_no_change": "API ключ для {{provider}} не изменился", "models.provider_key_add_failed_by_empty_data": "Не удалось добавить API ключ для {{provider}}, данные пусты", "models.provider_key_add_failed_by_invalid_data": "Не удалось добавить API ключ для {{provider}}, данные имеют неверный формат", + "models.provider_key_override_confirm": "{{provider}} уже имеет API ключ ({{existingKey}}). Вы хотите заменить его новым ключом ({{newKey}})?", "moresetting": "Дополнительные настройки", "moresetting.check.confirm": "Подтвердить выбор", "moresetting.check.warn": "Пожалуйста, будьте осторожны при выборе этой опции. Неправильный выбор может привести к сбою в работе модели!", diff --git a/src/renderer/src/i18n/locales/zh-cn.json b/src/renderer/src/i18n/locales/zh-cn.json index d56ee7a66a..1ce540577d 100644 --- a/src/renderer/src/i18n/locales/zh-cn.json +++ b/src/renderer/src/i18n/locales/zh-cn.json @@ -1680,6 +1680,7 @@ "models.provider_key_no_change": "{{provider}} 的 API 密钥没有变化", "models.provider_key_add_failed_by_empty_data": "添加服务商 API 密钥失败,数据为空", "models.provider_key_add_failed_by_invalid_data": "添加服务商 API 密钥失败,数据格式错误", + "models.provider_key_override_confirm": "{{provider}} 已存在相同 API 密钥, 是否覆盖?", "moresetting": "更多设置", "moresetting.check.confirm": "确认勾选", "moresetting.check.warn": "请慎重勾选此选项,勾选错误会导致模型无法正常使用!!!", diff --git a/src/renderer/src/i18n/locales/zh-tw.json b/src/renderer/src/i18n/locales/zh-tw.json index 62413d3663..5f214b77bd 100644 --- a/src/renderer/src/i18n/locales/zh-tw.json +++ b/src/renderer/src/i18n/locales/zh-tw.json @@ -1671,6 +1671,7 @@ "models.provider_key_no_change": "{{provider}} 的 API 密鑰沒有變化", "models.provider_key_add_failed_by_empty_data": "添加提供者 API 密鑰失敗,數據為空", "models.provider_key_add_failed_by_invalid_data": "添加提供者 API 密鑰失敗,數據格式錯誤", + "models.provider_key_override_confirm": "{{provider}} 已存在相同 API 金鑰, 是否覆蓋?", "moresetting": "更多設定", "moresetting.check.confirm": "確認勾選", "moresetting.check.warn": "請謹慎勾選此選項,勾選錯誤會導致模型無法正常使用!!!",