2004-02-18 02:15:00 +00:00
|
|
|
<?php
|
WARNING: HUGE COMMIT
Doxygen documentation update:
* Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group.
* Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file.
* Removed some empty comments
* Removed some ?>
Added following groups:
* ExternalStorage
* JobQueue
* MaintenanceLanguage
One more thing: there are still a lot of warnings when generating the doc.
2008-05-20 17:13:28 +00:00
|
|
|
|
2008-09-13 18:29:26 +00:00
|
|
|
/** Czech (čeština [subst.], český [adj.], česky [adv.])
|
2005-06-20 11:35:32 +00:00
|
|
|
*
|
WARNING: HUGE COMMIT
Doxygen documentation update:
* Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group.
* Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file.
* Removed some empty comments
* Removed some ?>
Added following groups:
* ExternalStorage
* JobQueue
* MaintenanceLanguage
One more thing: there are still a lot of warnings when generating the doc.
2008-05-20 17:13:28 +00:00
|
|
|
* @ingroup Language
|
2005-06-20 11:35:32 +00:00
|
|
|
*/
|
2006-07-26 07:15:39 +00:00
|
|
|
class LanguageCs extends Language {
|
2006-06-15 16:34:41 +00:00
|
|
|
|
2011-05-29 15:20:43 +00:00
|
|
|
/**
|
|
|
|
|
* Plural transformations
|
|
|
|
|
* Invoked by putting
|
|
|
|
|
* {{plural:count|form1|form2-4|form0,5+}} for two forms plurals
|
|
|
|
|
* {{plural:count|form1|form0,2+}} for single form plurals
|
|
|
|
|
* in a message
|
|
|
|
|
* @param $count int
|
|
|
|
|
* @param $forms array
|
|
|
|
|
* @return string
|
|
|
|
|
*/
|
2007-11-18 20:15:49 +00:00
|
|
|
function convertPlural( $count, $forms ) {
|
2010-07-29 09:43:18 +00:00
|
|
|
if ( !count( $forms ) ) { return ''; }
|
2007-11-18 20:15:49 +00:00
|
|
|
$forms = $this->preConvertPlural( $forms, 3 );
|
2006-06-15 16:34:41 +00:00
|
|
|
|
2007-11-18 20:15:49 +00:00
|
|
|
switch ( $count ) {
|
2008-05-27 02:45:40 +00:00
|
|
|
case 1:
|
|
|
|
|
return $forms[0];
|
2007-11-18 20:15:49 +00:00
|
|
|
case 2:
|
|
|
|
|
case 3:
|
2008-05-27 02:45:40 +00:00
|
|
|
case 4:
|
|
|
|
|
return $forms[1];
|
|
|
|
|
default:
|
|
|
|
|
return $forms[2];
|
2007-11-18 20:15:49 +00:00
|
|
|
}
|
|
|
|
|
}
|
2003-04-14 23:10:40 +00:00
|
|
|
}
|