Tweak
authorJan Schneider <jan@horde.org>
Mon, 11 Oct 2010 14:20:52 +0000 (16:20 +0200)
committerJan Schneider <jan@horde.org>
Wed, 13 Oct 2010 00:30:03 +0000 (02:30 +0200)
framework/Translation/lib/Horde/Translation/Gettext.php

index aff5cd5..e4f06e4 100644 (file)
@@ -77,6 +77,6 @@ class Horde_Translation_Gettext implements Horde_Translation
     {
         return $this->_gettext
           ? dngettext($this->_domain, $singular, $plural, $number)
-          : ($number == 1 ? $singular : $plural);
+          : ($number > 1 ? $plural : $singular);
     }
 }