#28773: manage.py makemessages throws syntax error due to incorrectly generated
django.pot
-------------------------------------+-------------------------------------
     Reporter:  Hendy Irawan         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:                       |                  Version:  1.11
  Internationalization               |
     Severity:  Normal               |               Resolution:
     Keywords:  gettext,             |             Triage Stage:
  makemessages, Windows              |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Hendy Irawan):

 Replying to [comment:5 Claude Paroz]:

 Can you try it on your Debian box:

 eolbug.pot file : (**save it as CRLF EOL**)

 {{{
 #: .\edu\templates\edu\home.html:69
 #: .\edu\templates\edu\music_country.html:34
 #, python-format
 msgid "Hi"
 msgstr ""
 }}}

 then run:

 {{{
 msguniq --to-code=utf-8 eolbug.pot
 }}}

 do you also get the same bug ?

 Even if this is eventually fixed by msguniq, it will take some time.

 In the meantime, can I request Django provide a workaround by always
 writing the pot file using LF EOL?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28773#comment:8>
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/065.de420e6c1297f7eddaf1bfcee747c807%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to