From eda3e2c99a80a94e4bfbb30f13c931523a63746f Mon Sep 17 00:00:00 2001 From: Georg Bauer Date: Wed, 16 Nov 2005 12:13:28 +0000 Subject: [PATCH] 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 --- django/utils/translation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/utils/translation.py b/django/utils/translation.py index 90b4ed375d9..ae9788e56d3 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)