summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Bauer <gb@hugo.westfalen.de>2005-11-16 12:13:28 +0000
committerGeorg Bauer <gb@hugo.westfalen.de>2005-11-16 12:13:28 +0000
commiteda3e2c99a80a94e4bfbb30f13c931523a63746f (patch)
treef0632257a4070e65fe21a927d3a8d55550878634
parent674c0b353ceaace921eb3d1b5b0293b35a41ad2e (diff)
fixed a bug that happened only if the very first gettext call was an ngettext
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/utils/translation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/translation.py b/django/utils/translation.py
index 90b4ed375d..ae9788e56d 100644
--- a/django/utils/translation.py
+++ b/django/utils/translation.py
@@ -247,7 +247,7 @@ def ngettext(singular, plural, number):
return t.ngettext(singular, plural, number)
if _default is None:
from django.conf import settings
- _default = translation('*', settings.LANGUAGE_CODE)
+ _default = translation(settings.LANGUAGE_CODE)
return _default.ngettext(singular, plural, number)
gettext_lazy = lazy(gettext, str)