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
@ -77,6 +77,16 @@
|
|||||||
>
|
>
|
||||||
{{ $t('settings.download_backup') }}
|
{{ $t('settings.download_backup') }}
|
||||||
</a>
|
</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
|
<span
|
||||||
v-else
|
v-else
|
||||||
>
|
>
|
||||||
|
@ -391,6 +391,8 @@
|
|||||||
"account_backup_table_head": "Backup",
|
"account_backup_table_head": "Backup",
|
||||||
"download_backup": "Download",
|
"download_backup": "Download",
|
||||||
"backup_not_ready": "This backup is not ready yet.",
|
"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",
|
"remove_backup": "Remove",
|
||||||
"list_backups_error": "Error fetching backup list: {error}",
|
"list_backups_error": "Error fetching backup list: {error}",
|
||||||
"add_backup": "Create a new backup",
|
"add_backup": "Create a new backup",
|
||||||
|
Loading…
Reference in New Issue
Block a user