Hack for plural to produce correct result, 'patch' by elephantus
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 2 Jan 2006 01:00:38 +0000 (01:00 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 2 Jan 2006 01:00:38 +0000 (01:00 +0000)
languages/LanguageHr.php

index fff07bd..3a2be8f 100644 (file)
@@ -1866,6 +1866,7 @@ class LanguageHr extends LanguageUtf8 {
        }
 
        function convertPlural( $count, $wordform1, $wordform2, $wordform3) {
+               $count = strtr( $count, '.', '' );
                if ($count > 10 && floor(($count % 100) / 10) == 1) {
                        return $wordform3;
                } else {