{$t('total_usage').toUpperCase()}

{$t('photos').toUpperCase()}

{zeros(stats.photos)}{stats.photos}

{$t('videos').toUpperCase()}

{zeros(stats.videos)}{stats.videos}

{$t('storage').toUpperCase()}

{zeros(statsUsage)}{statsUsage} {statsUsageUnit}

{$t('user_usage_detail').toUpperCase()}

{#each stats.usageByUser as user (user.userId)} {/each}
{$t('user')} {$t('photos')} {$t('videos')} {$t('usage')}
{user.userName} {user.photos.toLocaleString($locale)} {user.videos.toLocaleString($locale)} {getByteUnitString(user.usage, $locale, 0)} {#if user.quotaSizeInBytes} / {getByteUnitString(user.quotaSizeInBytes, $locale, 0)} {/if} {#if user.quotaSizeInBytes} ({(user.usage / user.quotaSizeInBytes).toLocaleString($locale, { style: 'percent', maximumFractionDigits: 0, })}) {:else} ({$t('unlimited')}) {/if}