Merge pull request #8130 from open-webui/dev

refac
This commit is contained in:
Timothy Jaeryang Baek 2024-12-27 00:06:41 -08:00 committed by GitHub
commit 4e4e2792b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -543,8 +543,12 @@
{$i18n.t(status?.description, {
count: status?.urls.length
})}
{:else if status?.description === 'No search query generated'}
{$i18n.t('No search query generated')}
{:else if status?.description === 'Generating search query'}
{$i18n.t('Generating search query')}
{:else}
{$i18n.t(status?.description)}
{status?.description}
{/if}
</div>
</div>
@ -573,8 +577,12 @@
{$i18n.t(status?.description, {
searchQuery: status?.query
})}
{:else if status?.description === 'No search query generated'}
{$i18n.t('No search query generated')}
{:else if status?.description === 'Generating search query'}
{$i18n.t('Generating search query')}
{:else}
{$i18n.t(status?.description)}
{status?.description}
{/if}
</div>
</div>