From b731d9e47174514185b8e04d62701f0841c5c8da 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 e3b7f407..48356c9b 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 11a290ca..b4c51a86 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -482,6 +482,8 @@ "avatar_size_instruction": "The recommended minimum size for avatar images is 150x150 pixels.", "background": "Background", "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.", "bio": "Bio", "block_export": "Block export", "block_export_button": "Export your blocks to a csv file",