#4695: xgettext skips some translation strings in javascript files
-------------------------------------------+--------------------------------
          Reporter:  v...@voy.cz            |         Owner:  nobody
            Status:  new                   |     Milestone:        
         Component:  Internationalization  |       Version:  SVN   
        Resolution:                        |      Keywords:        
             Stage:  Accepted              |     Has_patch:  1     
        Needs_docs:  0                     |   Needs_tests:  0     
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Changes (by seveas):

  * has_patch:  0 => 1
  * version:  0.96 => SVN

Comment:

 This one-line fix against current trunk (11227) would solve the problem.

 {{{
 #!diff
 Index: core/management/commands/makemessages.py
 ===================================================================
 --- core/management/commands/makemessages.py    (revision 11227)
 +++ core/management/commands/makemessages.py    (working copy)
 @@ -17,7 +17,7 @@
  # still sensible for us to use it, since subprocess didn't exist in 2.3.
  warnings.filterwarnings('ignore', category=DeprecationWarning,
 message=r'os\.popen3')

 -pythonize_re = re.compile(r'\n\s*//')
 +pythonize_re = re.compile(r'(?:^|\n)\s*//')

  def handle_extensions(extensions=('html',)):
      """
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4695#comment:5>
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