Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit eda3e2c99a80a94e4bfbb30f13c931523a63746f 1 parent 674c0b3
authored November 16, 2005

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/utils/translation.py
2  django/utils/translation.py
@@ -247,7 +247,7 @@ def ngettext(singular, plural, number):
247 247
         return t.ngettext(singular, plural, number)
248 248
     if _default is None:
249 249
         from django.conf import settings
250  
-        _default = translation('*', settings.LANGUAGE_CODE)
  250
+        _default = translation(settings.LANGUAGE_CODE)
251 251
     return _default.ngettext(singular, plural, number)
252 252
 
253 253
 gettext_lazy = lazy(gettext, str)

0 notes on commit eda3e2c

Please sign in to comment.
Something went wrong with that request. Please try again.