aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification/type/post.php
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2013-12-01 11:25:54 -0800
committerCesar G <prototech91@gmail.com>2014-03-19 03:08:33 -0700
commit126ee37f6692a7c52fd8f6527af2dc06cda50a8b (patch)
treed075059456822ae6d895f6d11089f68166888d2b /phpBB/phpbb/notification/type/post.php
parent7e4b7a154214f1663a28244282e551beb59d7d8b (diff)
downloadforums-126ee37f6692a7c52fd8f6527af2dc06cda50a8b.tar
forums-126ee37f6692a7c52fd8f6527af2dc06cda50a8b.tar.gz
forums-126ee37f6692a7c52fd8f6527af2dc06cda50a8b.tar.bz2
forums-126ee37f6692a7c52fd8f6527af2dc06cda50a8b.tar.xz
forums-126ee37f6692a7c52fd8f6527af2dc06cda50a8b.zip
[ticket/11959] Use the plurals system for the untrimmed language strings.
PHPBB3-11959
Diffstat (limited to 'phpBB/phpbb/notification/type/post.php')
-rw-r--r--phpBB/phpbb/notification/type/post.php7
1 files changed, 6 insertions, 1 deletions
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
);
}