From 4dfd12d5b2b007b220789712cb6d50a04a3efeee Mon Sep 17 00:00:00 2001
From: Crizzo [1/21/31] slon
, [2/3/4] slona
, [0/5/6] slonova
and [7/8/9/11] ...
and some more difficult rules.
The plural system takes care of this and can be used as follows:
+The plural system takes care of this and can be used as follows:
The PHP code will basically look like this:
diff --git a/phpBB/includes/functions_compatibility.php b/phpBB/includes/functions_compatibility.php index 4b085a6050..4fe7e71117 100644 --- a/phpBB/includes/functions_compatibility.php +++ b/phpBB/includes/functions_compatibility.php @@ -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 http://wiki.phpbb.com/Plural_Rules#Plural_Rules + * @param $rule int ID of the plural rule we want to use, see https://area51.phpbb.com/docs/dev/32x/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 * diff --git a/phpBB/language/en/common.php b/phpBB/language/en/common.php index 709b7d9731..af9f8fe187 100644 --- a/phpBB/language/en/common.php +++ b/phpBB/language/en/common.php @@ -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 http://wiki.phpbb.com/Plural_Rules for more information + // See https://area51.phpbb.com/docs/dev/32x/language/plurals.html for more information // or ask the translation manager for help. 'PLURAL_RULE' => 1,