http://www.mediawiki.org/wiki/Special:Code/MediaWiki/98619
Revision: 98619 Author: santhosh Date: 2011-10-01 18:42:36 +0000 (Sat, 01 Oct 2011) Log Message: ----------- Fix Bug 29299 - Zero should be considered plural for pt-br Modified Paths: -------------- trunk/phase3/resources/mediawiki.language/languages/pt-br.js Modified: trunk/phase3/resources/mediawiki.language/languages/pt-br.js =================================================================== --- trunk/phase3/resources/mediawiki.language/languages/pt-br.js 2011-10-01 18:20:31 UTC (rev 98618) +++ trunk/phase3/resources/mediawiki.language/languages/pt-br.js 2011-10-01 18:42:36 UTC (rev 98619) @@ -4,7 +4,7 @@ mediaWiki.language.convertPlural = function( count, forms ) { forms = mediaWiki.language.preConvertPlural( forms, 2 ); - return ( count <= 1 ) ? forms[0] : forms[1]; + return ( count == 1 ) ? forms[0] : forms[1]; }; mediaWiki.language.digitTransformTable = { _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs