Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ticket/12451] Split lang vars in posting.php for plurals #2363

Merged
merged 4 commits into from May 8, 2014

Conversation

Elsensee
Copy link
Contributor

@@ -1128,7 +1128,7 @@ function parse($allow_bbcode, $allow_magic_url, $allow_smilies, $allow_img_bbcod
// Maximum message length check. 0 disables this check completely.
if ((int) $config['max_' . $mode . '_chars'] > 0 && $message_length > (int) $config['max_' . $mode . '_chars'])
{
$this->warn_msg[] = $user->lang('TOO_MANY_CHARS_' . strtoupper($mode), $message_length, (int) $config['max_' . $mode . '_chars']);
$this->warn_msg[] = $user->lang('TOO_MANY_CHARS_' . strtoupper($mode), $message_length) . ' ' . $user->lang('TOO_MANY_CHARS_LIMIT', (int) $config['max_' . $mode . '_chars']);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acyd Burn told me years ago that concatenation does not work for all languages.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd go with a new line. This way the two sentences are 2 sentences on 2 lines. Should work for them?

@Elsensee
Copy link
Contributor Author

Elsensee commented May 2, 2014

Updated

nickvergessen added a commit to nickvergessen/phpbb that referenced this pull request May 8, 2014
[ticket/12451] Split lang vars in posting.php for plurals

* Elsensee/ticket/12451:
  [ticket/12451] Remove duplicated lang var
  [ticket/12451] Use new line to concatenate strings
  [ticket/12451] Split TOO_MANY_CHARS vars for plurals
  [ticket/12451] Split TOO_FEW_CHARS_LIMIT for plurals
@nickvergessen nickvergessen merged commit b7fde76 into phpbb:develop-ascraeus May 8, 2014
@Elsensee Elsensee deleted the ticket/12451 branch May 8, 2014 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants