mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11959] Use the plurals system for the untrimmed language strings.
PHPBB3-11959
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user