diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ca694e65..05c9f369c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- **🌐 Translation Update**: Added translation labels in the SearchInput and CreateCollection components and updated Brazilian Portuguese translation (pt-BR) - **📁 Robust File Handling**: Enhanced file input handling for chat. If the content extraction fails or is empty, users will now receive a clear warning, preventing silent failures and ensuring you always know what's happening with your uploads. - **🌍 New Language Support**: Introduced Hungarian translations and updated French translations, expanding the platform's language accessibility for a more global user base. diff --git a/src/lib/components/layout/Sidebar/SearchInput.svelte b/src/lib/components/layout/Sidebar/SearchInput.svelte index 608ba7ce0..883cc7e65 100644 --- a/src/lib/components/layout/Sidebar/SearchInput.svelte +++ b/src/lib/components/layout/Sidebar/SearchInput.svelte @@ -182,7 +182,9 @@ {/each} {:else if filteredOptions.length > 0} -
Search options
+
+ {$i18n.t('Search options')} +
{#each filteredOptions as option, optionIdx} diff --git a/src/lib/components/workspace/Knowledge/CreateCollection.svelte b/src/lib/components/workspace/Knowledge/CreateCollection.svelte index e078f4be3..89aaca30c 100644 --- a/src/lib/components/workspace/Knowledge/CreateCollection.svelte +++ b/src/lib/components/workspace/Knowledge/CreateCollection.svelte @@ -68,32 +68,34 @@ }} >
-
Create a knowledge base
+
+ {$i18n.t('Create a knowledge base')} +
-
What are you working on?
+
{$i18n.t('What are you working on?')}
-
What are you trying to achieve?
+
{$i18n.t('What are you trying to achieve?')}