From: Alexandre Emsenhuber Date: Wed, 7 Oct 2009 18:37:09 +0000 (+0000) Subject: Fix for r57299: index starts with 0, not 1 :) X-Git-Tag: 1.31.0-rc.0~39356 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=6126fae5e92cc18f6f6095d0983b22bcb372b002;p=lhc%2Fweb%2Fwiklou.git Fix for r57299: index starts with 0, not 1 :) --- diff --git a/languages/classes/LanguageGa.php b/languages/classes/LanguageGa.php index 0ac7a408d1..344fdc840c 100644 --- a/languages/classes/LanguageGa.php +++ b/languages/classes/LanguageGa.php @@ -42,11 +42,11 @@ class LanguageGa extends Language { $forms = $this->preConvertPlural( $forms, 3 ); if ( $count == 1 ) { - $index = 1; + $index = 0; } elseif( $count == 2 ) { - $index = 2; + $index = 1; } else { - $index = 3; + $index = 2; } return $forms[$index]; }