Changes between Initial Version and Version 1 of Ticket #30718


Ignore:
Timestamp:
Aug 20, 2019, 9:51:57 AM (5 years ago)
Author:
Mikail
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30718 – Description

    initial v1  
    6868The crashing line being this one: [https://github.com/django/django/blob/1e429df748867097451bf0b45d1080ae6828d921/django/templatetags/i18n.py#L161 1e429df7488/django/templatetags/i18n.py#L161]
    6969
    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.
     70The 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.
    7171
    7272We 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.
Back to Top