Skip to content

Commit 0ddd21e

Browse files
authored
fix(i18n): correct gemini cli error translation paths (#5194)
1 parent b019038 commit 0ddd21e

File tree

18 files changed

+180
-180
lines changed

18 files changed

+180
-180
lines changed

src/i18n/locales/ca/common.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,16 @@
7373
"processExitedWithError": "El procés Claude Code ha sortit amb codi {{exitCode}}. Sortida d'error: {{output}}",
7474
"stoppedWithReason": "Claude Code s'ha aturat per la raó: {{reason}}",
7575
"apiKeyModelPlanMismatch": "Les claus API i els plans de subscripció permeten models diferents. Assegura't que el model seleccionat estigui inclòs al teu pla."
76+
},
77+
"geminiCli": {
78+
"oauthLoadFailed": "No s'han pogut carregar les credencials OAuth. Si us plau, autentica't primer: {{error}}",
79+
"tokenRefreshFailed": "No s'ha pogut actualitzar el token OAuth: {{error}}",
80+
"onboardingTimeout": "L'operació d'onboarding ha esgotat el temps després de 60 segons. Si us plau, torna-ho a provar més tard.",
81+
"projectDiscoveryFailed": "No s'ha pogut descobrir l'ID del projecte. Assegura't d'estar autenticat amb 'gemini auth'.",
82+
"rateLimitExceeded": "S'ha superat el límit de velocitat. S'han assolit els límits del nivell gratuït.",
83+
"badRequest": "Sol·licitud incorrecta: {{details}}",
84+
"apiError": "Error de l'API Gemini CLI: {{error}}",
85+
"completionError": "Error de compleció de Gemini CLI: {{error}}"
7686
}
7787
},
7888
"warnings": {
@@ -139,16 +149,6 @@
139149
"cloud_auth_required": "La teva organització requereix autenticació de Roo Code Cloud. Si us plau, inicia sessió per continuar.",
140150
"organization_mismatch": "Has d'estar autenticat amb el compte de Roo Code Cloud de la teva organització.",
141151
"verification_failed": "No s'ha pogut verificar l'autenticació de l'organització."
142-
},
143-
"geminiCli": {
144-
"oauthLoadFailed": "No s'han pogut carregar les credencials OAuth. Si us plau, autentica't primer: {{error}}",
145-
"tokenRefreshFailed": "No s'ha pogut actualitzar el token OAuth: {{error}}",
146-
"onboardingTimeout": "L'operació d'onboarding ha esgotat el temps després de 60 segons. Si us plau, torna-ho a provar més tard.",
147-
"projectDiscoveryFailed": "No s'ha pogut descobrir l'ID del projecte. Assegura't d'estar autenticat amb 'gemini auth'.",
148-
"rateLimitExceeded": "S'ha superat el límit de velocitat. S'han assolit els límits del nivell gratuït.",
149-
"badRequest": "Sol·licitud incorrecta: {{details}}",
150-
"apiError": "Error de l'API Gemini CLI: {{error}}",
151-
"completionError": "Error de compleció de Gemini CLI: {{error}}"
152152
}
153153
}
154154
}

src/i18n/locales/de/common.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@
6969
"processExitedWithError": "Claude Code Prozess wurde mit Code {{exitCode}} beendet. Fehlerausgabe: {{output}}",
7070
"stoppedWithReason": "Claude Code wurde mit Grund gestoppt: {{reason}}",
7171
"apiKeyModelPlanMismatch": "API-Schlüssel und Abonnement-Pläne erlauben verschiedene Modelle. Stelle sicher, dass das ausgewählte Modell in deinem Plan enthalten ist."
72+
},
73+
"geminiCli": {
74+
"oauthLoadFailed": "Fehler beim Laden der OAuth-Anmeldedaten. Bitte authentifiziere dich zuerst: {{error}}",
75+
"tokenRefreshFailed": "Fehler beim Aktualisieren des OAuth-Tokens: {{error}}",
76+
"onboardingTimeout": "Onboarding-Vorgang nach 60 Sekunden abgebrochen. Bitte versuche es später erneut.",
77+
"projectDiscoveryFailed": "Projekt-ID konnte nicht ermittelt werden. Stelle sicher, dass du mit 'gemini auth' authentifiziert bist.",
78+
"rateLimitExceeded": "Anfragenlimit überschritten. Die Limits des kostenlosen Tarifs wurden erreicht.",
79+
"badRequest": "Ungültige Anfrage: {{details}}",
80+
"apiError": "Gemini CLI API-Fehler: {{error}}",
81+
"completionError": "Gemini CLI Vervollständigungsfehler: {{error}}"
7282
}
7383
},
7484
"warnings": {
@@ -139,16 +149,6 @@
139149
"cloud_auth_required": "Deine Organisation erfordert eine Roo Code Cloud-Authentifizierung. Bitte melde dich an, um fortzufahren.",
140150
"organization_mismatch": "Du musst mit dem Roo Code Cloud-Konto deiner Organisation authentifiziert sein.",
141151
"verification_failed": "Die Organisationsauthentifizierung konnte nicht verifiziert werden."
142-
},
143-
"geminiCli": {
144-
"oauthLoadFailed": "Fehler beim Laden der OAuth-Anmeldedaten. Bitte authentifiziere dich zuerst: {{error}}",
145-
"tokenRefreshFailed": "Fehler beim Aktualisieren des OAuth-Tokens: {{error}}",
146-
"onboardingTimeout": "Onboarding-Vorgang nach 60 Sekunden abgebrochen. Bitte versuche es später erneut.",
147-
"projectDiscoveryFailed": "Projekt-ID konnte nicht ermittelt werden. Stelle sicher, dass du mit 'gemini auth' authentifiziert bist.",
148-
"rateLimitExceeded": "Anfragenlimit überschritten. Die Limits des kostenlosen Tarifs wurden erreicht.",
149-
"badRequest": "Ungültige Anfrage: {{details}}",
150-
"apiError": "Gemini CLI API-Fehler: {{error}}",
151-
"completionError": "Gemini CLI Vervollständigungsfehler: {{error}}"
152152
}
153153
}
154154
}

src/i18n/locales/en/common.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@
6969
"processExitedWithError": "Claude Code process exited with code {{exitCode}}. Error output: {{output}}",
7070
"stoppedWithReason": "Claude Code stopped with reason: {{reason}}",
7171
"apiKeyModelPlanMismatch": "API keys and subscription plans allow different models. Make sure the selected model is included in your plan."
72+
},
73+
"geminiCli": {
74+
"oauthLoadFailed": "Failed to load OAuth credentials. Please authenticate first: {{error}}",
75+
"tokenRefreshFailed": "Failed to refresh OAuth token: {{error}}",
76+
"onboardingTimeout": "Onboarding operation timed out after 60 seconds. Please try again later.",
77+
"projectDiscoveryFailed": "Could not discover project ID. Make sure you're authenticated with 'gemini auth'.",
78+
"rateLimitExceeded": "Rate limit exceeded. Free tier limits have been reached.",
79+
"badRequest": "Bad request: {{details}}",
80+
"apiError": "Gemini CLI API error: {{error}}",
81+
"completionError": "Gemini CLI completion error: {{error}}"
7282
}
7383
},
7484
"warnings": {
@@ -128,16 +138,6 @@
128138
"cloud_auth_required": "Your organization requires Roo Code Cloud authentication. Please sign in to continue.",
129139
"organization_mismatch": "You must be authenticated with your organization's Roo Code Cloud account.",
130140
"verification_failed": "Unable to verify organization authentication."
131-
},
132-
"geminiCli": {
133-
"oauthLoadFailed": "Failed to load OAuth credentials. Please authenticate first: {{error}}",
134-
"tokenRefreshFailed": "Failed to refresh OAuth token: {{error}}",
135-
"onboardingTimeout": "Onboarding operation timed out after 60 seconds. Please try again later.",
136-
"projectDiscoveryFailed": "Could not discover project ID. Make sure you're authenticated with 'gemini auth'.",
137-
"rateLimitExceeded": "Rate limit exceeded. Free tier limits have been reached.",
138-
"badRequest": "Bad request: {{details}}",
139-
"apiError": "Gemini CLI API error: {{error}}",
140-
"completionError": "Gemini CLI completion error: {{error}}"
141141
}
142142
}
143143
}

src/i18n/locales/es/common.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@
6969
"processExitedWithError": "El proceso de Claude Code terminó con código {{exitCode}}. Salida de error: {{output}}",
7070
"stoppedWithReason": "Claude Code se detuvo por la razón: {{reason}}",
7171
"apiKeyModelPlanMismatch": "Las claves API y los planes de suscripción permiten diferentes modelos. Asegúrate de que el modelo seleccionado esté incluido en tu plan."
72+
},
73+
"geminiCli": {
74+
"oauthLoadFailed": "Error al cargar credenciales OAuth. Por favor autentícate primero: {{error}}",
75+
"tokenRefreshFailed": "Error al actualizar token OAuth: {{error}}",
76+
"onboardingTimeout": "La operación de incorporación expiró después de 60 segundos. Inténtalo de nuevo más tarde.",
77+
"projectDiscoveryFailed": "No se pudo descubrir el ID del proyecto. Asegúrate de estar autenticado con 'gemini auth'.",
78+
"rateLimitExceeded": "Límite de velocidad excedido. Se han alcanzado los límites del nivel gratuito.",
79+
"badRequest": "Solicitud incorrecta: {{details}}",
80+
"apiError": "Error de API de Gemini CLI: {{error}}",
81+
"completionError": "Error de completado de Gemini CLI: {{error}}"
7282
}
7383
},
7484
"warnings": {
@@ -139,16 +149,6 @@
139149
"cloud_auth_required": "Tu organización requiere autenticación de Roo Code Cloud. Por favor, inicia sesión para continuar.",
140150
"organization_mismatch": "Debes estar autenticado con la cuenta de Roo Code Cloud de tu organización.",
141151
"verification_failed": "No se pudo verificar la autenticación de la organización."
142-
},
143-
"geminiCli": {
144-
"oauthLoadFailed": "Error al cargar credenciales OAuth. Por favor autentícate primero: {{error}}",
145-
"tokenRefreshFailed": "Error al actualizar token OAuth: {{error}}",
146-
"onboardingTimeout": "La operación de incorporación expiró después de 60 segundos. Inténtalo de nuevo más tarde.",
147-
"projectDiscoveryFailed": "No se pudo descubrir el ID del proyecto. Asegúrate de estar autenticado con 'gemini auth'.",
148-
"rateLimitExceeded": "Límite de velocidad excedido. Se han alcanzado los límites del nivel gratuito.",
149-
"badRequest": "Solicitud incorrecta: {{details}}",
150-
"apiError": "Error de API de Gemini CLI: {{error}}",
151-
"completionError": "Error de completado de Gemini CLI: {{error}}"
152152
}
153153
}
154154
}

src/i18n/locales/fr/common.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@
6969
"processExitedWithError": "Le processus Claude Code s'est terminé avec le code {{exitCode}}. Sortie d'erreur : {{output}}",
7070
"stoppedWithReason": "Claude Code s'est arrêté pour la raison : {{reason}}",
7171
"apiKeyModelPlanMismatch": "Les clés API et les plans d'abonnement permettent différents modèles. Assurez-vous que le modèle sélectionné est inclus dans votre plan."
72+
},
73+
"geminiCli": {
74+
"oauthLoadFailed": "Échec du chargement des identifiants OAuth. Veuillez vous authentifier d'abord : {{error}}",
75+
"tokenRefreshFailed": "Échec du renouvellement du token OAuth : {{error}}",
76+
"onboardingTimeout": "L'opération d'intégration a expiré après 60 secondes. Veuillez réessayer plus tard.",
77+
"projectDiscoveryFailed": "Impossible de découvrir l'ID du projet. Assurez-vous d'être authentifié avec 'gemini auth'.",
78+
"rateLimitExceeded": "Limite de débit dépassée. Les limites du niveau gratuit ont été atteintes.",
79+
"badRequest": "Requête incorrecte : {{details}}",
80+
"apiError": "Erreur API Gemini CLI : {{error}}",
81+
"completionError": "Erreur de complétion Gemini CLI : {{error}}"
7282
}
7383
},
7484
"warnings": {
@@ -139,16 +149,6 @@
139149
"cloud_auth_required": "Votre organisation nécessite une authentification Roo Code Cloud. Veuillez vous connecter pour continuer.",
140150
"organization_mismatch": "Vous devez être authentifié avec le compte Roo Code Cloud de votre organisation.",
141151
"verification_failed": "Impossible de vérifier l'authentification de l'organisation."
142-
},
143-
"geminiCli": {
144-
"oauthLoadFailed": "Échec du chargement des identifiants OAuth. Veuillez vous authentifier d'abord : {{error}}",
145-
"tokenRefreshFailed": "Échec du renouvellement du token OAuth : {{error}}",
146-
"onboardingTimeout": "L'opération d'intégration a expiré après 60 secondes. Veuillez réessayer plus tard.",
147-
"projectDiscoveryFailed": "Impossible de découvrir l'ID du projet. Assurez-vous d'être authentifié avec 'gemini auth'.",
148-
"rateLimitExceeded": "Limite de débit dépassée. Les limites du niveau gratuit ont été atteintes.",
149-
"badRequest": "Requête incorrecte : {{details}}",
150-
"apiError": "Erreur API Gemini CLI : {{error}}",
151-
"completionError": "Erreur de complétion Gemini CLI : {{error}}"
152152
}
153153
}
154154
}

src/i18n/locales/hi/common.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@
6969
"processExitedWithError": "Claude Code प्रक्रिया कोड {{exitCode}} के साथ समाप्त हुई। त्रुटि आउटपुट: {{output}}",
7070
"stoppedWithReason": "Claude Code इस कारण से रुका: {{reason}}",
7171
"apiKeyModelPlanMismatch": "API कुंजी और सब्सक्रिप्शन प्लान अलग-अलग मॉडल की अनुमति देते हैं। सुनिश्चित करें कि चयनित मॉडल आपकी योजना में शामिल है।"
72+
},
73+
"geminiCli": {
74+
"oauthLoadFailed": "OAuth क्रेडेंशियल लोड करने में विफल। कृपया पहले प्रमाणीकरण करें: {{error}}",
75+
"tokenRefreshFailed": "OAuth टोकन रीफ्रेश करने में विफल: {{error}}",
76+
"onboardingTimeout": "ऑनबोर्डिंग ऑपरेशन 60 सेकंड बाद टाइमआउट हो गया। कृपया बाद में पुनः प्रयास करें।",
77+
"projectDiscoveryFailed": "प्रोजेक्ट ID खोजने में असमर्थ। सुनिश्चित करें कि आप 'gemini auth' के साथ प्रमाणित हैं।",
78+
"rateLimitExceeded": "दर सीमा पार हो गई। मुफ्त टियर की सीमा पहुंच गई है।",
79+
"badRequest": "गलत अनुरोध: {{details}}",
80+
"apiError": "Gemini CLI API त्रुटि: {{error}}",
81+
"completionError": "Gemini CLI पूर्णता त्रुटि: {{error}}"
7282
}
7383
},
7484
"warnings": {
@@ -139,16 +149,6 @@
139149
"cloud_auth_required": "आपके संगठन को Roo Code Cloud प्रमाणीकरण की आवश्यकता है। कृपया जारी रखने के लिए साइन इन करें।",
140150
"organization_mismatch": "आपको अपने संगठन के Roo Code Cloud खाते से प्रमाणित होना होगा।",
141151
"verification_failed": "संगठन प्रमाणीकरण सत्यापित करने में असमर्थ।"
142-
},
143-
"geminiCli": {
144-
"oauthLoadFailed": "OAuth क्रेडेंशियल लोड करने में विफल। कृपया पहले प्रमाणीकरण करें: {{error}}",
145-
"tokenRefreshFailed": "OAuth टोकन रीफ्रेश करने में विफल: {{error}}",
146-
"onboardingTimeout": "ऑनबोर्डिंग ऑपरेशन 60 सेकंड बाद टाइमआउट हो गया। कृपया बाद में पुनः प्रयास करें।",
147-
"projectDiscoveryFailed": "प्रोजेक्ट ID खोजने में असमर्थ। सुनिश्चित करें कि आप 'gemini auth' के साथ प्रमाणित हैं।",
148-
"rateLimitExceeded": "दर सीमा पार हो गई। मुफ्त टियर की सीमा पहुंच गई है।",
149-
"badRequest": "गलत अनुरोध: {{details}}",
150-
"apiError": "Gemini CLI API त्रुटि: {{error}}",
151-
"completionError": "Gemini CLI पूर्णता त्रुटि: {{error}}"
152152
}
153153
}
154154
}

src/i18n/locales/id/common.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@
6969
"processExitedWithError": "Proses Claude Code keluar dengan kode {{exitCode}}. Output error: {{output}}",
7070
"stoppedWithReason": "Claude Code berhenti karena alasan: {{reason}}",
7171
"apiKeyModelPlanMismatch": "Kunci API dan paket berlangganan memungkinkan model yang berbeda. Pastikan model yang dipilih termasuk dalam paket Anda."
72+
},
73+
"geminiCli": {
74+
"oauthLoadFailed": "Gagal memuat kredensial OAuth. Silakan autentikasi terlebih dahulu: {{error}}",
75+
"tokenRefreshFailed": "Gagal memperbarui token OAuth: {{error}}",
76+
"onboardingTimeout": "Operasi onboarding habis waktu setelah 60 detik. Silakan coba lagi nanti.",
77+
"projectDiscoveryFailed": "Tidak dapat menemukan ID proyek. Pastikan Anda terautentikasi dengan 'gemini auth'.",
78+
"rateLimitExceeded": "Batas kecepatan terlampaui. Batas tingkat gratis telah tercapai.",
79+
"badRequest": "Permintaan tidak valid: {{details}}",
80+
"apiError": "Kesalahan API Gemini CLI: {{error}}",
81+
"completionError": "Kesalahan penyelesaian Gemini CLI: {{error}}"
7282
}
7383
},
7484
"warnings": {
@@ -139,16 +149,6 @@
139149
"cloud_auth_required": "Organisasi kamu memerlukan autentikasi Roo Code Cloud. Silakan masuk untuk melanjutkan.",
140150
"organization_mismatch": "Kamu harus diautentikasi dengan akun Roo Code Cloud organisasi kamu.",
141151
"verification_failed": "Tidak dapat memverifikasi autentikasi organisasi."
142-
},
143-
"geminiCli": {
144-
"oauthLoadFailed": "Gagal memuat kredensial OAuth. Silakan autentikasi terlebih dahulu: {{error}}",
145-
"tokenRefreshFailed": "Gagal memperbarui token OAuth: {{error}}",
146-
"onboardingTimeout": "Operasi onboarding timeout setelah 60 detik. Silakan coba lagi nanti.",
147-
"projectDiscoveryFailed": "Tidak dapat menemukan ID proyek. Pastikan Anda sudah terautentikasi dengan 'gemini auth'.",
148-
"rateLimitExceeded": "Batas kecepatan terlampaui. Batas tier gratis telah tercapai.",
149-
"badRequest": "Permintaan tidak valid: {{details}}",
150-
"apiError": "Error API Gemini CLI: {{error}}",
151-
"completionError": "Error penyelesaian Gemini CLI: {{error}}"
152152
}
153153
}
154154
}

src/i18n/locales/it/common.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@
6969
"processExitedWithError": "Il processo Claude Code è terminato con codice {{exitCode}}. Output di errore: {{output}}",
7070
"stoppedWithReason": "Claude Code si è fermato per il motivo: {{reason}}",
7171
"apiKeyModelPlanMismatch": "Le chiavi API e i piani di abbonamento consentono modelli diversi. Assicurati che il modello selezionato sia incluso nel tuo piano."
72+
},
73+
"geminiCli": {
74+
"oauthLoadFailed": "Impossibile caricare le credenziali OAuth. Autenticati prima: {{error}}",
75+
"tokenRefreshFailed": "Impossibile aggiornare il token OAuth: {{error}}",
76+
"onboardingTimeout": "L'operazione di onboarding è scaduta dopo 60 secondi. Riprova più tardi.",
77+
"projectDiscoveryFailed": "Impossibile scoprire l'ID del progetto. Assicurati di essere autenticato con 'gemini auth'.",
78+
"rateLimitExceeded": "Limite di velocità superato. I limiti del livello gratuito sono stati raggiunti.",
79+
"badRequest": "Richiesta non valida: {{details}}",
80+
"apiError": "Errore API Gemini CLI: {{error}}",
81+
"completionError": "Errore di completamento Gemini CLI: {{error}}"
7282
}
7383
},
7484
"warnings": {
@@ -139,16 +149,6 @@
139149
"cloud_auth_required": "La tua organizzazione richiede l'autenticazione Roo Code Cloud. Accedi per continuare.",
140150
"organization_mismatch": "Devi essere autenticato con l'account Roo Code Cloud della tua organizzazione.",
141151
"verification_failed": "Impossibile verificare l'autenticazione dell'organizzazione."
142-
},
143-
"geminiCli": {
144-
"oauthLoadFailed": "Impossibile caricare le credenziali OAuth. Autenticati prima: {{error}}",
145-
"tokenRefreshFailed": "Impossibile aggiornare il token OAuth: {{error}}",
146-
"onboardingTimeout": "L'operazione di onboarding è scaduta dopo 60 secondi. Riprova più tardi.",
147-
"projectDiscoveryFailed": "Impossibile scoprire l'ID del progetto. Assicurati di essere autenticato con 'gemini auth'.",
148-
"rateLimitExceeded": "Limite di velocità superato. I limiti del livello gratuito sono stati raggiunti.",
149-
"badRequest": "Richiesta non valida: {{details}}",
150-
"apiError": "Errore API Gemini CLI: {{error}}",
151-
"completionError": "Errore di completamento Gemini CLI: {{error}}"
152152
}
153153
}
154154
}

0 commit comments

Comments
 (0)