Inherits Language.
Public Member Functions | |
convertPlural ($count, $forms) | |
Plural form transformations, needed for some languages. | |
convertGrammar ($word, $case) | |
Cases: genitiv, dativ, akuzativ, vokativ, instrumental, lokativ. |
Definition at line 7 of file LanguageBs.php.
LanguageBs::convertGrammar | ( | $ | word, | |
$ | case | |||
) |
Cases: genitiv, dativ, akuzativ, vokativ, instrumental, lokativ.
Reimplemented from Language.
Definition at line 31 of file LanguageBs.php.
References $wgGrammarForms.
LanguageBs::convertPlural | ( | $ | count, | |
$ | forms | |||
) |
Plural form transformations, needed for some languages.
For example, there are 3 form of plural in Russian and Polish, depending on "count mod 10". See [[w:Plural]] For English it is pretty simple.
Invoked by putting {{plural:count|wordform1|wordform2}} or {{plural:count|wordform1|wordform2|wordform3}}
Example: {{plural:{{NUMBEROFARTICLES}}|article|articles}}
$count | Integer: non-localized number | |
$forms | Array: different plural forms |
Reimplemented from Language.
Definition at line 9 of file LanguageBs.php.
References $count, and Language::preConvertPlural().