From 396b28f3d881f5debd888ba9bb9b47c2d478a76f Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 15 Dec 2008 18:02:47 +0100 Subject: update to Mediawiki 1.13.3; some cleanups --- languages/LanguageHr.php | 132 ----------------------------------------------- 1 file changed, 132 deletions(-) delete mode 100644 languages/LanguageHr.php (limited to 'languages/LanguageHr.php') diff --git a/languages/LanguageHr.php b/languages/LanguageHr.php deleted file mode 100644 index 0f82b45a..00000000 --- a/languages/LanguageHr.php +++ /dev/null @@ -1,132 +0,0 @@ - 'Standardna', - 'nostalgia' => 'Nostalgija', - 'cologneblue' => 'Kölnska plava', - 'smarty' => 'Paddington', - 'montparnasse' => 'Montparnasse', - 'davinci' => 'DaVinci', - 'mono' => 'Mono', - 'monobook' => 'MonoBook', - 'myskin' => 'MySkin', - 'chick' => 'Chick' - ); - - function __construct() { - parent::__construct(); - - global $wgAllMessagesHr; - $this->mMessagesHr =& $wgAllMessagesHr; - - global $wgMetaNamespace; - $this->mNamespaceNamesHr = array( - NS_MEDIA => 'Mediji', - NS_SPECIAL => 'Posebno', - NS_MAIN => '', - NS_TALK => 'Razgovor', - NS_USER => 'Suradnik', - NS_USER_TALK => 'Razgovor_sa_suradnikom', - NS_PROJECT => $wgMetaNamespace, - NS_PROJECT_TALK => 'Razgovor_' . $wgMetaNamespace, - NS_IMAGE => 'Slika', - NS_IMAGE_TALK => 'Razgovor_o_slici', - NS_MEDIAWIKI => 'MediaWiki', - NS_MEDIAWIKI_TALK => 'MediaWiki_razgovor', - NS_TEMPLATE => 'Predložak', - NS_TEMPLATE_TALK => 'Razgovor_o_predlošku', - NS_HELP => 'Pomoć', - NS_HELP_TALK => 'Razgovor_o_pomoći', - NS_CATEGORY => 'Kategorija', - NS_CATEGORY_TALK => 'Razgovor_o_kategoriji' - ); - - } - - function getNamespaces() { - return $this->mNamespaceNamesHr + parent::getNamespaces(); - } - - function getQuickbarSettings() { - return $this->mQuickbarSettingsHr; - } - - function getSkinNames() { - return $this->mSkinNamesHr + parent::getSkinNames(); - } - - function getDateFormats() { - return false; - } - - function getMessage( $key ) { - if( isset( $this->mMessagesHr[$key] ) ) { - return $this->mMessagesHr[$key]; - } else { - return parent::getMessage( $key ); - } - } - - function getAllMessages() { - return $this->mMessagesHr; - } - - function date( $ts, $adj = false, $format = true, $timecorrection = false ) { - if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); } - - $d = (0 + substr( $ts, 6, 2 )) . ". " . - $this->getMonthName( substr( $ts, 4, 2 ) ) . - " " . - substr( $ts, 0, 4 ) . "." ; - return $d; - } - - - function separatorTransformTable() { - return array(',' => '.', '.' => ',' ); - } - - function fallback8bitEncoding() { - return 'iso-8859-2'; - } - - function linkTrail() { - return '/^([čšžćđßa-z]+)(.*)$/sDu'; - } - - function convertPlural( $count, $wordform1, $wordform2, $wordform3) { - $count = str_replace ('.', '', $count); - if ($count > 10 && floor(($count % 100) / 10) == 1) { - return $wordform3; - } else { - switch ($count % 10) { - case 1: return $wordform1; - case 2: - case 3: - case 4: return $wordform2; - default: return $wordform3; - } - } - } - -} - -?> -- cgit v1.2.3-54-g00ecf