7 class LanguageGa
extends Language
{
11 * Invoked with {{GRAMMAR:transformation|word}}
17 function convertGrammar( $word, $case ) {
18 global $wgGrammarForms;
19 if ( isset( $wgGrammarForms['ga'][$case][$word] ) ) {
20 return $wgGrammarForms['ga'][$case][$word];
27 $word = 'Dé Domhnaigh'; break;
29 $word = 'Dé Luain'; break;
31 $word = 'Dé Mháirt'; break;
33 $word = 'Dé Chéadaoin'; break;
35 $word = 'Déardaoin'; break;
37 $word = 'Dé hAoine'; break;
39 $word = 'Dé Sathairn'; break;
50 function convertPlural( $count, $forms ) {
51 if ( !count( $forms ) ) { return ''; }
53 // plural forms per http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html#ga
54 $forms = $this->preConvertPlural( $forms, 3 );
58 } elseif ( $count == 2 ) {
63 return $forms[$index];