summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-18 01:58:59 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-18 01:58:59 +0000
commit6e84c132a2690984bf7fe73bfe758e2a8db4099f (patch)
treedd9de077f44ff181ca653e331569e6444ddbc24e
parent808206043471d88b574f05395faf272af7648702 (diff)
Fix for ticket #142. Valiant: u might want to check the implications
of this.
-rw-r--r--core/libraries/I18n.php2
1 files changed, 1 insertions, 1 deletions
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);