mirror of
https://github.com/open-webui/open-webui.git
synced 2026-01-02 14:45:18 +00:00
refac
This commit is contained in:
parent
6c14ba1fb4
commit
51dd488417
1 changed files with 5 additions and 4 deletions
|
|
@ -138,13 +138,13 @@
|
|||
{$i18n.t('Do you want to sync your usage stats with Open WebUI Community?')}
|
||||
</div>
|
||||
|
||||
<div class="mt-2 text-xs text-gray-400 dark:text-gray-500">
|
||||
<div class="mt-2 text-xs text-gray-500">
|
||||
{$i18n.t(
|
||||
'Participate in community leaderboards and evaluations! Syncing aggregated usage stats helps drive research and improvements to Open WebUI. Your privacy is paramount: no message content is ever shared.'
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div class="mt-3 text-xs text-gray-400 dark:text-gray-500">
|
||||
<div class="mt-3 text-xs text-gray-500">
|
||||
<div class="font-medium text-gray-900 dark:text-gray-100 mb-1">
|
||||
{$i18n.t('What is shared:')}
|
||||
</div>
|
||||
|
|
@ -168,7 +168,7 @@
|
|||
|
||||
{#if loading}
|
||||
<div class="mt-3">
|
||||
<div class="text-xs text-gray-400 dark:text-gray-500 mb-1 flex justify-between">
|
||||
<div class="text-xs text-gray-500 mb-1 flex justify-between">
|
||||
<div>{$i18n.t('Syncing stats...')}</div>
|
||||
<div>{Math.round((processedItemsCount / total) * 100) || 0}%</div>
|
||||
</div>
|
||||
|
|
@ -194,10 +194,11 @@
|
|||
on:click={syncStats}
|
||||
disabled={loading}
|
||||
>
|
||||
{$i18n.t('Sync')}
|
||||
|
||||
{#if loading}
|
||||
<Spinner className="size-4" />
|
||||
{/if}
|
||||
{$i18n.t('Sync')}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue