r4077 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r4076‎ | r4077 | r4078 >
Date:19:33, 14 June 2004
Author:hashar
Status:old
Tags:
Comment:
Greek translations for days / month by Andreas Kasenides
Modified paths:
  • /trunk/phase3/languages/LanguageEl.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/LanguageEl.php
@@ -2,10 +2,45 @@
33
44 require_once( "LanguageUtf8.php" );
55
 6+/* private */ $wgWeekdayNamesEl = array(
 7+ "Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη",
 8+ "Παρασκευή", "Σαββάτο"
 9+);
 10+
 11+/* private */ $wgMonthNamesEl = array(
 12+ "Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάϊος", "Ιούνιος",
 13+ "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος",
 14+ "Δεκέμβριος"
 15+);
 16+
 17+/* private */ $wgMonthAbbreviationsEl = array(
 18+ "Ιαν". "Φεβρ", "Μάρτ", "Απρ", "Μάïος", "Ιούν", "Ιούν",
 19+ "Ιούλ", "Αύγ", "Σεπτ", "Οκτώβ", "Νοέμβ", "Δεκέμ"
 20+);
 21+
622 class LanguageEl extends LanguageUtf8 {
723 function fallback8bitEncoding() {
824 return "windows-1253";
925 }
 26+
 27+ function getMonthName( $key )
 28+ {
 29+ global $wgMonthNamesEl;
 30+ return $wgMonthNamesEl[$key-1];
 31+ }
 32+
 33+ function getMonthAbbreviation( $key )
 34+ {
 35+ global $wgMonthAbbreviationsEl;
 36+ return $wgMonthAbbreviationsEl[$key-1];
 37+ }
 38+
 39+ function getWeekdayName( $key )
 40+ {
 41+ global $wgWeekdayNamesEl;
 42+ return $wgWeekdayNamesEl[$key-1];
 43+ }
 44+
1045 }
1146
1247 ?>

Status & tagging log