r57476 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57475‎ | r57476 | r57477 >
Date:18:37, 7 October 2009
Author:ialex
Status:ok (Comments)
Tags:
Comment:
Fix for r57299: index starts with 0, not 1 :)
Modified paths:
  • /trunk/phase3/languages/classes/LanguageGa.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/classes/LanguageGa.php
@@ -42,11 +42,11 @@
4343 $forms = $this->preConvertPlural( $forms, 3 );
4444
4545 if ( $count == 1 ) {
 46+ $index = 0;
 47+ } elseif( $count == 2 ) {
4648 $index = 1;
47 - } elseif( $count == 2 ) {
 49+ } else {
4850 $index = 2;
49 - } else {
50 - $index = 3;
5151 }
5252 return $forms[$index];
5353 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57299Update plural forms per http://unicode.org/repos/cldr-tmp/trunk/diff/suppleme......siebrand18:30, 2 October 2009

Comments

#Comment by Nikerabbit (talk | contribs)   10:06, 4 June 2010

Can this be merged to wmf-deployment?

#Comment by Nikerabbit (talk | contribs)   11:37, 4 June 2010

Indeed, please ignore my comment.

Status & tagging log