aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/message_parser.php
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2014-04-29 00:44:32 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2014-05-03 16:16:14 +0200
commitdaa69ecfa97c5462835e42b1046ba91b7abe3469 (patch)
tree924288b8de0f5aa28443396ed818cebc306308f2 /phpBB/includes/message_parser.php
parent4e529fda036b5aa3611da30277487907b83b55ac (diff)
downloadforums-daa69ecfa97c5462835e42b1046ba91b7abe3469.tar
forums-daa69ecfa97c5462835e42b1046ba91b7abe3469.tar.gz
forums-daa69ecfa97c5462835e42b1046ba91b7abe3469.tar.bz2
forums-daa69ecfa97c5462835e42b1046ba91b7abe3469.tar.xz
forums-daa69ecfa97c5462835e42b1046ba91b7abe3469.zip
[ticket/12451] Split TOO_FEW_CHARS_LIMIT for plurals
PHPBB3-12451
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r--phpBB/includes/message_parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php
index 17a350bab3..5de925b6ae 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -1137,7 +1137,7 @@ class parse_message extends bbcode_firstpass
{
if (!$message_length || $message_length < (int) $config['min_post_chars'])
{
- $this->warn_msg[] = (!$message_length) ? $user->lang['TOO_FEW_CHARS'] : $user->lang('TOO_FEW_CHARS_LIMIT', $message_length, (int) $config['min_post_chars']);
+ $this->warn_msg[] = (!$message_length) ? $user->lang['TOO_FEW_CHARS'] : ($user->lang('TOO_FEW_CHARS_CONTAINS', $message_length) . ' ' . $user->lang('TOO_FEW_CHARS_LIMIT', (int) $config['min_post_chars']));
return (!$update_this_message) ? $return_message : $this->warn_msg;
}
}