summaryrefslogtreecommitdiff
path: root/tests/i18n/commands/locale
AgeCommit message (Collapse)Author
2015-12-18Fixed #25915 -- Allowed language not in Django's default LANGUAGESClaude Paroz
This fixes a regression introduced by a5f6cbce07. Thanks Gavin Wahl for the report and Tim Graham for the review.
2015-11-19Fixed #25677 -- Prevented decoding errors in/after Popen callsClaude Paroz
Thanks Gavin Wahl for the report and Tim Graham for the review.
2015-08-12Fixed #24257 -- Corrected i18n handling of percent signs.Doug Beck
Refactored tests to use a sample project. Updated extraction: * Removed special handling of single percent signs. * When extracting messages from template text, doubled all percent signs so they are not interpreted by gettext as string format flags. All strings extracted by gettext, if containing a percent sign, will now be labeled "#, python-format". Updated translation: * Used "%%" for "%" in template text before calling gettext. * Updated {% trans %} rendering to restore "%" from "%%".
2014-12-29Fixed #23271 -- Don't corrupt PO files on Windows when updating them.Ramiro Morales
Make sure PO catalog text fetched from gettext programs via standard output isn't corrupted by mismatch between assumed (UTF-8) and real (CP1252) encodings. This can cause mojibake to be written when creating or updating PO files. Also fixes #23311. Thanks to contributor with Trac nick 'danielmenzel' for the report, excellent research and fix.
2014-11-18Fixed #18714 -- Added 'fuzzy' compilemessages optionAnton Baklanov
2014-02-18Fixed #21732 -- Made compilemessages complain about non-writable locationClaude Paroz
Instead of crashing with a CommandError, now a non-writable location of mo files will only make compilemessages complain and continue. Thanks Ramiro Morales for the review.
2013-02-26Removed a .mo file incorrectly put under Git control.Ramiro Morales
2013-02-26Don't use os.system() in compilemessages.Ramiro Morales
Fixes #19584. This implies stop storing file path command line arguments in envvars as a security measure to start relying on with Popen's shell=False instead, and addition of an 'utils' module. Thanks kmichel_wgs for the report.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner