From 1092827895b5bb0cf68c54d653db6649de409299 Mon Sep 17 00:00:00 2001 From: _00_ <131402327+rgaricano@users.noreply.github.com> Date: Tue, 15 Jul 2025 13:55:49 +0200 Subject: [PATCH 1/2] Fix some FileItemModal.svelte- locales strings convert strings "Using Entire Document" and "Using Focused Retrieval" to i18n locales, to address issue: https://github.com/open-webui/open-webui/issues/15728 --- src/lib/components/common/FileItemModal.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/common/FileItemModal.svelte b/src/lib/components/common/FileItemModal.svelte index 0858fc87a..b2373ff29 100644 --- a/src/lib/components/common/FileItemModal.svelte +++ b/src/lib/components/common/FileItemModal.svelte @@ -133,9 +133,9 @@ >
{#if enableFullContent} - Using Entire Document + $i18n.t('Using Entire Document') {:else} - Using Focused Retrieval + $i18n.t(`Using Focused Retrieval') {/if} Date: Tue, 15 Jul 2025 14:05:10 +0200 Subject: [PATCH 2/2] fix: update FileItemModal.svelte- locales strings add strings "Using Entire Document" and "Using Focused Retrieval" to i18n locales, to address issue: #15728 --- src/lib/i18n/locales/en-US/translation.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/i18n/locales/en-US/translation.json b/src/lib/i18n/locales/en-US/translation.json index 01669336f..40ebaf0dd 100644 --- a/src/lib/i18n/locales/en-US/translation.json +++ b/src/lib/i18n/locales/en-US/translation.json @@ -1396,6 +1396,8 @@ "User Webhooks": "", "Username": "", "Users": "", + "Using Entire Document": "", + "Using Focused Retrieval": "", "Using the default arena model with all models. Click the plus button to add custom models.": "", "Utilize": "", "Valid time units:": "",