Ticket #5056: ugettext.3.diff

File ugettext.3.diff, 575 bytes (added by Christopher Lenz <cmlenz@…>, 8 years ago)

Oops, fixed a problem with previous patch

  • django/utils/translation/__init__.py

     
    6161def string_concat(*strings):
    6262    return real_string_concat(*strings)
    6363
    64 ngettext_lazy = lazy(ngettext, str)
    65 gettext_lazy = lazy(gettext, str)
     64ngettext_lazy = lazy(ngettext, unicode)
     65gettext_lazy = lazy(gettext, unicode)
    6666ungettext_lazy = ngettext_lazy
    6767ugettext_lazy = gettext_lazy
    6868string_concat = lazy(string_concat, unicode)
Back to Top