{#if completed}
{$i18n.t('Sync Complete!')}
{$i18n.t('Your usage stats have been successfully synced with the Open WebUI Community.')}
{:else}
{$i18n.t('Sync Usage Stats')}
{$i18n.t('Do you want to sync your usage stats with Open WebUI Community?')}
{$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.' )}
{$i18n.t('What is shared:')}
  • {$i18n.t('Open WebUI version')}
  • {$i18n.t('Model names and usage frequency')}
  • {$i18n.t('Message counts and response timestamps')}
  • {$i18n.t('Content lengths (character counts only)')}
  • {$i18n.t('User ratings (thumbs up/down)')}
{$i18n.t('What is NOT shared:')}
  • {$i18n.t('Your message text or inputs')}
  • {$i18n.t('Model responses or outputs')}
  • {$i18n.t('Uploaded files or images')}
{#if syncing}
{downloading ? $i18n.t('Downloading stats...') : $i18n.t('Syncing stats...')}
{Math.round((processedItemsCount / total) * 100) || 0}%
{/if}
{/if}