bug #10091 [Translation] Update PluralizationRules.php (guilhermeblanco)
This PR was submitted for the 2.3-dev branch but it was merged into the 2.3 branch instead (closes #10091). Discussion ---------- [Translation] Update PluralizationRules.php As a native brazilian portuguese speaker, and also respecting http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#pt definitions, 0 elements are normally used in plural form. | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT Commits ------- ab29792 Update PluralizationRules.php
This commit is contained in:
commit
61625b466d
|
@ -115,6 +115,7 @@ class PluralizationRules
|
|||
case 'pap':
|
||||
case 'ps':
|
||||
case 'pt':
|
||||
case 'xbr':
|
||||
case 'so':
|
||||
case 'sq':
|
||||
case 'sv':
|
||||
|
@ -135,7 +136,6 @@ class PluralizationRules
|
|||
case 'ln':
|
||||
case 'mg':
|
||||
case 'nso':
|
||||
case 'xbr':
|
||||
case 'ti':
|
||||
case 'wa':
|
||||
return (($number == 0) || ($number == 1)) ? 0 : 1;
|
||||
|
|
Reference in New Issue