#11240: Compilemessages fails if a % character is at certain places in the .po 
file
----------------------------------+-----------------------------------------
 Reporter:  tback                 |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  Internationalization  |     Version:  1.0       
 Keywords:                        |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 Reproduce:
 Create a template:
 {% load i18n %}
 {% trans "findme 10% " %}

 run ./manage.py makemessages -a
 find the string in the .po file and translate it like this:
 #: templates/test.html:2
 #, python-format
 msgid "findme 10% of their"
 msgstr "findemich 10% an "

 run ./manage.py compilemessages

 get this error message:
 /project/locale/de/LC_MESSAGES/django.po:925: 'msgstr' is not a valid
 Python format string, unlike 'msgid'. Reason: In the directive number 1,
 the character 'a' is not a valid conversion specifier.
 msgfmt: found 1 fatal errors

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11240>
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to