Skip to content

Commit 27812a9

Browse files
committed
fix: internationalize hardcoded strings in Jina embedder
- Replace hardcoded "Base64/binary embeddings are not supported" with t("embeddings:unsupportedEmbeddingFormat") - Replace hardcoded "Unknown error" with t("embeddings:unknownError") - Add "unsupportedEmbeddingFormat" translation key to all supported languages - Add missing "jinaConfigMissing" translation key to backend embeddings.json files This fixes hardcoded strings that were found during translation review of the Jina embedder implementation.
1 parent b56695e commit 27812a9

File tree

19 files changed

+23
-2
lines changed

19 files changed

+23
-2
lines changed

src/i18n/locales/ca/embeddings.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/de/embeddings.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/en/embeddings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"geminiConfigMissing": "Gemini configuration missing for embedder creation",
4949
"mistralConfigMissing": "Mistral configuration missing for embedder creation",
5050
"jinaConfigMissing": "Jina configuration missing for embedder creation",
51+
"unsupportedEmbeddingFormat": "Base64/binary embeddings are not supported",
5152
"invalidEmbedderType": "Invalid embedder type configured: {{embedderProvider}}",
5253
"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.",
5354
"vectorDimensionNotDetermined": "Could not determine vector dimension for model '{{modelId}}' with provider '{{provider}}'. Check model profiles or configuration.",

src/i18n/locales/es/embeddings.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/fr/embeddings.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/hi/embeddings.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/id/embeddings.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/it/embeddings.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/ja/embeddings.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/ko/embeddings.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)