aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2011-09-14 00:28:52 +0200
committerOleg Pudeyev <oleg@bsdpower.com>2011-11-25 15:10:44 -0500
commit88ae40a4b19360645d5e5a614cc378e7cce4afe3 (patch)
tree057ddd8d25a1ec8b943b8f95cab9c861a385285b /phpBB/includes/mcp/mcp_queue.php
parent0734dd3c42f573d819c058cd6c6b55d035d1836d (diff)
downloadforums-88ae40a4b19360645d5e5a614cc378e7cce4afe3.tar
forums-88ae40a4b19360645d5e5a614cc378e7cce4afe3.tar.gz
forums-88ae40a4b19360645d5e5a614cc378e7cce4afe3.tar.bz2
forums-88ae40a4b19360645d5e5a614cc378e7cce4afe3.tar.xz
forums-88ae40a4b19360645d5e5a614cc378e7cce4afe3.zip
[ticket/10345] Make use of the plural function in some basic places
PHPBB3-10345
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index bd132c9ce8..692d29dabb 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -436,7 +436,7 @@ class mcp_queue
'PAGINATION' => generate_pagination($this->u_action . "&amp;f=$forum_id&amp;st=$sort_days&amp;sk=$sort_key&amp;sd=$sort_dir", $total, $config['topics_per_page'], $start),
'PAGE_NUMBER' => on_page($total, $config['topics_per_page'], $start),
'TOPIC_ID' => $topic_id,
- 'TOTAL' => ($total == 1) ? (($mode == 'unapproved_posts') ? $user->lang['VIEW_TOPIC_POST'] : $user->lang['VIEW_FORUM_TOPIC']) : sprintf((($mode == 'unapproved_posts') ? $user->lang['VIEW_TOPIC_POSTS'] : $user->lang['VIEW_FORUM_TOPICS']), $total),
+ 'TOTAL' => $user->lang((($mode == 'unapproved_posts') ? 'VIEW_TOPIC_POSTS' : 'VIEW_FORUM_TOPICS'), (int) $total),
));
$this->tpl_name = 'mcp_queue';