Permalink
Browse files

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
  • Loading branch information...
1 parent 674c0b3 commit eda3e2c99a80a94e4bfbb30f13c931523a63746f Georg Bauer committed Nov 16, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/utils/translation.py
View
2 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)

0 comments on commit eda3e2c

Please sign in to comment.