#30718: blocktrans is crashing when using percent signs when no variables were
supplied.
-------------------------------------+-------------------------------------
     Reporter:  NyanKiyoshi          |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:                       |                  Version:  master
  Internationalization               |
     Severity:  Normal               |               Resolution:
     Keywords:  i18n blocktrans      |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by felixxm):

 * cc: Claude Paroz (added)
 * version:  2.2 => master


Comment:

 Thanks for the report, it looks like an edge case. Setting `python-format`
 for all messages is not an option IMO, we also (probably) are not able to
 check message flags at this point. Double percent signs of course fix this
 issue:
 {{{
 msgstr "%% imposto * preço"
 }}}
 I don't think that there is much we can do here.

 Claude, do you have any ideas?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30718#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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.173c1ecbd188cf0fdd574d373258197f%40djangoproject.com.

Reply via email to