# Different spellings of days (with Dé) may be needed for some uses
-/* private */ $wgWeekdayNamesGa = array(
- "Domhnach", "Luan", "Máirt", "Céadaoin", "Déardaoin",
- "Aoine", "Satharn"
-);
-
-/* private */ $wgMonthNamesGa = array(
- "Eanáir", "Feabhra", "Márta", "Aibreán", "Bealtaine", "Meitheamh",
- "Iúil", "Lúnasa", "Meán Fómhair", "Deireadh Fómhair", "Mí na Samhna",
- "Mí na Nollag"
-);
-
-/* private */ $wgMonthAbbreviationsGa = array(
- "Ean", "Fea", "Már", "Aib", "Bea", "Mei", "Iúi", "Lún",
- "Mea", "Dei", "Samh", "Nol"
-);
# The following exist for the purpose of being translated:
# the regex in MagicWord::initRegex
/* private */ $wgAllMessagesGa = array(
+# Dates
+#
+'sunday' => 'Domhnach',
+'monday' => 'Luan',
+'tuesday' => 'Máirt',
+'wednesday' => 'Céadaoin',
+'thursday' => 'Déardaoin',
+'friday' => 'Aoine',
+'saturday' => 'Satharn',
+'january' => 'Eanáir',
+'february' => 'Feabhra',
+'march' => 'Márta',
+'april' => 'Aibreán',
+'may_long' => 'Bealtaine',
+'june' => 'Meitheamh',
+'july' => 'Iúil',
+'august' => 'Lúnasa',
+'september' => 'Meán Fómhair',
+'october' => 'Deireadh Fómhair',
+'november' => 'Mí na Samhna',
+'december' => 'Mí na Nollag',
+'jan' => 'Ean',
+'feb' => 'Fea',
+'mar' => 'Már',
+'apr' => 'Aib',
+'may' => 'Bea',
+'jun' => 'Mei',
+'jul' => 'Iúi',
+'aug' => 'Lún',
+'sep' => 'Mea',
+'oct' => 'Dei',
+'nov' => 'Samh',
+'dec' => 'Nol',
+
# Bits of text used by many pages:
#
return $wgUserTogglesGa;
}
- function getMonthName( $key )
- {
- global $wgMonthNamesGa;
- return $wgMonthNamesGa[$key-1];
- }
-
- function getMonthAbbreviation( $key )
- {
- global $wgMonthAbbreviationsGa;
- return $wgMonthAbbreviationsGa[$key-1];
- }
-
- function getWeekdayName( $key )
- {
- global $wgWeekdayNamesGa;
- return $wgWeekdayNamesGa[$key-1];
- }
-
function getValidSpecialPages()
{
global $wgValidSpecialPagesGa;
"Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
);
-/* private */ $wgWeekdayNamesHe = array(
- "ראשון", "שני", "שלישי", "רביעי", "חמישי",
- "שישי", "שבת"
-);
-
-/* private */ $wgMonthNamesHe = array(
- "ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני",
- "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר",
- "דצמבר"
-);
-
-/* private */ $wgMonthAbbreviationsHe = array(
- "ינו'", "פבר'", "מרץ", "אפר'", "מאי", "יוני", "יולי", "אוג'",
- "ספט'", "אוק'", "נוב'", "דצמ'"
-);
# All special pages have to be listed here: a description of ""
# will make them not show up on the "Special Pages" page, which
/* private */ $wgAllMessagesHe = array(
+# Dates
+#
+
+'sunday' => "ראשון",
+'monday' => "שני",
+'tuesday' => "שלישי",
+'wednesday' => "רביעי",
+'thursday' => "חמישי",
+'friday' => "שישי",
+'saturday' => "שבת",
+'january' => "ינואר",
+'february' => "פברואר",
+'march' => "מרץ",
+'april' => "אפריל",
+'may_long' => "מאי",
+'june' => "יוני",
+'july' => "יולי",
+'august' => "אוגוסט",
+'september' => "ספטמבר",
+'october' => "אוקטובר",
+'november' => "נובמבר",
+'december' => "דצמבר",
+'jan' => "ינו'",
+'feb' => "פבר'",
+'mar' => "מרץ",
+'apr' => "אפר'",
+'may' => "מאי",
+'jun' => "יוני",
+'jul' => "יולי",
+'aug' => "אוג'",
+'sep' => "ספט'",
+'oct' => "אוק'",
+'nov' => "נוב'",
+'dec' => "דצמ'",
# Bits of text used by many pages:
#
"linktrail" => "/^([a-z]+)(.*)\$/sD",
return $wgUserTogglesHe;
}
- function getMonthName( $key )
- {
- global $wgMonthNamesHe;
- return $wgMonthNamesHe[$key-1];
- }
-
- function getMonthAbbreviation( $key )
- {
- global $wgMonthAbbreviationsHe;
- return $wgMonthAbbreviationsHe[$key-1];
- }
-
- function getWeekdayName( $key )
- {
- global $wgWeekdayNamesHe;
- return $wgWeekdayNamesHe[$key-1];
- }
-
function getValidSpecialPages()
{
global $wgValidSpecialPagesHe;
) + $wgNamespaceNamesEn;
-/* private */ $wgWeekdayNamesHi = array(
- "रविवार", "सोमवार", "मंगलवार", "बुधवार", "गुरुवार",
- "शुक्रवार", "शनिवार"
-);
-
-/* private */ $wgMonthNamesHi = array(
- "जनवरी", "फरवरी", "मार्च", "अप्रैल", "मई", "जून",
- "जुलाई", "अगस्त", "सितम्बर", "अक्टूबर", "नवम्बर",
- "दिसम्बर"
-);
/* private */ $wgAllMessagesHi = array(
+# Dates
+#
+'sunday' => "रविवार",
+'monday' => "सोमवार",
+'tuesday' => "मंगलवार",
+'wednesday' => "बुधवार",
+'thursday' => "गुरुवार",
+'friday' => "शुक्रवार",
+'saturday' => "शनिवार",
+'january' => "जनवरी",
+'february' => "फरवरी",
+'march' => "मार्च",
+'april' => "अप्रैल",
+'may_long' => "मई",
+'june' => "जून",
+'july' => "जुलाई",
+'august' => "अगस्त",
+'september' => "सितम्बर",
+'october' => "अक्टूबर",
+'november' => "नवम्बर",
+'december' => "दिसम्बर",
+'jan' => "जनवरी",
+'feb' => "फरवरी",
+'mar' => "मार्च",
+'apr' => "अप्रैल",
+'may' => "मई",
+'jun' => "जून",
+'jul' => "जुलाई",
+'aug' => "अगस्त",
+'sep' => "सितम्बर",
+'oct' => "अक्टूबर",
+'nov' => "नवम्बर",
+'dec' => "दिसम्बर",
+
# Bits of text used by many pages:
#
"linktrail" => "/^([a-z]+)(.*)\$/sD",
return false;
}
- function getMonthName( $key )
- {
- global $wgMonthNamesHi;
- return $wgMonthNamesHi[$key-1];
- }
-
function getMessage( $key )
{
global $wgAllMessagesHi;
/* Language names should be the native names. Inherit common array from Language.php */
-/* private */ $wgWeekdayNamesHu = array(
- "vasárnap", "hétfő", "kedd", "szerda", "csütörtök",
- "péntek", "szombat"
-);
-
-/* private */ $wgMonthNamesHu = array(
- "január", "február", "március", "április", "május", "június",
- "július", "augusztus", "szeptember", "október", "november",
- "december"
-);
-
-/* private */ $wgMonthAbbreviationsHu = array(
- "Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug",
- "Sep", "Okt", "Nov", "Dec"
-);
# All special pages have to be listed here: a description of ""
# will make them not show up on the "Special Pages" page, which
/* private */ $wgAllMessagesHu = array(
+# Dates
+#
+
+'sunday' => "vasárnap",
+'monday' => "hétfő",
+'tuesday' => "kedd",
+'wednesday' => "szerda",
+'thursday' => "csütörtök",
+'friday' => "péntek",
+'saturday' => "szombat",
+'january' => "január",
+'february' => "február",
+'march' => "március",
+'april' => "április",
+'may_long' => "május",
+'june' => "június",
+'july' => "július",
+'august' => "augusztus",
+'september' => "szeptember",
+'october' => "október",
+'november' => "november",
+'december' => "december",
+'jan' => "Jan",
+'feb' => "Feb",
+'mar' => "Már",
+'apr' => "Ápr",
+'may' => "Máj",
+'jun' => "Jún",
+'jul' => "Júl",
+'aug' => "Aug",
+'sep' => "Sep",
+'oct' => "Okt",
+'nov' => "Nov",
+'dec' => "Dec",
+
# Bits of text used by many pages:
#
"categories" => "Lapkategóriák",
# Namespace 8 related
"allmessages" => "All_messages",
-"allmessagestext" => "Ez a MediaWiki: névtérben elérhető összes üzenet listája"
+"allmessagestext" => "Ez a MediaWiki: névtérben elérhető összes üzenet listája",
# Math
return $wgUserTogglesHu;
}
- /* inherit common getLanguageNames() */
-
- function getMonthName( $key )
- {
- global $wgMonthNamesHu;
- return $wgMonthNamesHu[$key-1];
- }
-
- function getMonthAbbreviation( $key )
- {
- global $wgMonthAbbreviationsHu;
- return $wgMonthAbbreviationsHu[$key-1];
- }
-
- function getWeekdayName( $key )
- {
- global $wgWeekdayNamesHu;
- return $wgWeekdayNamesHu[$key-1];
- }
-
function getValidSpecialPages()
{
global $wgValidSpecialPagesHu;
"Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
);
-/* private */ $wgWeekdayNamesIa = array(
- "dominica", "lunedi", "martedi", "mercuridi", "jovedi",
- "venerdi", "sabbato"
-);
-
-/* private */ $wgMonthNamesIa = array(
- "januario", "februario", "martio", "april", "maio", "junio",
- "julio", "augusto", "septembre", "octobre", "novembre",
- "decembre"
-);
-
-/* private */ $wgMonthAbbreviationsIa = array(
- "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug",
- "sep", "oct", "nov", "dec"
-);
# All special pages have to be listed here: a description of ""
# will make them not show up on the "Special Pages" page, which
/* private */ $wgAllMessagesIa = array(
+# dates
+#
+
+'sunday' => 'dominica',
+'monday' => 'lunedi',
+'tuesday' => 'martedi',
+'wednesday' => 'mercuridi',
+'thursday' => 'jovedi',
+'friday' => 'venerdi',
+'saturday' => 'sabbato',
+'january' => 'januario',
+'february' => 'februario',
+'march' => 'martio',
+'april' => 'april',
+'may_long' => 'maio',
+'june' => 'junio',
+'july' => 'julio',
+'august' => 'augusto',
+'september' => 'septembre',
+'october' => 'octobre',
+'november' => 'novembre',
+'december' => 'decembre',
+'jan' => 'jan',
+'feb' => 'feb',
+'mar' => 'mar',
+'apr' => 'apr',
+'may' => 'mai',
+'jun' => 'jun',
+'jul' => 'jul',
+'aug' => 'aug',
+'sep' => 'sep',
+'oct' => 'oct',
+'nov' => 'nov',
+'dec' => 'dec',
+
+
# Bits of text used by many pages:
#
"linktrail" => "/^([a-z]+)(.*)\$/sD",
return $wgUserTogglesIa;
}
- function getMonthName( $key )
- {
- global $wgMonthNamesIa;
- return $wgMonthNamesIa[$key-1];
- }
-
- function getMonthAbbreviation( $key )
- {
- global $wgMonthAbbreviationsIa;
- return $wgMonthAbbreviationsIa[$key-1];
- }
-
- function getWeekdayName( $key )
- {
- global $wgWeekdayNamesIa;
- return $wgWeekdayNamesIa[$key-1];
- }
-
function date( $ts, $adj = false )
{
if ( $adj ) { $ts = $this->userAdjust( $ts ); }
"nocache" => "ページをキャッシュしない"
);
-/* private */ $wgWeekdayNamesJa = array(
- "日曜日", "月曜日", "火曜日", "水曜日", "木曜日",
- "金曜日", "土曜日"
-);
-
/* private */ $wgWeekdayAbbreviationsJa = array(
"日", "月", "火", "水", "木", "金", "土"
);
-/* private */ $wgMonthNamesJa = array(
- "1月", "2月", "3月", "4月", "5月", "6月",
- "7月", "8月", "9月", "10月", "11月", "12月"
-);
-
-/* private */ $wgMonthAbbreviationsJa = array(
- "1月", "2月", "3月", "4月", "5月", "6月",
- "7月", "8月", "9月", "10月", "11月", "12月"
-);
# All special pages have to be listed here: a description of ""
# will make them not show up on the "Special Pages" page, which
);
/* private */ $wgAllMessagesJa = array(
+# Dates
+
+'sunday' => "日曜日",
+'monday' => "月曜日",
+'tuesday' => "火曜日",
+'wednesday' => "水曜日",
+'thursday' => "木曜日",
+'friday' => "金曜日",
+'saturday' => "土曜日",
+'january' => "1月",
+'february' => "2月",
+'march' => "3月",
+'april' => "4月",
+'may_long' => "5月",
+'june' => "6月",
+'july' => "7月",
+'august' => "8月",
+'september' => "9月",
+'october' => "10月",
+'november' => "11月",
+'december' => "12月",
+'jan' => "1月",
+'feb' => "2月",
+'mar' => "3月",
+'apr' => "4月",
+'may' => "5月",
+'jun' => "6月",
+'jul' => "7月",
+'aug' => "8月",
+'sep' => "9月",
+'oct' => "10月",
+'nov' => "11月",
+'dec' => "12月",
# Bits of text used by many pages:
#
return $wgUserTogglesJa;
}
- function getMonthName( $key )
- {
- global $wgMonthNamesJa;
- return $wgMonthNamesJa[$key-1];
- }
-
- function getMonthAbbreviation( $key )
- {
- global $wgMonthAbbreviationsJa;
- return $wgMonthAbbreviationsJa[$key-1];
- }
-
- function getWeekdayName( $key )
- {
- global $wgWeekdayNamesJa;
- return $wgWeekdayNamesJa[$key-1];
- }
-
# Inherit default userAdjust()
function date( $ts, $adj = false )
"Aladdin.co.kr" => "http://www.aladdin.co.kr/catalog/book.asp?ISBN=$1"
);
-/* private */ $wgWeekdayNamesKo = array(
- "일요일", "월요일", "화요일", "수요일", "목요일",
- "금요일", "토요일"
-);
# (Okay, I think I got it right now. This can be adjusted
"金", "土"
);
-/* private */ $wgMonthNamesKo = array(
- "1월", "2월", "3월", "4월", "5월", "6월",
- "7월", "8월", "9월", "10월", "11월",
- "12월"
-);
-
-/* private */ $wgMonthAbbreviationsKo = array(
- "1", "2", "3", "4", "5", "6", "7", "8",
- "9", "10", "11", "12"
-);
# All special pages have to be listed here: a description of ""
# will make them not show up on the "Special Pages" page, which
/* private */ $wgAllMessagesKo = array(
+# Dates
+
+'sunday' => "일요일",
+'monday' => "월요일",
+'tuesday' => "화요일",
+'wednesday' => "수요일",
+'thursday' => "목요일",
+'friday' => "금요일",
+'saturday' => "토요일",
+'january' => "1월",
+'february' => "2월",
+'march' => "3월",
+'april' => "4월",
+'may_long' => "5월",
+'june' => "6월",
+'july' => "7월",
+'august' => "8월",
+'september' => "9월",
+'october' => "10월",
+'november' => "11월",
+'december' => "12월",
+'jan' => "1",
+'feb' => "2",
+'mar' => "3",
+'apr' => "4",
+'may' => "5",
+'jun' => "6",
+'jul' => "7",
+'aug' => "8",
+'sep' => "9",
+'oct' => "10",
+'nov' => "11",
+'dec' => "12",
# Bits of text used by many pages:
#
"mainpage" => "대문",
return $wgUserTogglesKo;
}
- function getMonthName( $key )
- {
- global $wgMonthNamesKo;
- return $wgMonthNamesKo[$key-1];
- }
-
- function getMonthAbbreviation( $key )
- {
- global $wgMonthAbbreviationsKo;
- return $wgMonthAbbreviationsKo[$key-1];
- }
-
- function getWeekdayName( $key )
- {
- global $wgWeekdayNamesKo;
- return $wgWeekdayNamesKo[$key-1];
- }
-
# Inherit default userAdjust()
function date( $ts, $adj = false )
global $wgWeekdayAbbreviationsKo;
if ( $adj ) { $ts = $this->userAdjust( $ts ); }
- # This is horribly inefficient; I need to rework this
- $x = getdate(mktime(( (int)substr( $ts, 8, 2) ) + $diff,
- (int)substr( $ts, 10, 2 ), (int)substr( $ts, 12, 2 ),
- (int)substr( $ts, 4, 2 ), (int)substr( $ts, 6, 2 ),
- (int)substr( $ts, 0, 4 )));
-
- $d = substr( $ts, 0, 4 ) . "년 " .
+ # This is horribly inefficient; I need to rework this
+ $x = getdate(mktime(( (int)substr( $ts, 8, 2) ) + $diff,
+ (int)substr( $ts, 10, 2 ), (int)substr( $ts, 12, 2 ),
+ (int)substr( $ts, 4, 2 ), (int)substr( $ts, 6, 2 ),
+ (int)substr( $ts, 0, 4 )));
+
+ $d = substr( $ts, 0, 4 ) . "년 " .
$this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . "월 " .
(0 + substr( $ts, 6, 2 )) . "일 " .
"(" . $wgWeekdayAbbreviationsKo[$x["wday"]] . ")";
"Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
);
-/* private */ $wgWeekdayNamesLa = array(
- "dies Solis", "dies Lunae", "dies Martis", "dies Mercuri", "dies Iovis",
- "dies Veneris", "dies Saturni"
-);
-
-/* private */ $wgMonthNamesLa = array(
- "Ianuarii", "Februarii", "Martii", "Aprilis", "Maii", "Iunii",
- "Iulii", "Augusti", "Septembri", "Octobri", "Novembri",
- "Decembri"
-);
-
-/* private */ $wgMonthAbbreviationsLa = array(
- "ian", "feb", "mar", "apr", "mai", "iun", "iul", "aug",
- "sep", "oct", "nov", "dec"
-);
# All special pages have to be listed here: a description of ""
# will make them not show up on the "Special Pages" page, which
);
$wgAllMessagesLa = array(
+# Dates
+
+'sunday' => 'dies Solis',
+'monday' => 'dies Lunae',
+'tuesday' => 'dies Martis',
+'wednesday' => 'dies Mercuri',
+'thursday' => 'dies Iovis',
+'friday' => 'dies Veneris',
+'saturday' => 'dies Saturni',
+'january' => 'Ianuarii',
+'february' => 'Februarii',
+'march' => 'Martii',
+'april' => 'Aprilis',
+'may_long' => 'Maii',
+'june' => 'Iunii',
+'july' => 'Iulii',
+'august' => 'Augusti',
+'september' => 'Septembri',
+'october' => 'Octobri',
+'november' => 'Novembri',
+'december' => 'Decembri',
+'jan' => 'ian',
+'feb' => 'feb',
+'mar' => 'mar',
+'apr' => 'apr',
+'may' => 'mai',
+'jun' => 'iun',
+'jul' => 'iul',
+'aug' => 'aug',
+'sep' => 'sep',
+'oct' => 'oct',
+'nov' => 'nov',
+'dec' => 'dec',
+
# Math
'mw_math_png' => "Semper vertere PNG",
'mw_math_simple' => "HTML si admodum simplex, alioqui PNG",
return $wgUserTogglesLa;
}
- function getMonthName( $key )
- {
- global $wgMonthNamesLa;
- return $wgMonthNamesLa[$key-1];
- }
-
- function getMonthAbbreviation( $key )
- {
- global $wgMonthAbbreviationsLa;
- return $wgMonthAbbreviationsLa[$key-1];
- }
-
- function getWeekdayName( $key )
- {
- global $wgWeekdayNamesLa;
- return $wgWeekdayNamesLa[$key-1];
- }
-
function date( $ts, $adj = false )
{
if ( $adj ) { $ts = $this->userAdjust( $ts ); }
"Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
);
-/* private */ $wgWeekdayNamesMs = array(
- "Ahad", "Isnin", "Selasa", "Rabu", "Khamis",
- "Jumaat", "Sabtu"
-);
-
-/* private */ $wgMonthNamesMs = array(
- "Januari", "Februari", "Mac", "April", "Mei", "Jun",
- "Julai", "Ogos", "September", "Oktober", "November",
- "Disember"
-);
-
-/* private */ $wgMonthAbbreviationsMs = array(
- "Jan", "Feb", "Mac", "Apr", "May", "Jun", "Jul", "Aug",
- "Sep", "Okt", "Nov", "Dis"
-);
# All special pages have to be listed here: a description of ""
# will make them not show up on the "Special Pages" page, which
/* private */ $wgAllMessagesMs = array(
+# Dates
+
+'sunday' => 'Ahad',
+'monday' => 'Isnin',
+'tuesday' => 'Selasa',
+'wednesday' => 'Rabu',
+'thursday' => 'Khamis',
+'friday' => 'Jumaat',
+'saturday' => 'Sabtu',
+'january' => 'Januari',
+'february' => 'Februari',
+'march' => 'Mac',
+'april' => 'April',
+'may_long' => 'Mei',
+'june' => 'Jun',
+'july' => 'Julai',
+'august' => 'Ogos',
+'september' => 'September',
+'october' => 'Oktober',
+'november' => 'November',
+'december' => 'Disember',
+'jan' => 'Jan',
+'feb' => 'Feb',
+'mar' => 'Mac',
+'apr' => 'Apr',
+'may' => 'May',
+'jun' => 'Jun',
+'jul' => 'Jul',
+'aug' => 'Aug',
+'sep' => 'Sep',
+'oct' => 'Okt',
+'nov' => 'Nov',
+'dec' => 'Dis',
+
+
# Bits of text used by many pages:
#
"linktrail" => "/^([a-z]+)(.*)\$/sD",
return $wgUserTogglesMs;
}
- function getMonthName( $key )
- {
- global $wgMonthNamesMs;
- return $wgMonthNamesMs[$key-1];
- }
-
- /* by default we just return base form */
- function getMonthNameGen( $key )
- {
- global $wgMonthNamesMs;
- return $wgMonthNamesMs[$key-1];
- }
-
- function getMonthRegex()
- {
- global $wgMonthNamesMs;
- return implode( "|", $wgMonthNamesMs );
- }
-
- function getMonthAbbreviation( $key )
- {
- global $wgMonthAbbreviationsMs;
- return $wgMonthAbbreviationsMs[$key-1];
- }
-
- function getWeekdayName( $key )
- {
- global $wgWeekdayNamesMs;
- return $wgWeekdayNamesMs[$key-1];
- }
-
function getValidSpecialPages()
{
global $wgValidSpecialPagesMs;