mirror of
https://github.com/immich-app/immich.git
synced 2026-02-24 04:00:24 -05:00
refactor: don't use template string with $t
This commit is contained in:
parent
168e355b22
commit
7f9999cc44
@ -44,8 +44,11 @@
|
||||
<Button onclick={end}>{$t('maintenance_end')}</Button>
|
||||
{:else}
|
||||
<ProgressBar progress={$status.progress || 0} />
|
||||
{#if $status.task !== 'ready'}
|
||||
<Text>{$t(`maintenance_task_${$status.task as 'backup' | 'restore'}`)}</Text>
|
||||
{#if $status.task === 'backup'}
|
||||
<Text>{$t('maintenance_task_backup')}</Text>
|
||||
{/if}
|
||||
{#if $status.task === 'restore'}
|
||||
<Text>{$t('maintenance_task_restore')}</Text>
|
||||
{/if}
|
||||
{/if}
|
||||
{:else if $status?.action === MaintenanceAction.RestoreDatabase && $auth}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user