mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-14 04:30:29 +01:00
[ticket/16588] Updates link to plural rules from 3.2.x to 3.3.x
PHPBB3-16588
This commit is contained in:
parent
c1ce0153ea
commit
34d415a6b3
@ -2387,7 +2387,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))
|
||||
You have <code>[1/21/31] slon</code>, <code>[2/3/4] slona</code>, <code>[0/5/6] slonova</code> and <code>[7/8/9/11] ...</code> and some more difficult rules.
|
||||
</p>
|
||||
|
||||
<p>The <a href="https://area51.phpbb.com/docs/dev/32x/language/plurals.html">plural system</a> takes care of this and can be used as follows:</p>
|
||||
<p>The <a href="https://area51.phpbb.com/docs/dev/3.3.x/language/plurals.html">plural system</a> takes care of this and can be used as follows:</p>
|
||||
|
||||
<p>The PHP code will basically look like this:</p>
|
||||
|
||||
|
@ -488,7 +488,7 @@ function phpbb_realpath($path)
|
||||
* Determine which plural form we should use.
|
||||
* For some languages this is not as simple as for English.
|
||||
*
|
||||
* @param $rule int ID of the plural rule we want to use, see https://area51.phpbb.com/docs/dev/32x/language/plurals.html
|
||||
* @param $rule int ID of the plural rule we want to use, see https://area51.phpbb.com/docs/dev/3.3.x/language/plurals.html
|
||||
* @param $number int|float The number we want to get the plural case for. Float numbers are floored.
|
||||
* @return int The plural-case we need to use for the number plural-rule combination
|
||||
*
|
||||
|
@ -48,7 +48,7 @@ $lang = array_merge($lang, array(
|
||||
'USER_LANG' => 'en-gb',
|
||||
|
||||
// You can define different rules for the determination of plural forms here.
|
||||
// See https://area51.phpbb.com/docs/dev/32x/language/plurals.html for more information
|
||||
// See https://area51.phpbb.com/docs/dev/3.3.x/language/plurals.html for more information
|
||||
// or ask the translation manager for help.
|
||||
'PLURAL_RULE' => 1,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user