MediaWiki
REL1_22
|
00001 <?php 00029 class LanguageGa extends Language { 00030 00039 function convertGrammar( $word, $case ) { 00040 global $wgGrammarForms; 00041 if ( isset( $wgGrammarForms['ga'][$case][$word] ) ) { 00042 return $wgGrammarForms['ga'][$case][$word]; 00043 } 00044 00045 switch ( $case ) { 00046 case 'ainmlae': 00047 switch ( $word ) { 00048 case 'an Domhnach': 00049 $word = 'Dé Domhnaigh'; 00050 break; 00051 case 'an Luan': 00052 $word = 'Dé Luain'; 00053 break; 00054 case 'an Mháirt': 00055 $word = 'Dé Mháirt'; 00056 break; 00057 case 'an Chéadaoin': 00058 $word = 'Dé Chéadaoin'; 00059 break; 00060 case 'an Déardaoin': 00061 $word = 'Déardaoin'; 00062 break; 00063 case 'an Aoine': 00064 $word = 'Dé hAoine'; 00065 break; 00066 case 'an Satharn': 00067 $word = 'Dé Sathairn'; 00068 break; 00069 } 00070 } 00071 return $word; 00072 } 00073 00074 }