{#if type} {$locale({ values: { type, percent: percent ? ` ${percent}%` : '' } }).common?.loading ?? `Loading ${type} ...${percent ? ` ${percent}%` : ''}`} {:else} {/if}