Display detailed backup state

This commit is contained in:
tusooa 2022-12-24 11:58:33 -05:00
parent 25e628efe2
commit 78690cdf51
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
2 changed files with 12 additions and 0 deletions

View file

@ -77,6 +77,16 @@
>
{{ $t('settings.download_backup') }}
</a>
<span
v-else-if="backup.state === 'running'"
>
{{ $tc('settings.backup_running', backup.processed_number, { number: backup.processed_number }) }}
</span>
<span
v-else-if="backup.state === 'failed'"
>
{{ $t('settings.backup_failed') }}
</span>
<span
v-else
>

View file

@ -390,6 +390,8 @@
"account_backup_table_head": "Backup",
"download_backup": "Download",
"backup_not_ready": "This backup is not ready yet.",
"backup_running": "This backup is in progress, processed {number} record. | This backup is in progress, processed {number} records.",
"backup_failed": "This backup has failed.",
"remove_backup": "Remove",
"list_backups_error": "Error fetching backup list: {error}",
"add_backup": "Create a new backup",