mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-25 06:47:37 -05:00
refac
This commit is contained in:
1 parent
e1855444ae
commit
a762df830b
4 files changed
+6
-12
No files matched your search
@@ -395,7 +395,7 @@
|
||||
>
|
||||
{#if item.context === 'full'}
|
||||
<span class="hidden shrink-0 text-xs text-base-400 @md:block dark:text-base-500"
|
||||
>{$i18n.t('Using Entire Document')}</span
|
||||
>{$i18n.t('Full text')}</span
|
||||
>
|
||||
{/if}
|
||||
</button>
|
||||
|
||||
@@ -67,15 +67,11 @@
|
||||
)}
|
||||
>
|
||||
<div class="flex items-center gap-1.5 text-xs">
|
||||
{#if enableFullContent}
|
||||
{$i18n.t('Using Entire Document')}
|
||||
{:else}
|
||||
{$i18n.t('Using Focused Retrieval')}
|
||||
{/if}
|
||||
{$i18n.t('Full text')}
|
||||
{#if !automaticFullContent}
|
||||
<Switch
|
||||
bind:state={enableFullContent}
|
||||
ariaLabel={$i18n.t('Using Entire Document')}
|
||||
ariaLabel={$i18n.t('Full text')}
|
||||
on:change={(e) => {
|
||||
item.context = e.detail ? 'full' : undefined;
|
||||
onChange();
|
||||
|
||||
@@ -2106,9 +2106,7 @@
|
||||
type="button"
|
||||
>
|
||||
<span id="default-upload-mode-state">
|
||||
{defaultUploadContext === 'full'
|
||||
? $i18n.t('Using Entire Document')
|
||||
: $i18n.t('Using Focused Retrieval')}
|
||||
{defaultUploadContext === 'full' ? $i18n.t('Full text') : $i18n.t('Relevant passages')}
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -1730,6 +1730,7 @@
|
||||
"Fri": "",
|
||||
"from {{provider}}": "",
|
||||
"Full access": "",
|
||||
"Full text": "",
|
||||
"Full text is always enabled by your administrator.": "",
|
||||
"Function created successfully": "",
|
||||
"Function deleted successfully": "",
|
||||
@@ -2853,6 +2854,7 @@
|
||||
"Release Notes": "",
|
||||
"Releases": "",
|
||||
"Relevance": "",
|
||||
"Relevant passages": "",
|
||||
"Reload": "",
|
||||
"Reload latest": "",
|
||||
"Reload preview": "",
|
||||
@@ -4999,8 +5001,6 @@
|
||||
"Uses the left working copy as your prompt.": "",
|
||||
"Uses the proposed revision as your prompt.": "",
|
||||
"Using default prompt suggestions": "Using default prompt suggestions",
|
||||
"Using Entire Document": "",
|
||||
"Using Focused Retrieval": "",
|
||||
"value": "",
|
||||
"Value": "",
|
||||
"Valves": "",
|
||||
|
||||
Reference in new issue
Block a user