diff options
Diffstat (limited to 'languages/classes/LanguageGa.php')
-rw-r--r-- | languages/classes/LanguageGa.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/classes/LanguageGa.php b/languages/classes/LanguageGa.php index 344fdc84..a55e5f30 100644 --- a/languages/classes/LanguageGa.php +++ b/languages/classes/LanguageGa.php @@ -9,13 +9,13 @@ class LanguageGa extends Language { # Invoked with {{GRAMMAR:transformation|word}} function convertGrammar( $word, $case ) { global $wgGrammarForms; - if ( isset($wgGrammarForms['ga'][$case][$word]) ) { + if ( isset( $wgGrammarForms['ga'][$case][$word] ) ) { return $wgGrammarForms['ga'][$case][$word]; } switch ( $case ) { case 'ainmlae': - switch ($word) { + switch ( $word ) { case 'an Domhnach': $word = 'Dé Domhnaigh'; break; case 'an Luan': @@ -36,14 +36,14 @@ class LanguageGa extends Language { } function convertPlural( $count, $forms ) { - if ( !count($forms) ) { return ''; } + if ( !count( $forms ) ) { return ''; } // plural forms per http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html#ga $forms = $this->preConvertPlural( $forms, 3 ); if ( $count == 1 ) { $index = 0; - } elseif( $count == 2 ) { + } elseif ( $count == 2 ) { $index = 1; } else { $index = 2; |