#26341: Weird comments in PO files (.html.py filenames)
--------------------------------------+--------------------
     Reporter:  sylvain-garancher     |      Owner:  nobody
         Type:  Bug                   |     Status:  new
    Component:  Internationalization  |    Version:  1.9
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 I just upgraded Django to 1.9.4 from 1.8.10, and sometimes, the filenames
 in PO files comments contain ".html.py" extensions.

 This is visible on django's main repository :
 
https://github.com/django/django/blob/ae4d932b1ac12651a7c57d89742c25483ee8c9f9/django/contrib/admin/locale/en/LC_MESSAGES/django.po#L282
 
https://github.com/django/django/blob/4323676ea5ab6994feb1385522665069d84f397b/django/contrib/admin/locale/en/LC_MESSAGES/django.po#L302

 In this example, the "contrib/admin/templates/admin/base_site.html" file
 is now named "contrib/admin/templates/admin/base_site.html.py" (with a
 trailing ".py") in the po file.
 This seems to appear only on lines with a python file before the template
 html file.

 claudep found that this could be the faulty commit :
 https://github.com/django/django/commit/e75882332c

--
Ticket URL: <https://code.djangoproject.com/ticket/26341>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/060.da1cdc92e1af8a6b901a352f68562235%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to