diff --git a/frontend/src/components/admin/RestoreWizard.jsx b/frontend/src/components/admin/RestoreWizard.jsx index 3269e44c..31d152ab 100644 --- a/frontend/src/components/admin/RestoreWizard.jsx +++ b/frontend/src/components/admin/RestoreWizard.jsx @@ -338,15 +338,68 @@ export const RestoreWizard = ({ onVerifyIntegrity } = {}) => {
- {backup.encrypted && ( -+ {t('backup.restore.backup.filesOnlyWarning.title', + 'Selected backup has no database dump')} +
++ {t('backup.restore.backup.filesOnlyWarning.message', + 'Restoring this backup will recover files (photos, PDFs) but the database — including admin users, customers, quotes, invoices, contracts, and settings — will NOT come back. Pick a different backup if you have one with a database dump, or proceed only if files-only is what you want.')} +
+- {isRunning ? t('backup.restore.progress.inProgress') : t('backup.restore.progress.completed')} +
+ {subtitle}
+ {lastRunError || t('backup.restore.progress.errorUnknown', 'No error message recorded.')} +
+ {lastRun.was_rollback_attempted && ( ++ {t('backup.restore.progress.rolledBack', + 'Pre-restore safety backup was used to roll back. Destination is in its pre-restore state — safe to retry once the issue above is resolved.')} +
+ )} +