diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/othertests/templates.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/othertests/templates.py b/tests/othertests/templates.py index 0204303bbd..509aa29a3e 100644 --- a/tests/othertests/templates.py +++ b/tests/othertests/templates.py @@ -241,6 +241,9 @@ TEMPLATE_TESTS = { # simple non-translation (only marking) of a string to german 'i18n10': ('{% i18n gettext_noop("Page not found") %}', {'LANGUAGE_CODE': 'de'}, "Page not found"), + + # translation of string without i18n tag + 'i18n11': ('{{ _("blah") }}', {}, "blah"), } # This replaces the standard template_loader. |
