diff options
| author | Georg Bauer <gb@hugo.westfalen.de> | 2005-10-01 13:05:57 +0000 |
|---|---|---|
| committer | Georg Bauer <gb@hugo.westfalen.de> | 2005-10-01 13:05:57 +0000 |
| commit | 2c6e366f0ae5cb8167f992adb7d43c0f95fc4018 (patch) | |
| tree | c00ee224ab73e4f8b9d05096b3c9fdd509ba29fa /tests | |
| parent | 26bc142f8727e694aae79c690a0549d28b0bb2d9 (diff) | |
i18n: the i18n tag now supports gettext_noop. unittests updated.
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
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 f848863f4b..0204303bbd 100644 --- a/tests/othertests/templates.py +++ b/tests/othertests/templates.py @@ -238,6 +238,9 @@ TEMPLATE_TESTS = { # translation of plural form 'i18n09': ('{% i18n ngettext("singular", "plural", count) %}', {'count': 2}, "plural"), + + # simple non-translation (only marking) of a string to german + 'i18n10': ('{% i18n gettext_noop("Page not found") %}', {'LANGUAGE_CODE': 'de'}, "Page not found"), } # This replaces the standard template_loader. |
