From dc4ec3c077957282e4fe8680ad293d8cba205aea Mon Sep 17 00:00:00 2001 From: Hannes Rudolph Date: Thu, 25 Sep 2025 17:41:54 -0600 Subject: [PATCH] feat(i18n): add OpenAI Native Codex OAuth error messages in multiple languages --- src/i18n/locales/ca/common.json | 8 ++++++++ src/i18n/locales/de/common.json | 8 ++++++++ src/i18n/locales/es/common.json | 8 ++++++++ src/i18n/locales/fr/common.json | 8 ++++++++ src/i18n/locales/hi/common.json | 8 ++++++++ src/i18n/locales/id/common.json | 8 ++++++++ src/i18n/locales/it/common.json | 8 ++++++++ src/i18n/locales/ja/common.json | 8 ++++++++ src/i18n/locales/ko/common.json | 8 ++++++++ src/i18n/locales/nl/common.json | 8 ++++++++ src/i18n/locales/pl/common.json | 8 ++++++++ src/i18n/locales/pt-BR/common.json | 8 ++++++++ src/i18n/locales/ru/common.json | 8 ++++++++ src/i18n/locales/tr/common.json | 8 ++++++++ src/i18n/locales/vi/common.json | 8 ++++++++ src/i18n/locales/zh-CN/common.json | 8 ++++++++ src/i18n/locales/zh-TW/common.json | 8 ++++++++ 17 files changed, 136 insertions(+) diff --git a/src/i18n/locales/ca/common.json b/src/i18n/locales/ca/common.json index ecc60195bd..dc79673948 100644 --- a/src/i18n/locales/ca/common.json +++ b/src/i18n/locales/ca/common.json @@ -126,6 +126,14 @@ "roo": { "authenticationRequired": "El proveïdor Roo requereix autenticació al núvol. Si us plau, inicieu sessió a Roo Code Cloud." }, + "openaiNativeCodex": { + "oauthReadFailed": "Error en carregar les credencials OAuth de ChatGPT a {{path}}: {{error}}. Consell: autentica't amb la CLI de Codex (p. ex., \"codex login\") per crear auth.json.", + "oauthParseFailed": "Error en analitzar el JSON de credencials OAuth de ChatGPT a {{path}}: {{error}}. Consell: assegura't que el fitxer sigui JSON vàlid o torna a autenticar-te amb \"codex login\" per regenerar-lo.", + "missingAccessToken": "Les credencials OAuth de ChatGPT no tenen tokens.access_token.", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "Error de respostes de ChatGPT: No hi ha cos de resposta", + "emptyStream": "El flux de respostes de ChatGPT no ha retornat contingut per al model {{modelId}}" + }, "api": { "invalidKeyInvalidChars": "La clau API conté caràcters no vàlids." }, diff --git a/src/i18n/locales/de/common.json b/src/i18n/locales/de/common.json index 73c8213ce0..ac84d89a1c 100644 --- a/src/i18n/locales/de/common.json +++ b/src/i18n/locales/de/common.json @@ -123,6 +123,14 @@ "roo": { "authenticationRequired": "Roo-Anbieter erfordert Cloud-Authentifizierung. Bitte melde dich bei Roo Code Cloud an." }, + "openaiNativeCodex": { + "oauthReadFailed": "Fehler beim Laden der ChatGPT OAuth-Anmeldedaten unter {{path}}: {{error}}. Tipp: Authentifiziere dich mit der Codex CLI (z.B. \"codex login\"), um auth.json zu erstellen.", + "oauthParseFailed": "Fehler beim Parsen der ChatGPT OAuth-Anmeldedaten JSON unter {{path}}: {{error}}. Tipp: Stelle sicher, dass die Datei gültiges JSON ist oder authentifiziere dich erneut mit \"codex login\", um sie zu regenerieren.", + "missingAccessToken": "ChatGPT OAuth-Anmeldedaten fehlen tokens.access_token.", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "ChatGPT Responses Fehler: Kein Antworttext vorhanden", + "emptyStream": "ChatGPT Responses Stream hat keinen Inhalt für Modell {{modelId}} zurückgegeben" + }, "api": { "invalidKeyInvalidChars": "API-Schlüssel enthält ungültige Zeichen." }, diff --git a/src/i18n/locales/es/common.json b/src/i18n/locales/es/common.json index 9cc23f5bb1..71f5b057c3 100644 --- a/src/i18n/locales/es/common.json +++ b/src/i18n/locales/es/common.json @@ -123,6 +123,14 @@ "roo": { "authenticationRequired": "El proveedor Roo requiere autenticación en la nube. Por favor, inicia sesión en Roo Code Cloud." }, + "openaiNativeCodex": { + "oauthReadFailed": "Error al cargar las credenciales OAuth de ChatGPT en {{path}}: {{error}}. Consejo: auténticate con la CLI de Codex (ej., \"codex login\") para crear auth.json.", + "oauthParseFailed": "Error al analizar el JSON de credenciales OAuth de ChatGPT en {{path}}: {{error}}. Consejo: asegúrate de que el archivo sea JSON válido o vuelve a autenticarte con \"codex login\" para regenerarlo.", + "missingAccessToken": "Las credenciales OAuth de ChatGPT no tienen tokens.access_token.", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "Error de respuestas de ChatGPT: Sin cuerpo de respuesta", + "emptyStream": "El flujo de respuestas de ChatGPT no devolvió contenido para el modelo {{modelId}}" + }, "api": { "invalidKeyInvalidChars": "La clave API contiene caracteres inválidos." }, diff --git a/src/i18n/locales/fr/common.json b/src/i18n/locales/fr/common.json index ce99186645..975dd1a491 100644 --- a/src/i18n/locales/fr/common.json +++ b/src/i18n/locales/fr/common.json @@ -123,6 +123,14 @@ "roo": { "authenticationRequired": "Le fournisseur Roo nécessite une authentification cloud. Veuillez vous connecter à Roo Code Cloud." }, + "openaiNativeCodex": { + "oauthReadFailed": "Échec du chargement des identifiants OAuth ChatGPT à {{path}} : {{error}}. Conseil : authentifiez-vous avec la CLI Codex (ex. \"codex login\") pour créer auth.json.", + "oauthParseFailed": "Échec de l'analyse du JSON des identifiants OAuth ChatGPT à {{path}} : {{error}}. Conseil : assurez-vous que le fichier est un JSON valide ou ré-authentifiez-vous avec \"codex login\" pour le régénérer.", + "missingAccessToken": "Les identifiants OAuth ChatGPT n'ont pas de tokens.access_token.", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}} : {{message}}", + "noResponseBody": "Erreur de réponses ChatGPT : Aucun corps de réponse", + "emptyStream": "Le flux de réponses ChatGPT n'a retourné aucun contenu pour le modèle {{modelId}}" + }, "api": { "invalidKeyInvalidChars": "La clé API contient des caractères invalides." }, diff --git a/src/i18n/locales/hi/common.json b/src/i18n/locales/hi/common.json index 9cf2456f7c..4a84a5e18b 100644 --- a/src/i18n/locales/hi/common.json +++ b/src/i18n/locales/hi/common.json @@ -123,6 +123,14 @@ "roo": { "authenticationRequired": "Roo प्रदाता को क्लाउड प्रमाणीकरण की आवश्यकता है। कृपया Roo Code Cloud में साइन इन करें।" }, + "openaiNativeCodex": { + "oauthReadFailed": "{{path}} पर ChatGPT OAuth क्रेडेंशियल लोड करने में विफल: {{error}}। सुझाव: auth.json बनाने के लिए Codex CLI के साथ प्रमाणित करें (जैसे, \"codex login\")।", + "oauthParseFailed": "{{path}} पर ChatGPT OAuth क्रेडेंशियल JSON पार्स करने में विफल: {{error}}। सुझाव: सुनिश्चित करें कि फ़ाइल वैध JSON है या इसे पुनर्जनित करने के लिए \"codex login\" के साथ पुनः प्रमाणित करें।", + "missingAccessToken": "ChatGPT OAuth क्रेडेंशियल में tokens.access_token गुम है।", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "ChatGPT प्रतिक्रिया त्रुटि: कोई प्रतिक्रिया बॉडी नहीं", + "emptyStream": "ChatGPT प्रतिक्रिया स्ट्रीम ने मॉडल {{modelId}} के लिए कोई सामग्री वापस नहीं की" + }, "api": { "invalidKeyInvalidChars": "API कुंजी में अमान्य वर्ण हैं।" }, diff --git a/src/i18n/locales/id/common.json b/src/i18n/locales/id/common.json index 295f843b8a..5f5657463b 100644 --- a/src/i18n/locales/id/common.json +++ b/src/i18n/locales/id/common.json @@ -123,6 +123,14 @@ "roo": { "authenticationRequired": "Penyedia Roo memerlukan autentikasi cloud. Silakan masuk ke Roo Code Cloud." }, + "openaiNativeCodex": { + "oauthReadFailed": "Gagal memuat kredensial OAuth ChatGPT di {{path}}: {{error}}. Tips: autentikasi dengan Codex CLI (mis., \"codex login\") untuk membuat auth.json.", + "oauthParseFailed": "Gagal mengurai JSON kredensial OAuth ChatGPT di {{path}}: {{error}}. Tips: pastikan file adalah JSON yang valid atau autentikasi ulang dengan \"codex login\" untuk meregenerasi.", + "missingAccessToken": "Kredensial OAuth ChatGPT tidak memiliki tokens.access_token.", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "Error respons ChatGPT: Tidak ada body respons", + "emptyStream": "Stream respons ChatGPT tidak mengembalikan konten untuk model {{modelId}}" + }, "api": { "invalidKeyInvalidChars": "Kunci API mengandung karakter tidak valid." }, diff --git a/src/i18n/locales/it/common.json b/src/i18n/locales/it/common.json index 237fc4faa3..8e92aead29 100644 --- a/src/i18n/locales/it/common.json +++ b/src/i18n/locales/it/common.json @@ -123,6 +123,14 @@ "roo": { "authenticationRequired": "Il provider Roo richiede l'autenticazione cloud. Accedi a Roo Code Cloud." }, + "openaiNativeCodex": { + "oauthReadFailed": "Impossibile caricare le credenziali OAuth di ChatGPT in {{path}}: {{error}}. Suggerimento: autenticati con la CLI Codex (es. \"codex login\") per creare auth.json.", + "oauthParseFailed": "Impossibile analizzare il JSON delle credenziali OAuth di ChatGPT in {{path}}: {{error}}. Suggerimento: assicurati che il file sia JSON valido o ri-autenticati con \"codex login\" per rigenerarlo.", + "missingAccessToken": "Le credenziali OAuth di ChatGPT non hanno tokens.access_token.", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "Errore risposte ChatGPT: Nessun corpo di risposta", + "emptyStream": "Il flusso di risposte ChatGPT non ha restituito contenuto per il modello {{modelId}}" + }, "api": { "invalidKeyInvalidChars": "La chiave API contiene caratteri non validi." }, diff --git a/src/i18n/locales/ja/common.json b/src/i18n/locales/ja/common.json index a2da92cfac..201626d64b 100644 --- a/src/i18n/locales/ja/common.json +++ b/src/i18n/locales/ja/common.json @@ -123,6 +123,14 @@ "roo": { "authenticationRequired": "Rooプロバイダーはクラウド認証が必要です。Roo Code Cloudにサインインしてください。" }, + "openaiNativeCodex": { + "oauthReadFailed": "{{path}}でChatGPT OAuth認証情報の読み込みに失敗しました: {{error}}。ヒント: Codex CLI(例:\"codex login\")で認証してauth.jsonを作成してください。", + "oauthParseFailed": "{{path}}でChatGPT OAuth認証情報JSONの解析に失敗しました: {{error}}。ヒント: ファイルが有効なJSONであることを確認するか、\"codex login\"で再認証して再生成してください。", + "missingAccessToken": "ChatGPT OAuth認証情報にtokens.access_tokenがありません。", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "ChatGPTレスポンスエラー: レスポンスボディがありません", + "emptyStream": "ChatGPTレスポンスストリームがモデル{{modelId}}のコンテンツを返しませんでした" + }, "api": { "invalidKeyInvalidChars": "APIキーに無効な文字が含まれています。" }, diff --git a/src/i18n/locales/ko/common.json b/src/i18n/locales/ko/common.json index d2d696510d..712feb016d 100644 --- a/src/i18n/locales/ko/common.json +++ b/src/i18n/locales/ko/common.json @@ -123,6 +123,14 @@ "roo": { "authenticationRequired": "Roo 제공업체는 클라우드 인증이 필요합니다. Roo Code Cloud에 로그인하세요." }, + "openaiNativeCodex": { + "oauthReadFailed": "{{path}}에서 ChatGPT OAuth 자격 증명 로드 실패: {{error}}. 팁: Codex CLI(예: \"codex login\")로 인증하여 auth.json을 생성하세요.", + "oauthParseFailed": "{{path}}에서 ChatGPT OAuth 자격 증명 JSON 파싱 실패: {{error}}. 팁: 파일이 유효한 JSON인지 확인하거나 \"codex login\"으로 재인증하여 재생성하세요.", + "missingAccessToken": "ChatGPT OAuth 자격 증명에 tokens.access_token이 없습니다.", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "ChatGPT 응답 오류: 응답 본문 없음", + "emptyStream": "ChatGPT 응답 스트림이 모델 {{modelId}}에 대한 콘텐츠를 반환하지 않았습니다" + }, "api": { "invalidKeyInvalidChars": "API 키에 유효하지 않은 문자가 포함되어 있습니다." }, diff --git a/src/i18n/locales/nl/common.json b/src/i18n/locales/nl/common.json index 91a3a94401..b3d7d0e930 100644 --- a/src/i18n/locales/nl/common.json +++ b/src/i18n/locales/nl/common.json @@ -123,6 +123,14 @@ "roo": { "authenticationRequired": "Roo provider vereist cloud authenticatie. Log in bij Roo Code Cloud." }, + "openaiNativeCodex": { + "oauthReadFailed": "Laden van ChatGPT OAuth-referenties op {{path}} mislukt: {{error}}. Tip: authenticeer met de Codex CLI (bijv. \"codex login\") om auth.json aan te maken.", + "oauthParseFailed": "Parsen van ChatGPT OAuth-referenties JSON op {{path}} mislukt: {{error}}. Tip: zorg ervoor dat het bestand geldige JSON is of authenticeer opnieuw met \"codex login\" om het te regenereren.", + "missingAccessToken": "ChatGPT OAuth-referenties missen tokens.access_token.", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "ChatGPT Responses fout: Geen response body", + "emptyStream": "ChatGPT Responses stream retourneerde geen inhoud voor model {{modelId}}" + }, "api": { "invalidKeyInvalidChars": "API-sleutel bevat ongeldige karakters." }, diff --git a/src/i18n/locales/pl/common.json b/src/i18n/locales/pl/common.json index 7247573cd3..4b8db843de 100644 --- a/src/i18n/locales/pl/common.json +++ b/src/i18n/locales/pl/common.json @@ -123,6 +123,14 @@ "roo": { "authenticationRequired": "Dostawca Roo wymaga uwierzytelnienia w chmurze. Zaloguj się do Roo Code Cloud." }, + "openaiNativeCodex": { + "oauthReadFailed": "Nie udało się załadować danych uwierzytelniających OAuth ChatGPT w {{path}}: {{error}}. Wskazówka: uwierzytelnij się za pomocą Codex CLI (np. \"codex login\"), aby utworzyć auth.json.", + "oauthParseFailed": "Nie udało się przeanalizować JSON danych uwierzytelniających OAuth ChatGPT w {{path}}: {{error}}. Wskazówka: upewnij się, że plik jest prawidłowym JSON lub ponownie uwierzytelnij się za pomocą \"codex login\", aby go zregenerować.", + "missingAccessToken": "Dane uwierzytelniające OAuth ChatGPT nie zawierają tokens.access_token.", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "Błąd odpowiedzi ChatGPT: Brak treści odpowiedzi", + "emptyStream": "Strumień odpowiedzi ChatGPT nie zwrócił zawartości dla modelu {{modelId}}" + }, "api": { "invalidKeyInvalidChars": "Klucz API zawiera nieprawidłowe znaki." }, diff --git a/src/i18n/locales/pt-BR/common.json b/src/i18n/locales/pt-BR/common.json index bf53a9764b..c8b28ac1f9 100644 --- a/src/i18n/locales/pt-BR/common.json +++ b/src/i18n/locales/pt-BR/common.json @@ -127,6 +127,14 @@ "roo": { "authenticationRequired": "O provedor Roo requer autenticação na nuvem. Faça login no Roo Code Cloud." }, + "openaiNativeCodex": { + "oauthReadFailed": "Falha ao carregar credenciais OAuth do ChatGPT em {{path}}: {{error}}. Dica: autentique-se com a CLI do Codex (ex: \"codex login\") para criar auth.json.", + "oauthParseFailed": "Falha ao analisar JSON das credenciais OAuth do ChatGPT em {{path}}: {{error}}. Dica: certifique-se de que o arquivo seja JSON válido ou autentique-se novamente com \"codex login\" para regenerá-lo.", + "missingAccessToken": "Credenciais OAuth do ChatGPT estão faltando tokens.access_token.", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "Erro de respostas do ChatGPT: Sem corpo de resposta", + "emptyStream": "Stream de respostas do ChatGPT não retornou conteúdo para o modelo {{modelId}}" + }, "api": { "invalidKeyInvalidChars": "A chave API contém caracteres inválidos." }, diff --git a/src/i18n/locales/ru/common.json b/src/i18n/locales/ru/common.json index dedbe8450e..65a48fd730 100644 --- a/src/i18n/locales/ru/common.json +++ b/src/i18n/locales/ru/common.json @@ -123,6 +123,14 @@ "roo": { "authenticationRequired": "Провайдер Roo требует облачной аутентификации. Войдите в Roo Code Cloud." }, + "openaiNativeCodex": { + "oauthReadFailed": "Не удалось загрузить учетные данные OAuth ChatGPT по пути {{path}}: {{error}}. Совет: аутентифицируйтесь с помощью Codex CLI (например, \"codex login\") для создания auth.json.", + "oauthParseFailed": "Не удалось разобрать JSON учетных данных OAuth ChatGPT по пути {{path}}: {{error}}. Совет: убедитесь, что файл является действительным JSON, или повторно аутентифицируйтесь с помощью \"codex login\" для его регенерации.", + "missingAccessToken": "В учетных данных OAuth ChatGPT отсутствует tokens.access_token.", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "Ошибка ответов ChatGPT: Нет тела ответа", + "emptyStream": "Поток ответов ChatGPT не вернул содержимое для модели {{modelId}}" + }, "api": { "invalidKeyInvalidChars": "API-ключ содержит недопустимые символы." }, diff --git a/src/i18n/locales/tr/common.json b/src/i18n/locales/tr/common.json index 4cbb45210d..6b23a2ab40 100644 --- a/src/i18n/locales/tr/common.json +++ b/src/i18n/locales/tr/common.json @@ -123,6 +123,14 @@ "roo": { "authenticationRequired": "Roo sağlayıcısı bulut kimlik doğrulaması gerektirir. Lütfen Roo Code Cloud'a giriş yapın." }, + "openaiNativeCodex": { + "oauthReadFailed": "{{path}} konumunda ChatGPT OAuth kimlik bilgileri yüklenemedi: {{error}}. İpucu: auth.json oluşturmak için Codex CLI ile kimlik doğrulaması yapın (örn. \"codex login\").", + "oauthParseFailed": "{{path}} konumunda ChatGPT OAuth kimlik bilgileri JSON'u ayrıştırılamadı: {{error}}. İpucu: dosyanın geçerli JSON olduğundan emin olun veya yeniden oluşturmak için \"codex login\" ile yeniden kimlik doğrulaması yapın.", + "missingAccessToken": "ChatGPT OAuth kimlik bilgilerinde tokens.access_token eksik.", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "ChatGPT Yanıtları hatası: Yanıt gövdesi yok", + "emptyStream": "ChatGPT Yanıtları akışı {{modelId}} modeli için içerik döndürmedi" + }, "api": { "invalidKeyInvalidChars": "API anahtarı geçersiz karakterler içeriyor." }, diff --git a/src/i18n/locales/vi/common.json b/src/i18n/locales/vi/common.json index 659b0ad0af..3369789ff0 100644 --- a/src/i18n/locales/vi/common.json +++ b/src/i18n/locales/vi/common.json @@ -123,6 +123,14 @@ "roo": { "authenticationRequired": "Nhà cung cấp Roo yêu cầu xác thực đám mây. Vui lòng đăng nhập vào Roo Code Cloud." }, + "openaiNativeCodex": { + "oauthReadFailed": "Không thể tải thông tin xác thực OAuth ChatGPT tại {{path}}: {{error}}. Mẹo: xác thực với Codex CLI (ví dụ: \"codex login\") để tạo auth.json.", + "oauthParseFailed": "Không thể phân tích JSON thông tin xác thực OAuth ChatGPT tại {{path}}: {{error}}. Mẹo: đảm bảo tệp là JSON hợp lệ hoặc xác thực lại với \"codex login\" để tạo lại.", + "missingAccessToken": "Thông tin xác thực OAuth ChatGPT thiếu tokens.access_token.", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "Lỗi phản hồi ChatGPT: Không có nội dung phản hồi", + "emptyStream": "Luồng phản hồi ChatGPT không trả về nội dung cho mô hình {{modelId}}" + }, "api": { "invalidKeyInvalidChars": "Khóa API chứa ký tự không hợp lệ." }, diff --git a/src/i18n/locales/zh-CN/common.json b/src/i18n/locales/zh-CN/common.json index fcc054d8a7..d20f252568 100644 --- a/src/i18n/locales/zh-CN/common.json +++ b/src/i18n/locales/zh-CN/common.json @@ -128,6 +128,14 @@ "roo": { "authenticationRequired": "Roo 提供商需要云认证。请登录 Roo Code Cloud。" }, + "openaiNativeCodex": { + "oauthReadFailed": "无法在 {{path}} 加载 ChatGPT OAuth 凭据:{{error}}。提示:使用 Codex CLI 进行身份验证(例如 \"codex login\")以创建 auth.json。", + "oauthParseFailed": "无法在 {{path}} 解析 ChatGPT OAuth 凭据 JSON:{{error}}。提示:确保文件是有效的 JSON 或使用 \"codex login\" 重新验证以重新生成。", + "missingAccessToken": "ChatGPT OAuth 凭据缺少 tokens.access_token。", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "ChatGPT 响应错误:无响应正文", + "emptyStream": "ChatGPT 响应流未为模型 {{modelId}} 返回内容" + }, "api": { "invalidKeyInvalidChars": "API 密钥包含无效字符。" }, diff --git a/src/i18n/locales/zh-TW/common.json b/src/i18n/locales/zh-TW/common.json index b8a6fc42a1..b6a25f8b62 100644 --- a/src/i18n/locales/zh-TW/common.json +++ b/src/i18n/locales/zh-TW/common.json @@ -122,6 +122,14 @@ "roo": { "authenticationRequired": "Roo 提供者需要雲端認證。請登入 Roo Code Cloud。" }, + "openaiNativeCodex": { + "oauthReadFailed": "無法在 {{path}} 載入 ChatGPT OAuth 憑證:{{error}}。提示:使用 Codex CLI 進行驗證(例如 \"codex login\")以建立 auth.json。", + "oauthParseFailed": "無法在 {{path}} 解析 ChatGPT OAuth 憑證 JSON:{{error}}。提示:確保檔案是有效的 JSON 或使用 \"codex login\" 重新驗證以重新產生。", + "missingAccessToken": "ChatGPT OAuth 憑證缺少 tokens.access_token。", + "httpError": "Codex HTTP {{status}} (req: {{requestId}}) model={{modelId}}: {{message}}", + "noResponseBody": "ChatGPT 回應錯誤:無回應內容", + "emptyStream": "ChatGPT 回應串流未為模型 {{modelId}} 傳回內容" + }, "api": { "invalidKeyInvalidChars": "API 金鑰包含無效字元。" },