django/tests/regressiontests/i18n/commands
Tai Lee 23b234a9d9 [1.5.x] Fixed #20354 -- `makemessages` no longer crashes with `UnicodeDecodeError`
Handle the `UnicodeDecodeError` exception, send a warning to `stdout` with the
file name and location, and continue processing other files.
Backport of 99a6f0e77 from master.
2013-05-07 21:36:51 +02:00
..
ignore_dir Consolidated i18n commands test with the rest of the i18n tests. 2010-10-10 22:19:01 +00:00
locale Added files missing from commit [17190] 2011-12-11 00:09:30 +00:00
templates Fixed #18881 -- Made the context option in {% trans %} and {% blocktrans %} accept literals wrapped in single quotes. Thanks to lanyjie for the report. 2012-09-27 20:34:45 -07:00
__init__.py Fixed #10004 and #12320 -- Enabled the makemessages management command to collect comments for translators that start with the "Translators" keyword. Thanks for the report and patches, martinb and Claude Paroz. 2010-11-17 15:37:33 +00:00
code.sample Fixed #18479 -- Stopped makemessages raising error on gettext warnings 2012-07-18 20:43:35 +02:00
compilation.py [1.5.x] Fixed #19357 -- Allow non-ASCII chars in filesystem paths 2012-12-08 11:16:03 +01:00
extraction.py [1.5.x] Fixed #20354 -- `makemessages` no longer crashes with `UnicodeDecodeError` 2013-05-07 21:36:51 +02:00
javascript.js Fixed #7704, #14045 and #15495 -- Introduce a lexer for Javascript to fix multiple problems of the translation of Javascript files with xgettext. Many thanks to Ned Batchelder for his contribution of the JsLex library. 2011-06-07 16:11:25 +00:00
not_utf8.sample [1.5.x] Fixed #20354 -- `makemessages` no longer crashes with `UnicodeDecodeError` 2013-05-07 21:36:51 +02:00
tests.py [py3] Replaced basestring by six.string_types. 2012-07-22 09:29:54 +02:00