Changes between Initial Version and Version 1 of Ticket #30718
- Timestamp:
- Aug 20, 2019, 9:51:57 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30718 – Description
initial v1 68 68 The crashing line being this one: [https://github.com/django/django/blob/1e429df748867097451bf0b45d1080ae6828d921/django/templatetags/i18n.py#L161 1e429df7488/django/templatetags/i18n.py#L161] 69 69 70 The PO compiler doesn't check the validity of the provided translation as the flag [https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html python-format] flag is not generated in the PO file is not set.70 The PO compiler doesn't check the validity of the provided translation as the flag [https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html python-format] is not set in the PO file. 71 71 72 72 We should whether not try to format the string if there is no variable, or force the `python-format` flag to be set to prevent translators from breaking the templates.