From bc255efcff70edb4edba6c7679ec46660850503f Mon Sep 17 00:00:00 2001 From: Roo Code Date: Wed, 30 Jul 2025 14:51:26 +0000 Subject: [PATCH] fix: add missing Jina translations for API key fields - Add missing Jina provider translations to English base files - Add jinaProvider, jinaApiKeyLabel, jinaApiKeyPlaceholder to settings.json - Add jinaApiKeyRequired validation message to settings.json - Add jinaConfigMissing error message to embeddings.json - Complete missing translations in ca, id, pt-BR, ru, zh-TW locales - All translation checks now pass successfully --- src/i18n/locales/en/embeddings.json | 1 + webview-ui/src/i18n/locales/ca/settings.json | 3 +++ webview-ui/src/i18n/locales/en/settings.json | 4 ++++ webview-ui/src/i18n/locales/id/settings.json | 3 +++ webview-ui/src/i18n/locales/pt-BR/settings.json | 3 +++ webview-ui/src/i18n/locales/ru/settings.json | 3 +++ webview-ui/src/i18n/locales/zh-TW/settings.json | 3 +++ 7 files changed, 20 insertions(+) diff --git a/src/i18n/locales/en/embeddings.json b/src/i18n/locales/en/embeddings.json index 66465d8c35..58fe71e3ed 100644 --- a/src/i18n/locales/en/embeddings.json +++ b/src/i18n/locales/en/embeddings.json @@ -47,6 +47,7 @@ "openAiCompatibleConfigMissing": "OpenAI Compatible configuration missing for embedder creation", "geminiConfigMissing": "Gemini configuration missing for embedder creation", "mistralConfigMissing": "Mistral configuration missing for embedder creation", + "jinaConfigMissing": "Jina configuration missing for embedder creation", "invalidEmbedderType": "Invalid embedder type configured: {{embedderProvider}}", "vectorDimensionNotDeterminedOpenAiCompatible": "Could not determine vector dimension for model '{{modelId}}' with provider '{{provider}}'. Please ensure the 'Embedding Dimension' is correctly set in the OpenAI-Compatible provider settings.", "vectorDimensionNotDetermined": "Could not determine vector dimension for model '{{modelId}}' with provider '{{provider}}'. Check model profiles or configuration.", diff --git a/webview-ui/src/i18n/locales/ca/settings.json b/webview-ui/src/i18n/locales/ca/settings.json index 7e71fc628e..bf4628fcfe 100644 --- a/webview-ui/src/i18n/locales/ca/settings.json +++ b/webview-ui/src/i18n/locales/ca/settings.json @@ -50,6 +50,9 @@ "mistralProvider": "Mistral", "mistralApiKeyLabel": "Clau de l'API:", "mistralApiKeyPlaceholder": "Introduïu la vostra clau de l'API de Mistral", + "jinaProvider": "Jina", + "jinaApiKeyLabel": "Clau de l'API:", + "jinaApiKeyPlaceholder": "Introduïu la vostra clau de l'API de Jina", "openaiCompatibleProvider": "Compatible amb OpenAI", "openAiKeyLabel": "Clau API OpenAI", "openAiKeyPlaceholder": "Introduïu la vostra clau API OpenAI", diff --git a/webview-ui/src/i18n/locales/en/settings.json b/webview-ui/src/i18n/locales/en/settings.json index 7c58e679c6..3cbe5d2405 100644 --- a/webview-ui/src/i18n/locales/en/settings.json +++ b/webview-ui/src/i18n/locales/en/settings.json @@ -55,6 +55,9 @@ "mistralProvider": "Mistral", "mistralApiKeyLabel": "API Key:", "mistralApiKeyPlaceholder": "Enter your Mistral API key", + "jinaProvider": "Jina", + "jinaApiKeyLabel": "API Key:", + "jinaApiKeyPlaceholder": "Enter your Jina API key", "openaiCompatibleProvider": "OpenAI Compatible", "openAiKeyLabel": "OpenAI API Key", "openAiKeyPlaceholder": "Enter your OpenAI API key", @@ -120,6 +123,7 @@ "modelDimensionRequired": "Model dimension is required", "geminiApiKeyRequired": "Gemini API key is required", "mistralApiKeyRequired": "Mistral API key is required", + "jinaApiKeyRequired": "Jina API key is required", "ollamaBaseUrlRequired": "Ollama base URL is required", "baseUrlRequired": "Base URL is required", "modelDimensionMinValue": "Model dimension must be greater than 0" diff --git a/webview-ui/src/i18n/locales/id/settings.json b/webview-ui/src/i18n/locales/id/settings.json index b2d8cfaee9..bc6f0d0eb4 100644 --- a/webview-ui/src/i18n/locales/id/settings.json +++ b/webview-ui/src/i18n/locales/id/settings.json @@ -50,6 +50,9 @@ "mistralProvider": "Mistral", "mistralApiKeyLabel": "Kunci API:", "mistralApiKeyPlaceholder": "Masukkan kunci API Mistral Anda", + "jinaProvider": "Jina", + "jinaApiKeyLabel": "Kunci API:", + "jinaApiKeyPlaceholder": "Masukkan kunci API Jina Anda", "openaiCompatibleProvider": "OpenAI Compatible", "openAiKeyLabel": "OpenAI API Key", "openAiKeyPlaceholder": "Masukkan kunci API OpenAI kamu", diff --git a/webview-ui/src/i18n/locales/pt-BR/settings.json b/webview-ui/src/i18n/locales/pt-BR/settings.json index e29473d845..b90a4933c1 100644 --- a/webview-ui/src/i18n/locales/pt-BR/settings.json +++ b/webview-ui/src/i18n/locales/pt-BR/settings.json @@ -50,6 +50,9 @@ "mistralProvider": "Mistral", "mistralApiKeyLabel": "Chave de API:", "mistralApiKeyPlaceholder": "Digite sua chave de API da Mistral", + "jinaProvider": "Jina", + "jinaApiKeyLabel": "Chave de API:", + "jinaApiKeyPlaceholder": "Digite sua chave de API da Jina", "openaiCompatibleProvider": "Compatível com OpenAI", "openAiKeyLabel": "Chave de API OpenAI", "openAiKeyPlaceholder": "Digite sua chave de API OpenAI", diff --git a/webview-ui/src/i18n/locales/ru/settings.json b/webview-ui/src/i18n/locales/ru/settings.json index f58d4ba66a..3daae99b30 100644 --- a/webview-ui/src/i18n/locales/ru/settings.json +++ b/webview-ui/src/i18n/locales/ru/settings.json @@ -50,6 +50,9 @@ "mistralProvider": "Mistral", "mistralApiKeyLabel": "Ключ API:", "mistralApiKeyPlaceholder": "Введите свой API-ключ Mistral", + "jinaProvider": "Jina", + "jinaApiKeyLabel": "Ключ API:", + "jinaApiKeyPlaceholder": "Введите свой API-ключ Jina", "openaiCompatibleProvider": "OpenAI-совместимый", "openAiKeyLabel": "Ключ API OpenAI", "openAiKeyPlaceholder": "Введите ваш ключ API OpenAI", diff --git a/webview-ui/src/i18n/locales/zh-TW/settings.json b/webview-ui/src/i18n/locales/zh-TW/settings.json index 6e99c62b29..3c7635bb32 100644 --- a/webview-ui/src/i18n/locales/zh-TW/settings.json +++ b/webview-ui/src/i18n/locales/zh-TW/settings.json @@ -50,6 +50,9 @@ "mistralProvider": "Mistral", "mistralApiKeyLabel": "API 金鑰:", "mistralApiKeyPlaceholder": "輸入您的 Mistral API 金鑰", + "jinaProvider": "Jina", + "jinaApiKeyLabel": "API 金鑰:", + "jinaApiKeyPlaceholder": "輸入您的 Jina API 金鑰", "openaiCompatibleProvider": "OpenAI 相容", "openAiKeyLabel": "OpenAI API 金鑰", "openAiKeyPlaceholder": "輸入您的 OpenAI API 金鑰",