diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2011-09-14 00:28:52 +0200 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-11-25 15:10:44 -0500 |
commit | 88ae40a4b19360645d5e5a614cc378e7cce4afe3 (patch) | |
tree | 057ddd8d25a1ec8b943b8f95cab9c861a385285b /phpBB/includes/mcp/mcp_topic.php | |
parent | 0734dd3c42f573d819c058cd6c6b55d035d1836d (diff) | |
download | forums-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.php | 2 |
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&t={$topic_info['topic_id']}&mode=$mode&action=$action&to_topic_id=$to_topic_id&posts_per_page=$posts_per_page&st=$sort_days&sk=$sort_key&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), )); } |