[django/django] 11f307: Fixed #23196 -- Short-circuited empty string trans...

3 views
Skip to first unread message

GitHub

unread,
Sep 21, 2014, 11:11:40 AM9/21/14
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 11f307a5a8fa66605652e0496c7385e584bfcad7
https://github.com/django/django/commit/11f307a5a8fa66605652e0496c7385e584bfcad7
Author: Yuri Kriachko <yuriyk...@gmail.com>
Date: 2014-09-21 (Sun, 21 Sep 2014)

Changed paths:
M django/utils/translation/trans_real.py
M tests/i18n/tests.py

Log Message:
-----------
Fixed #23196 -- Short-circuited empty string translation

Translating an empty string used to return the gettext catalog
metadata instead of the empty string.
Thanks Ned Batchelder for the suggestion, Tim Graham for the review
and Anton Berezin and Claude Paroz for contributions to the patch.


Reply all
Reply to author
Forward
0 new messages