1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/11959] Use the plurals system for the untrimmed language strings.

PHPBB3-11959
This commit is contained in:
Cesar G
2013-12-01 11:25:54 -08:00
parent 7e4b7a1542
commit 126ee37f66
2 changed files with 15 additions and 4 deletions

View File

@@ -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
);
}