From 6e84c132a2690984bf7fe73bfe758e2a8db4099f Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 18 Mar 2009 01:58:59 +0000 Subject: Fix for ticket #142. Valiant: u might want to check the implications of this. --- core/libraries/I18n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/libraries/I18n.php b/core/libraries/I18n.php index 546919b9..7bb2eff6 100644 --- a/core/libraries/I18n.php +++ b/core/libraries/I18n.php @@ -189,7 +189,7 @@ class I18n_Core { if (!is_array($entry)) { return $entry; } else if ($count == null) { - $count = 1; + $count = $locale == "en" ? 0 : 1; } $plural_key = self::get_plural_key($locale, $count); -- cgit v1.2.3