From 78690cdf518390308624b4914dd9be06858822e1 Mon Sep 17 00:00:00 2001 From: tusooa Date: Sat, 24 Dec 2022 11:58:33 -0500 Subject: [PATCH] Display detailed backup state --- .../settings_modal/tabs/data_import_export_tab.vue | 10 ++++++++++ src/i18n/en.json | 2 ++ 2 files changed, 12 insertions(+) diff --git a/src/components/settings_modal/tabs/data_import_export_tab.vue b/src/components/settings_modal/tabs/data_import_export_tab.vue index e3b7f407c9..48356c9b56 100644 --- a/src/components/settings_modal/tabs/data_import_export_tab.vue +++ b/src/components/settings_modal/tabs/data_import_export_tab.vue @@ -77,6 +77,16 @@ > {{ $t('settings.download_backup') }} + + {{ $tc('settings.backup_running', backup.processed_number, { number: backup.processed_number }) }} + + + {{ $t('settings.backup_failed') }} + diff --git a/src/i18n/en.json b/src/i18n/en.json index 59ee1c1722..b7c19b8866 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -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",