Changes between Initial Version and Version 1 of Ticket #11240
- Timestamp:
- Jun 20, 2009, 5:38:56 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11240 – Description
initial v1 1 1 Reproduce: 2 2 Create a template: 3 {{{ 3 4 {% load i18n %} 4 5 {% trans "findme 10% " %} 6 }}} 5 7 6 run ./manage.py makemessages -a 8 run `./manage.py makemessages -a` 9 7 10 find the string in the .po file and translate it like this: 11 {{{ 8 12 #: templates/test.html:2 9 13 #, python-format 10 14 msgid "findme 10% of their" 11 15 msgstr "findemich 10% an " 16 }}} 12 17 13 run ./manage.py compilemessages18 run `./manage.py compilemessages` 14 19 15 20 get this error message: 21 {{{ 16 22 /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. 17 23 msgfmt: found 1 fatal errors 24 }}}