Ticket #6325: 6325_tests.diff
File 6325_tests.diff, 776 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") }}', {'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'),