-
Bug
-
Resolution: Duplicate
-
Major
-
3.1.0-b2
-
None
-
None
posting.php contains a string with 2 numbered placeholders that need plural forms. This is not immediately apparent from the English string, because it is phrased in a computery way. I recommend splitting this into 2 strings, and rephrasing the English string:
Code: Select all
'TOO_FEW_CHARS_LIMIT' => array(
1 => 'Your message contains %1$d character. The minimum number of characters you need to enter is %2$d.',
2 => 'Your message contains %1$d characters. The minimum number of characters you need to enter is %2$d.',
),
My suggestion:
Code: Select all
'TOO_FEW_CHARS_CONTAINS' => array(
1 => 'Your message contains %1$d character. %2$d',
2 => 'Your message contains %1$d characters. %2$d',
),
'TOO_FEW_CHARS_LIMIT' => array(
1 => 'You need to enter at least %1$d character.',
2 => 'You need to enter at least %1$d characters.',
),
Then replace %2$d in TOO_FEW_CHARS_CONTAINS with TOO_FEW_CHARS_LIMIT
Posted by GunChleoc (Translator) on Apr 7th 2014, 11:15
P.S. same goes for:
Code: Select all
'TOO_MANY_CHARS_POST' => array(
2 => 'Your message contains %1$d characters. The maximum number of allowed characters is %2$d.',
),
'TOO_MANY_CHARS_SIG' => array(
2 => 'Your signature contains %1$d characters. The maximum number of allowed characters is %2$d.',
),
- duplicates
-
PHPBB-12451 posting.php TOO_FEW_CHARS_LIMIT should be split for plurals
- Closed