{$t('total_usage')}

{$t('photos')}

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

{$t('videos')}

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

{$t('storage')}

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

{$t('user_usage_detail')}

{#each stats.usageByUser as user (user.userId)} {/each}
{$t('user')} {$t('photos')} {$t('videos')} {$t('usage')}
{user.userName} {user.photos.toLocaleString($locale)} ({getByteUnitString(user.usagePhotos, $locale, 0)}) {user.videos.toLocaleString($locale)} ({getByteUnitString(user.usageVideos, $locale, 0)}) {getByteUnitString(user.usage, $locale, 0)} {#if user.quotaSizeInBytes !== null} / {getByteUnitString(user.quotaSizeInBytes, $locale, 0)} {/if} {#if user.quotaSizeInBytes !== null && user.quotaSizeInBytes >= 0} ({(user.quotaSizeInBytes === 0 ? 1 : user.usage / user.quotaSizeInBytes).toLocaleString($locale, { style: 'percent', maximumFractionDigits: 0, })}) {:else} ({$t('unlimited')}) {/if}