#23840: Confusing message from makemessages
--------------------------------------+------------------------------------
     Reporter:  takis                 |                    Owner:  iljamaas
         Type:  Bug                   |                   Status:  assigned
    Component:  Internationalization  |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  1                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by iljamaas):

 * owner:  nobody => iljamaas
 * status:  new => assigned


Comment:

 While looking into patching this I found out some IMHO strange behaviour.

 If no --extension or --domain is provided makemessages claims to be
 handling  .txt and .html files  ( via --verbosity=2 )

 That is not really true as it is also handling all .py files.
 Actually forcing --extension=html also gets the .py files handled

 My patch changes this back to actually only handling the extensions
 specified or .html .txt and .py if nothing is specified.

 If using this, the find_files can skip all unwanted/unknown extensions,
 even before diving into the TranslatableFiles

--
Ticket URL: <https://code.djangoproject.com/ticket/23840#comment:2>
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/063.f4d209ed20434f649cc87165ff555d8e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to