1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #18393 -- Prevented blocktrans to crash when a variable name is badly formatted.

This commit is contained in:
Julien Phalip
2012-05-28 11:03:34 -07:00
parent a535040bfa
commit 432339a72c
4 changed files with 22 additions and 2 deletions

View File

@@ -17,5 +17,11 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: template.html:3
# Note: Intentional: variable name is translated.
msgid "My name is %(person)s."
msgstr "Mon nom est %(personne)s."
#: template.html:3
# Note: Intentional: the variable name is badly formatted (missing 's' at the end)
msgid "My other name is %(person)s."
msgstr "Mon autre nom est %(person)."