From 2705ed685369ce4ba4414dbd7da169a1de8ba92a Mon Sep 17 00:00:00 2001 From: joshualipman123 Date: Mon, 25 Aug 2025 16:46:12 -0700 Subject: [PATCH] fix missing translations --- packages/types/src/providers/vercel-ai-gateway.ts | 4 ++-- webview-ui/src/i18n/locales/ca/settings.json | 2 ++ webview-ui/src/i18n/locales/ca/welcome.json | 4 ++++ webview-ui/src/i18n/locales/de/welcome.json | 4 ++++ webview-ui/src/i18n/locales/en/settings.json | 2 +- webview-ui/src/i18n/locales/es/welcome.json | 4 ++++ webview-ui/src/i18n/locales/fr/welcome.json | 4 ++++ webview-ui/src/i18n/locales/hi/settings.json | 2 ++ webview-ui/src/i18n/locales/hi/welcome.json | 4 ++++ webview-ui/src/i18n/locales/id/settings.json | 2 ++ webview-ui/src/i18n/locales/id/welcome.json | 4 ++++ webview-ui/src/i18n/locales/it/welcome.json | 4 ++++ webview-ui/src/i18n/locales/ja/welcome.json | 4 ++++ webview-ui/src/i18n/locales/ko/welcome.json | 4 ++++ webview-ui/src/i18n/locales/nl/settings.json | 2 ++ webview-ui/src/i18n/locales/nl/welcome.json | 4 ++++ webview-ui/src/i18n/locales/pl/settings.json | 2 ++ webview-ui/src/i18n/locales/pl/welcome.json | 4 ++++ webview-ui/src/i18n/locales/pt-BR/welcome.json | 4 ++++ webview-ui/src/i18n/locales/ru/welcome.json | 4 ++++ webview-ui/src/i18n/locales/tr/settings.json | 2 ++ webview-ui/src/i18n/locales/tr/welcome.json | 4 ++++ webview-ui/src/i18n/locales/vi/settings.json | 2 ++ webview-ui/src/i18n/locales/vi/welcome.json | 4 ++++ webview-ui/src/i18n/locales/zh-CN/welcome.json | 4 ++++ webview-ui/src/i18n/locales/zh-TW/welcome.json | 4 ++++ 26 files changed, 85 insertions(+), 3 deletions(-) diff --git a/packages/types/src/providers/vercel-ai-gateway.ts b/packages/types/src/providers/vercel-ai-gateway.ts index 47f17ecd96..70cf49b419 100644 --- a/packages/types/src/providers/vercel-ai-gateway.ts +++ b/packages/types/src/providers/vercel-ai-gateway.ts @@ -87,7 +87,7 @@ export const VERCEL_AI_GATEWAY_VISION_AND_TOOLS_MODELS = new Set([ export const vercelAiGatewayDefaultModelInfo: ModelInfo = { maxTokens: 64000, - contextWindow: 128000, + contextWindow: 200000, supportsImages: true, supportsComputerUse: true, supportsPromptCache: true, @@ -99,4 +99,4 @@ export const vercelAiGatewayDefaultModelInfo: ModelInfo = { "Claude Sonnet 4 significantly improves on Sonnet 3.7's industry-leading capabilities, excelling in coding with a state-of-the-art 72.7% on SWE-bench. The model balances performance and efficiency for internal and external use cases, with enhanced steerability for greater control over implementations. While not matching Opus 4 in most domains, it delivers an optimal mix of capability and practicality.", } -export const VERCEL_AI_GATEWAY_DEFAULT_TEMPERATURE = 0 +export const VERCEL_AI_GATEWAY_DEFAULT_TEMPERATURE = 0.7 diff --git a/webview-ui/src/i18n/locales/ca/settings.json b/webview-ui/src/i18n/locales/ca/settings.json index 977ccaeec9..40209cc68c 100644 --- a/webview-ui/src/i18n/locales/ca/settings.json +++ b/webview-ui/src/i18n/locales/ca/settings.json @@ -233,6 +233,8 @@ "awsCustomArnDesc": "Assegureu-vos que la regió a l'ARN coincideix amb la regió d'AWS seleccionada anteriorment.", "openRouterApiKey": "Clau API d'OpenRouter", "getOpenRouterApiKey": "Obtenir clau API d'OpenRouter", + "vercelAiGatewayApiKey": "Clau API de Vercel AI Gateway", + "getVercelAiGatewayApiKey": "Obtenir clau API de Vercel AI Gateway", "apiKeyStorageNotice": "Les claus API s'emmagatzemen de forma segura a l'Emmagatzematge Secret de VSCode", "glamaApiKey": "Clau API de Glama", "getGlamaApiKey": "Obtenir clau API de Glama", diff --git a/webview-ui/src/i18n/locales/ca/welcome.json b/webview-ui/src/i18n/locales/ca/welcome.json index 8ef62ea205..97a786632e 100644 --- a/webview-ui/src/i18n/locales/ca/welcome.json +++ b/webview-ui/src/i18n/locales/ca/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "Una interfície unificada per a LLMs" + }, + "vercelAiGateway": { + "description": "La passarel·la d'IA per a desenvolupadors", + "incentive": "$5 de crèdits gratuïts per utilitzar amb qualsevol model" } }, "chooseProvider": "Per fer la seva màgia, Roo necessita una clau API.", diff --git a/webview-ui/src/i18n/locales/de/welcome.json b/webview-ui/src/i18n/locales/de/welcome.json index 8b322380df..dc9944dd4f 100644 --- a/webview-ui/src/i18n/locales/de/welcome.json +++ b/webview-ui/src/i18n/locales/de/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "Eine einheitliche Schnittstelle für LLMs" + }, + "vercelAiGateway": { + "description": "Das AI-Gateway für Entwickler", + "incentive": "$5 kostenlose Credits für die Nutzung mit jedem Modell" } }, "chooseProvider": "Um seine Magie zu entfalten, benötigt Roo einen API-Schlüssel.", diff --git a/webview-ui/src/i18n/locales/en/settings.json b/webview-ui/src/i18n/locales/en/settings.json index d93b1d2df6..694a8be68f 100644 --- a/webview-ui/src/i18n/locales/en/settings.json +++ b/webview-ui/src/i18n/locales/en/settings.json @@ -760,7 +760,7 @@ } }, "modelPicker": { - "automaticFetch": "Note: Free tier users will see $0 costs as these requests are provided at no charge by Vercel AI Gateway.", + "automaticFetch": "The extension automatically fetches the latest list of models available on {{serviceName}}. If you're unsure which model to choose, Roo Code works best with {{defaultModelId}}. You can also try searching \"free\" for no-cost options currently available", "label": "Model", "searchPlaceholder": "Search", "noMatchFound": "No match found", diff --git a/webview-ui/src/i18n/locales/es/welcome.json b/webview-ui/src/i18n/locales/es/welcome.json index d4f3a20e08..df10daae25 100644 --- a/webview-ui/src/i18n/locales/es/welcome.json +++ b/webview-ui/src/i18n/locales/es/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "Una interfaz unificada para LLMs" + }, + "vercelAiGateway": { + "description": "La pasarela de IA para desarrolladores", + "incentive": "$5 de créditos gratuitos para usar con cualquier modelo" } }, "chooseProvider": "Para hacer su magia, Roo necesita una clave API.", diff --git a/webview-ui/src/i18n/locales/fr/welcome.json b/webview-ui/src/i18n/locales/fr/welcome.json index 2e1ead38cb..78c3421463 100644 --- a/webview-ui/src/i18n/locales/fr/welcome.json +++ b/webview-ui/src/i18n/locales/fr/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "Une interface unifiée pour les LLMs" + }, + "vercelAiGateway": { + "description": "La passerelle IA pour les développeurs", + "incentive": "5 $ de crédits gratuits à utiliser avec n'importe quel modèle" } }, "chooseProvider": "Pour faire sa magie, Roo a besoin d'une clé API.", diff --git a/webview-ui/src/i18n/locales/hi/settings.json b/webview-ui/src/i18n/locales/hi/settings.json index 000b5f89b3..7690915412 100644 --- a/webview-ui/src/i18n/locales/hi/settings.json +++ b/webview-ui/src/i18n/locales/hi/settings.json @@ -233,6 +233,8 @@ "awsCustomArnDesc": "सुनिश्चित करें कि ARN में क्षेत्र ऊपर चयनित AWS क्षेत्र से मेल खाता है।", "openRouterApiKey": "OpenRouter API कुंजी", "getOpenRouterApiKey": "OpenRouter API कुंजी प्राप्त करें", + "vercelAiGatewayApiKey": "Vercel AI Gateway API कुंजी", + "getVercelAiGatewayApiKey": "Vercel AI Gateway API कुंजी प्राप्त करें", "apiKeyStorageNotice": "API कुंजियाँ VSCode के सुरक्षित स्टोरेज में सुरक्षित रूप से संग्रहीत हैं", "glamaApiKey": "Glama API कुंजी", "getGlamaApiKey": "Glama API कुंजी प्राप्त करें", diff --git a/webview-ui/src/i18n/locales/hi/welcome.json b/webview-ui/src/i18n/locales/hi/welcome.json index e8ef257f48..ce96d6df3b 100644 --- a/webview-ui/src/i18n/locales/hi/welcome.json +++ b/webview-ui/src/i18n/locales/hi/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "LLMs के लिए एक एकीकृत इंटरफेस" + }, + "vercelAiGateway": { + "description": "डेवलपर्स के लिए AI गेटवे", + "incentive": "किसी भी मॉडल के साथ उपयोग के लिए $5 मुफ्त क्रेडिट" } }, "chooseProvider": "अपना जादू दिखाने के लिए, Roo को एक API कुंजी की आवश्यकता है।", diff --git a/webview-ui/src/i18n/locales/id/settings.json b/webview-ui/src/i18n/locales/id/settings.json index 0af73ecda9..83f3dd39be 100644 --- a/webview-ui/src/i18n/locales/id/settings.json +++ b/webview-ui/src/i18n/locales/id/settings.json @@ -237,6 +237,8 @@ "awsCustomArnDesc": "Pastikan region di ARN cocok dengan AWS Region yang kamu pilih di atas.", "openRouterApiKey": "OpenRouter API Key", "getOpenRouterApiKey": "Dapatkan OpenRouter API Key", + "vercelAiGatewayApiKey": "Vercel AI Gateway API Key", + "getVercelAiGatewayApiKey": "Dapatkan Vercel AI Gateway API Key", "apiKeyStorageNotice": "API key disimpan dengan aman di Secret Storage VSCode", "glamaApiKey": "Glama API Key", "getGlamaApiKey": "Dapatkan Glama API Key", diff --git a/webview-ui/src/i18n/locales/id/welcome.json b/webview-ui/src/i18n/locales/id/welcome.json index b1d6d71c80..b3fff69f78 100644 --- a/webview-ui/src/i18n/locales/id/welcome.json +++ b/webview-ui/src/i18n/locales/id/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "Interface terpadu untuk LLM" + }, + "vercelAiGateway": { + "description": "Gateway AI untuk Developer", + "incentive": "$5 kredit gratis untuk digunakan dengan model apa pun" } }, "chooseProvider": "Untuk melakukan keajaibannya, Roo membutuhkan API key.", diff --git a/webview-ui/src/i18n/locales/it/welcome.json b/webview-ui/src/i18n/locales/it/welcome.json index caa5f3e1d1..887997aff6 100644 --- a/webview-ui/src/i18n/locales/it/welcome.json +++ b/webview-ui/src/i18n/locales/it/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "Un'interfaccia unificata per LLMs" + }, + "vercelAiGateway": { + "description": "Il Gateway AI per sviluppatori", + "incentive": "$5 di crediti gratuiti da utilizzare con qualsiasi modello" } }, "chooseProvider": "Per fare la sua magia, Roo ha bisogno di una chiave API.", diff --git a/webview-ui/src/i18n/locales/ja/welcome.json b/webview-ui/src/i18n/locales/ja/welcome.json index bc4bad4918..a2feabac9e 100644 --- a/webview-ui/src/i18n/locales/ja/welcome.json +++ b/webview-ui/src/i18n/locales/ja/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "LLMsのための統一インターフェース" + }, + "vercelAiGateway": { + "description": "開発者向けAIゲートウェイ", + "incentive": "どのモデルでも使える5ドルの無料クレジット" } }, "chooseProvider": "Rooが機能するには、APIキーが必要です。", diff --git a/webview-ui/src/i18n/locales/ko/welcome.json b/webview-ui/src/i18n/locales/ko/welcome.json index 7637cf3d42..5773b8652f 100644 --- a/webview-ui/src/i18n/locales/ko/welcome.json +++ b/webview-ui/src/i18n/locales/ko/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "LLM을 위한 통합 인터페이스" + }, + "vercelAiGateway": { + "description": "개발자를 위한 AI 게이트웨이", + "incentive": "모든 모델에 사용할 수 있는 $5 무료 크레딧" } }, "chooseProvider": "Roo가 작동하려면 API 키가 필요합니다.", diff --git a/webview-ui/src/i18n/locales/nl/settings.json b/webview-ui/src/i18n/locales/nl/settings.json index ca2024522e..816ea37b96 100644 --- a/webview-ui/src/i18n/locales/nl/settings.json +++ b/webview-ui/src/i18n/locales/nl/settings.json @@ -233,6 +233,8 @@ "awsCustomArnDesc": "Zorg ervoor dat de regio in de ARN overeenkomt met je geselecteerde AWS-regio hierboven.", "openRouterApiKey": "OpenRouter API-sleutel", "getOpenRouterApiKey": "OpenRouter API-sleutel ophalen", + "vercelAiGatewayApiKey": "Vercel AI Gateway API-sleutel", + "getVercelAiGatewayApiKey": "Vercel AI Gateway API-sleutel ophalen", "apiKeyStorageNotice": "API-sleutels worden veilig opgeslagen in de geheime opslag van VSCode", "glamaApiKey": "Glama API-sleutel", "getGlamaApiKey": "Glama API-sleutel ophalen", diff --git a/webview-ui/src/i18n/locales/nl/welcome.json b/webview-ui/src/i18n/locales/nl/welcome.json index c07d9c5ace..6e1cae6a2c 100644 --- a/webview-ui/src/i18n/locales/nl/welcome.json +++ b/webview-ui/src/i18n/locales/nl/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "Een uniforme interface voor LLM's" + }, + "vercelAiGateway": { + "description": "De AI Gateway voor ontwikkelaars", + "incentive": "$5 gratis tegoed om te gebruiken met elk model" } }, "chooseProvider": "Om zijn magie te doen, heeft Roo een API-sleutel nodig.", diff --git a/webview-ui/src/i18n/locales/pl/settings.json b/webview-ui/src/i18n/locales/pl/settings.json index 25b04078bb..2da116c79e 100644 --- a/webview-ui/src/i18n/locales/pl/settings.json +++ b/webview-ui/src/i18n/locales/pl/settings.json @@ -233,6 +233,8 @@ "awsCustomArnDesc": "Upewnij się, że region w ARN odpowiada wybranemu powyżej regionowi AWS.", "openRouterApiKey": "Klucz API OpenRouter", "getOpenRouterApiKey": "Uzyskaj klucz API OpenRouter", + "vercelAiGatewayApiKey": "Klucz API Vercel AI Gateway", + "getVercelAiGatewayApiKey": "Uzyskaj klucz API Vercel AI Gateway", "apiKeyStorageNotice": "Klucze API są bezpiecznie przechowywane w Tajnym Magazynie VSCode", "glamaApiKey": "Klucz API Glama", "getGlamaApiKey": "Uzyskaj klucz API Glama", diff --git a/webview-ui/src/i18n/locales/pl/welcome.json b/webview-ui/src/i18n/locales/pl/welcome.json index 5794dced84..f3e865a3ce 100644 --- a/webview-ui/src/i18n/locales/pl/welcome.json +++ b/webview-ui/src/i18n/locales/pl/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "Ujednolicony interfejs dla LLMs" + }, + "vercelAiGateway": { + "description": "Brama AI dla deweloperów", + "incentive": "$5 darmowych środków do użycia z dowolnym modelem" } }, "chooseProvider": "Aby działać, Roo potrzebuje klucza API.", diff --git a/webview-ui/src/i18n/locales/pt-BR/welcome.json b/webview-ui/src/i18n/locales/pt-BR/welcome.json index 1c0dec8ca0..95fc46f7f2 100644 --- a/webview-ui/src/i18n/locales/pt-BR/welcome.json +++ b/webview-ui/src/i18n/locales/pt-BR/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "Uma interface unificada para LLMs" + }, + "vercelAiGateway": { + "description": "O Gateway de IA para desenvolvedores", + "incentive": "$5 de créditos gratuitos para usar com qualquer modelo" } }, "chooseProvider": "Para fazer sua mágica, o Roo precisa de uma chave API.", diff --git a/webview-ui/src/i18n/locales/ru/welcome.json b/webview-ui/src/i18n/locales/ru/welcome.json index cae5b790e7..37f1d6596e 100644 --- a/webview-ui/src/i18n/locales/ru/welcome.json +++ b/webview-ui/src/i18n/locales/ru/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "Унифицированный интерфейс для LLM" + }, + "vercelAiGateway": { + "description": "AI-шлюз для разработчиков", + "incentive": "$5 бесплатных кредитов для использования с любой моделью" } }, "chooseProvider": "Для своей магии Roo нуждается в API-ключе.", diff --git a/webview-ui/src/i18n/locales/tr/settings.json b/webview-ui/src/i18n/locales/tr/settings.json index 1bcaa7def5..3813b3db17 100644 --- a/webview-ui/src/i18n/locales/tr/settings.json +++ b/webview-ui/src/i18n/locales/tr/settings.json @@ -233,6 +233,8 @@ "awsCustomArnDesc": "ARN içindeki bölgenin yukarıda seçilen AWS Bölgesiyle eşleştiğinden emin olun.", "openRouterApiKey": "OpenRouter API Anahtarı", "getOpenRouterApiKey": "OpenRouter API Anahtarı Al", + "vercelAiGatewayApiKey": "Vercel AI Gateway API Anahtarı", + "getVercelAiGatewayApiKey": "Vercel AI Gateway API Anahtarı Al", "apiKeyStorageNotice": "API anahtarları VSCode'un Gizli Depolamasında güvenli bir şekilde saklanır", "glamaApiKey": "Glama API Anahtarı", "getGlamaApiKey": "Glama API Anahtarı Al", diff --git a/webview-ui/src/i18n/locales/tr/welcome.json b/webview-ui/src/i18n/locales/tr/welcome.json index 5f989fa75d..be3e685545 100644 --- a/webview-ui/src/i18n/locales/tr/welcome.json +++ b/webview-ui/src/i18n/locales/tr/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "LLM'ler için birleşik bir arayüz" + }, + "vercelAiGateway": { + "description": "Geliştiriciler için AI Gateway", + "incentive": "Herhangi bir modelle kullanım için $5 ücretsiz kredi" } }, "chooseProvider": "Sihirini yapabilmesi için Roo'nun bir API anahtarına ihtiyacı var.", diff --git a/webview-ui/src/i18n/locales/vi/settings.json b/webview-ui/src/i18n/locales/vi/settings.json index b8cbb8c571..3e1cfd7422 100644 --- a/webview-ui/src/i18n/locales/vi/settings.json +++ b/webview-ui/src/i18n/locales/vi/settings.json @@ -233,6 +233,8 @@ "awsCustomArnDesc": "Đảm bảo rằng vùng trong ARN khớp với vùng AWS đã chọn ở trên.", "openRouterApiKey": "Khóa API OpenRouter", "getOpenRouterApiKey": "Lấy khóa API OpenRouter", + "vercelAiGatewayApiKey": "Khóa API Vercel AI Gateway", + "getVercelAiGatewayApiKey": "Lấy khóa API Vercel AI Gateway", "apiKeyStorageNotice": "Khóa API được lưu trữ an toàn trong Bộ lưu trữ bí mật của VSCode", "glamaApiKey": "Khóa API Glama", "getGlamaApiKey": "Lấy khóa API Glama", diff --git a/webview-ui/src/i18n/locales/vi/welcome.json b/webview-ui/src/i18n/locales/vi/welcome.json index 6eb484eb89..49acdef96e 100644 --- a/webview-ui/src/i18n/locales/vi/welcome.json +++ b/webview-ui/src/i18n/locales/vi/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "Giao diện thống nhất cho các LLM" + }, + "vercelAiGateway": { + "description": "Cổng AI dành cho nhà phát triển", + "incentive": "$5 tín dụng miễn phí để sử dụng với bất kỳ mô hình nào" } }, "chooseProvider": "Để thực hiện phép màu của mình, Roo cần một khóa API.", diff --git a/webview-ui/src/i18n/locales/zh-CN/welcome.json b/webview-ui/src/i18n/locales/zh-CN/welcome.json index 690a6aa199..d180ce2622 100644 --- a/webview-ui/src/i18n/locales/zh-CN/welcome.json +++ b/webview-ui/src/i18n/locales/zh-CN/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "统一了大语言模型的接口" + }, + "vercelAiGateway": { + "description": "面向开发者的 AI 网关", + "incentive": "5美元免费额度,可用于任何模型" } }, "chooseProvider": "Roo 需要一个 API 密钥才能发挥魔力。", diff --git a/webview-ui/src/i18n/locales/zh-TW/welcome.json b/webview-ui/src/i18n/locales/zh-TW/welcome.json index 2384d4f3e9..cb36c45207 100644 --- a/webview-ui/src/i18n/locales/zh-TW/welcome.json +++ b/webview-ui/src/i18n/locales/zh-TW/welcome.json @@ -10,6 +10,10 @@ }, "openrouter": { "description": "LLM 的統一介面" + }, + "vercelAiGateway": { + "description": "面向開發者的 AI 閘道", + "incentive": "5美元免費額度,可用於任何模型" } }, "chooseProvider": "Roo 需要 API 金鑰才能發揮魔力。",