Merge branch 'tusooa/backup-state' into 'develop'
Display detailed backup state See merge request pleroma/pleroma-fe!1715
This commit is contained in:
commit
4361e15377
2 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
>
|
||||
|
|
|
@ -391,6 +391,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",
|
||||
|
|
Loading…
Reference in a new issue