From d6f9bef1f18d6372ae9b8d5311a35d8958222b8d Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Thu, 29 Nov 2001 22:51:34 +0000 Subject: [PATCH] Implement suggestion in bug #484449 git-svn-id: file:///svn/phpbb/trunk@1488 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/language/lang_english/lang_main.php | 3 +++ phpBB/privmsg.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/phpBB/language/lang_english/lang_main.php b/phpBB/language/lang_english/lang_main.php index ace3926159..3bd012bd9b 100644 --- a/phpBB/language/lang_english/lang_main.php +++ b/phpBB/language/lang_english/lang_main.php @@ -419,6 +419,9 @@ $lang['No_folder'] = "No folder specified"; $lang['Mark_all'] = "Mark all"; $lang['Unmark_all'] = "Unmark all"; +$lang['Confirm_delete_pm'] = "Are you sure you want to delete this message?"; +$lang['Confirm_delete_pms'] = "Are you sure you want to delete these messages?"; + $lang['Inbox_size'] = "Your Inbox is %d%% full"; // eg. Your Inbox is 50% full $lang['Sentbox_size'] = "Your Sentbox is %d%% full"; $lang['Savebox_size'] = "Your Savebox is %d%% full"; diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index 2134696d3a..418f29ff07 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -601,7 +601,7 @@ else if( ( $delete && $mark_list ) || $delete_all ) ); $template->assign_vars(array( "MESSAGE_TITLE" => $lang['Information'], - "MESSAGE_TEXT" => $lang['Confirm_delete'], + "MESSAGE_TEXT" => ( count($mark_list) == 1 ) ? $lang['Confirm_delete_pm'] : $lang['Confirm_delete_pms'], "L_YES" => $lang['Yes'], "L_NO" => $lang['No'],