From ad7a6da9f8bfdf72cc196b659275f7047dafc9d4 Mon Sep 17 00:00:00 2001 From: albertlast Date: Sun, 6 Sep 2026 11:40:04 +0200 Subject: [PATCH] Restores the strings the backup checkbox explains itself with The help line under "Backup SMF tables" chooses between upgrade_backup_already_exists and upgrade_recommended, and neither has been defined since the maintenance strings were tidied. Lang::getTxt() answers a key it does not know with an empty string, so the admin gets an empty span either way. The first of the two is the only place the upgrader says that enabling the option replaces a backup that is already there, which is what backup_table() does to it. Signed-off-by: albertlast --- Languages/en_US/Maintenance.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Languages/en_US/Maintenance.php b/Languages/en_US/Maintenance.php index 21dceeb9f5..27d4cce81d 100644 --- a/Languages/en_US/Maintenance.php +++ b/Languages/en_US/Maintenance.php @@ -405,6 +405,8 @@ // Upgrade options $txt['upgrade_areyouready'] = 'Before the upgrade gets underway, please review the options below and press "Continue" when you are ready to begin.'; $txt['upgrade_backup_table'] = 'Backup SMF tables in your database using the prefix {0}'; +$txt['upgrade_recommended'] = 'Strongly recommended!'; +$txt['upgrade_backup_already_exists'] = 'Backup already exists. If you enable this option, the existing backup will be replaced with a new one.'; $txt['upgrade_maintenance'] = 'Put the forum into maintenance mode during upgrade.'; $txt['upgrade_maintenance_title'] = 'Maintenance Title:'; $txt['upgrade_maintenance_message'] = 'Maintenance Message:';