{#if completed}
{$i18n.t('Sync Complete!')}
{$i18n.t('Your usage stats have been successfully synced.')}
{:else if error}
{$i18n.t('Sync Failed')}
{errorMessage || $i18n.t('There was an error syncing your stats. Please try again.')}
{: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 eventData?.lastSyncedChatUpdatedAt}
{/if} {#if syncing}
{downloading ? $i18n.t('Downloading stats...') : $i18n.t('Syncing stats...')}
{#if total > 0} {processedItemsCount}/{total} {/if}
{#if total > 0}
{:else}
{/if}
{/if}
{/if}