From 126ee37f6692a7c52fd8f6527af2dc06cda50a8b Mon Sep 17 00:00:00 2001 From: Cesar G Date: Sun, 1 Dec 2013 11:25:54 -0800 Subject: [ticket/11959] Use the plurals system for the untrimmed language strings. PHPBB3-11959 --- phpBB/phpbb/notification/type/post.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'phpBB/phpbb/notification') diff --git a/phpBB/phpbb/notification/type/post.php b/phpBB/phpbb/notification/type/post.php index bc42c4422b..a883e67bd4 100644 --- a/phpBB/phpbb/notification/type/post.php +++ b/phpBB/phpbb/notification/type/post.php @@ -210,13 +210,18 @@ class post extends \phpbb\notification\type\base if ($trimmed_responders_cnt) { $lang_key .= '_TRIMMED'; + $lang_user_cnt = $trimmed_responders_cnt; + } + else + { + $lang_user_cnt = $responders_cnt; } return $this->user->lang( $lang_key, implode($this->user->lang['COMMA_SEPARATOR'], $usernames), censor_text($this->get_data('topic_title')), - $trimmed_responders_cnt + $lang_user_cnt ); } -- cgit v1.2.1