Ticket #6326: 6326_tests.diff
File 6326_tests.diff, 782 bytes (added by , 17 years ago) |
---|
-
tests/regressiontests/templates/tests.py
736 736 'i18n09': ('{% load i18n %}{% trans "Page not found" noop %}', {'LANGUAGE_CODE': 'de'}, "Page not found"), 737 737 738 738 # translation of a variable with a translated filter 739 'i18n10': ('{{ bool|yesno:_(" ja,nein") }}', {'bool': True}, 'ja'),739 'i18n10': ('{{ bool|yesno:_("yes,no,maybe") }}', {'bool': True, 'LANGUAGE_CODE': 'de'}, 'Ja'), 740 740 741 741 # translation of a variable with a non-translated filter 742 742 'i18n11': ('{{ bool|yesno:"ja,nein" }}', {'bool': True}, 'ja'),