diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2016-11-13 17:21:41 +0100 |
---|---|---|
committer | Jakub Senko <jakubsenko@gmail.com> | 2016-11-13 17:21:41 +0100 |
commit | 260dc5ed7c4a113039071a715a8206a2e073e640 (patch) | |
tree | c9233e808c20a821352c341688d24dc83510a4d3 /phpBB | |
parent | 372324cead4f9068ebe3ca10c85858af833a8026 (diff) | |
download | forums-260dc5ed7c4a113039071a715a8206a2e073e640.tar forums-260dc5ed7c4a113039071a715a8206a2e073e640.tar.gz forums-260dc5ed7c4a113039071a715a8206a2e073e640.tar.bz2 forums-260dc5ed7c4a113039071a715a8206a2e073e640.tar.xz forums-260dc5ed7c4a113039071a715a8206a2e073e640.zip |
[ticket/14863] Properly treat plural rules in confirmation box title
PHPBB3-14863
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index a152d9b620..ba448f3125 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2776,7 +2776,7 @@ function confirm_box($check, $title = '', $hidden = '', $html_body = 'confirm_bo $u_action .= ((strpos($u_action, '?') === false) ? '?' : '&') . 'confirm_key=' . $confirm_key; $template->assign_vars(array( - 'MESSAGE_TITLE' => (!isset($user->lang[$title])) ? $user->lang['CONFIRM'] : $user->lang[$title], + 'MESSAGE_TITLE' => (!isset($user->lang[$title])) ? $user->lang['CONFIRM'] : $user->lang($title, 1), 'MESSAGE_TEXT' => (!isset($user->lang[$title . '_CONFIRM'])) ? $title : $user->lang[$title . '_CONFIRM'], 'YES_VALUE' => $user->lang['YES'], |