#7704: JS comments put after statements break make-messages.py output
-------------------------------------+-------------------------------------
               Reporter:  robbyd     |        Owner:  nedbatchelder
                   Type:  Bug        |       Status:  assigned
              Milestone:             |    Component:  Internationalization
                Version:  1.0        |     Severity:  Normal
             Resolution:             |     Keywords:  djangojs, make-
           Triage Stage:  Accepted   |  messages
    Needs documentation:  0          |    Has patch:  1
Patch needs improvement:  1          |  Needs tests:  0
-------------------------------------+-------------------------------------

Comment (by Marc Demierre <marc.demierre@…>):

 As the actual documentation does not even state that there are limitations
 with the message extraction from javascript files, I think that this patch
 should be used at least until the transition to Babel. The expected
 behaviour is to extract all messages wrapped in the gettext() function.

 The only real solution to the current problem for a developer is not to
 use the makemessages utility for javascript at all. I think that using the
 patch would be better than that.

 If the patch is not accepted, I propose to update the documentation to
 clearly state that javacript parsing is a hack and that it is not working
 properly.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/7704#comment:17>
Django <http://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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to