2004-02-29 09:43:52 +00:00
|
|
|
<?php
|
2006-06-23 22:37:49 +00:00
|
|
|
/** Irish (Gaeilge)
|
|
|
|
|
*
|
2007-01-20 15:09:52 +00:00
|
|
|
* @addtogroup Language
|
2006-06-23 22:37:49 +00:00
|
|
|
*/
|
2004-02-29 09:43:52 +00:00
|
|
|
|
2006-07-26 07:15:39 +00:00
|
|
|
class LanguageGa extends Language {
|
2005-08-19 01:00:29 +00:00
|
|
|
# Convert day names
|
|
|
|
|
# Invoked with {{GRAMMAR:transformation|word}}
|
2006-05-28 18:27:07 +00:00
|
|
|
function convertGrammar( $word, $case ) {
|
2006-05-25 14:31:28 +00:00
|
|
|
global $wgGrammarForms;
|
2006-05-25 20:52:45 +00:00
|
|
|
if ( isset($wgGrammarForms['ga'][$case][$word]) ) {
|
|
|
|
|
return $wgGrammarForms['ga'][$case][$word];
|
2006-05-25 14:31:28 +00:00
|
|
|
}
|
|
|
|
|
|
2006-05-28 18:27:07 +00:00
|
|
|
switch ( $case ) {
|
* Big cleanup:
- Removed obsolote, badly or untranslated messages
- Removed references to wikipedia/wikimedia etc in messages
- Other cleanup, like removing html and javascript and extension calls
- Removed hardcoded namespaces: Tt, Ms, Ia, Ga, Fo, Bn, Csb, He, Nv, Oc, Tlh
- Removed some useless backwards compatibility hacks
- Fixed formatnum on many languages
2006-01-09 20:39:32 +00:00
|
|
|
case 'genitive':
|
|
|
|
|
switch ($word) {
|
2006-01-09 21:53:07 +00:00
|
|
|
case 'Vicipéid': $word = 'Vicipéide'; break;
|
|
|
|
|
case 'Vicífhoclóir': $word = 'Vicífhoclóra'; break;
|
|
|
|
|
case 'Vicíleabhair': $word = 'Vicíleabhar'; break;
|
|
|
|
|
case 'Vicíshliocht': $word = 'Vicíshleachta'; break;
|
|
|
|
|
case 'Vicífhoinse': $word = 'Vicífhoinse'; break;
|
|
|
|
|
case 'Vicíghnéithe': $word = 'Vicíghnéithe'; break;
|
|
|
|
|
case 'Vicínuacht': $word = 'Vicínuachta'; break;
|
* Big cleanup:
- Removed obsolote, badly or untranslated messages
- Removed references to wikipedia/wikimedia etc in messages
- Other cleanup, like removing html and javascript and extension calls
- Removed hardcoded namespaces: Tt, Ms, Ia, Ga, Fo, Bn, Csb, He, Nv, Oc, Tlh
- Removed some useless backwards compatibility hacks
- Fixed formatnum on many languages
2006-01-09 20:39:32 +00:00
|
|
|
}
|
|
|
|
|
|
2005-08-19 01:00:29 +00:00
|
|
|
case 'ainmlae':
|
|
|
|
|
switch ($word) {
|
|
|
|
|
case 'an Domhnach':
|
|
|
|
|
$word = 'Dé Domhnaigh'; break;
|
|
|
|
|
case 'an Luan':
|
|
|
|
|
$word = 'Dé Luain'; break;
|
|
|
|
|
case 'an Mháirt':
|
|
|
|
|
$word = 'Dé Mháirt'; break;
|
|
|
|
|
case 'an Chéadaoin':
|
|
|
|
|
$word = 'Dé Chéadaoin'; break;
|
|
|
|
|
case 'an Déardaoin':
|
|
|
|
|
$word = 'Déardaoin'; break;
|
|
|
|
|
case 'an Aoine':
|
|
|
|
|
$word = 'Dé hAoine'; break;
|
|
|
|
|
case 'an Satharn':
|
|
|
|
|
$word = 'Dé Sathairn'; break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return $word;
|
|
|
|
|
}
|
|
|
|
|
|
2004-02-25 23:55:28 +00:00
|
|
|
}
|
|
|
|
|
|
2004-03-20 15:03:26 +00:00
|
|
|
?>
|