aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_topic.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_topic.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_topic.php')
-rw-r--r--phpBB/includes/mcp/mcp_topic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php
index f080d78b1e..463dd5868d 100644
--- a/phpBB/includes/mcp/mcp_topic.php
+++ b/phpBB/includes/mcp/mcp_topic.php
@@ -336,7 +336,7 @@ function mcp_topic_view($id, $mode, $action)
'PAGE_NUMBER' => on_page($total, $posts_per_page, $start),
'PAGINATION' => (!$posts_per_page) ? '' : generate_pagination(append_sid("{$phpbb_root_path}mcp.$phpEx", "i=$id&amp;t={$topic_info['topic_id']}&amp;mode=$mode&amp;action=$action&amp;to_topic_id=$to_topic_id&amp;posts_per_page=$posts_per_page&amp;st=$sort_days&amp;sk=$sort_key&amp;sd=$sort_dir"), $total, $posts_per_page, $start),
- 'TOTAL_POSTS' => ($total == 1) ? $user->lang['VIEW_TOPIC_POST'] : sprintf($user->lang['VIEW_TOPIC_POSTS'], $total),
+ 'TOTAL_POSTS' => $user->lang('VIEW_TOPIC_POSTS', (int) $total),
));
}