refac
This commit is contained in:
1 parent
6c14ba1fb4
commit
51dd488417
1 file changed
+5
-4
@@ -138,13 +138,13 @@
|
|||||||
{$i18n.t('Do you want to sync your usage stats with Open WebUI Community?')}
|
{$i18n.t('Do you want to sync your usage stats with Open WebUI Community?')}
|
||||||
</div>
|
</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(
|
{$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.'
|
'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>
|
||||||
|
|
||||||
<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">
|
<div class="font-medium text-gray-900 dark:text-gray-100 mb-1">
|
||||||
{$i18n.t('What is shared:')}
|
{$i18n.t('What is shared:')}
|
||||||
</div>
|
</div>
|
||||||
@@ -168,7 +168,7 @@
|
|||||||
|
|
||||||
{#if loading}
|
{#if loading}
|
||||||
<div class="mt-3">
|
<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>{$i18n.t('Syncing stats...')}</div>
|
||||||
<div>{Math.round((processedItemsCount / total) * 100) || 0}%</div>
|
<div>{Math.round((processedItemsCount / total) * 100) || 0}%</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -194,10 +194,11 @@
|
|||||||
on:click={syncStats}
|
on:click={syncStats}
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
>
|
>
|
||||||
|
{$i18n.t('Sync')}
|
||||||
|
|
||||||
{#if loading}
|
{#if loading}
|
||||||
<Spinner className="size-4" />
|
<Spinner className="size-4" />
|
||||||
{/if}
|
{/if}
|
||||||
{$i18n.t('Sync')}
|
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user