Inherits Language.
Public Member Functions | |
convertPlural ($count, $forms) | |
Plural form transformations. |
Copyright © 2006, Niklas Laxström http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
Definition at line 12 of file LanguageLv.php.
LanguageLv::convertPlural | ( | $ | count, | |
$ | forms | |||
) |
Plural form transformations.
Using the first form for words with the last digit 1, but not for words with the last digits 11, and the second form for all the others.
Example: {{plural:{{NUMBEROFARTICLES}}|article|articles}}
integer | $count | |
string | $wordform1 | |
string | $wordform2 | |
string | $wordform3 (not used) |
Reimplemented from Language.
Definition at line 24 of file LanguageLv.php.
References $count, and Language::preConvertPlural().