Dundak

Beigetreten 1. oktobra 2006
762 bajtow přidatych ,  před 15 lětami
convertPlural()
(→‎graty: nowa podstrona)
(convertPlural())
 
*[[User:Dundak/Rjeńše naše napisma a tłóčki – Čiń sobu!]]
 
== convertPlural() ==
 
I have noticed that you have been using <tt><nowiki>{{plural:}}</nowiki></tt>, but function <tt>convertPlural()</tt> doesn't seem to be defined in <tt>languages/classes/LanguageHsb.php</tt>. If I understand the declension rules correctly, it should look like this:
 
<pre>
function convertPlural($count, $singular, $dual, $plural34, $plural)
{
switch (abs($count) % 100)
{
case 1:
return $singular;
 
case 2:
return $dual;
 
case 3:
case 4:
return $plural34;
 
default:
return $plural;
}
}
</pre>
 
· [[Wužiwar:Naiwny cynikar|Naiwny]] [[Diskusija z wužiwarjom:Naiwny cynikar|cynikar]] · 14:06, 27. okt. 2006 (CEST)
125

změnow

Z Wikipedije, swobodneje encyklopedije