Changes between Initial Version and Version 1 of Ticket #29452, comment 6
- Timestamp:
- Jun 7, 2018, 5:41:52 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29452, comment 6
initial v1 4 4 {{{ 5 5 #!diff 6 diff --git a/tests/i18n/commands/templates/test.html b/tests/i18n/commands/templates/test.html7 index cac034e..3868dc1 1006448 --- a/tests/i18n/commands/templates/test.html9 +++ b/tests/i18n/commands/templates/test.html10 @@ -105,3 +105,5 @@ Plural for a `trans` and `blocktrans` collision case11 {% endblocktrans %}12 13 {% trans "Non-breaking space :" %}14 +15 +{% trans "Nón-ÁSCÍÏ text" %}16 6 diff --git a/tests/i18n/test_extraction.py b/tests/i18n/test_extraction.py 17 index d9ce3b4.. e7557fc1006447 index d9ce3b4..a0d16b9 100644 18 8 --- a/tests/i18n/test_extraction.py 19 9 +++ b/tests/i18n/test_extraction.py 20 @@ -394,6 +394,14 @@ class BasicExtractorTests(ExtractorTests): 10 @@ -128,6 +128,8 @@ class ExtractorTests(POFileAssertionMixin, RunInTmpDirMixin, SimpleTestCase): 11 12 class BasicExtractorTests(ExtractorTests): 13 14 + POT_FILE = 'locale/django.pot' 15 + 16 @override_settings(USE_I18N=False) 17 def test_use_i18n_false(self): 18 """ 19 @@ -394,6 +396,14 @@ class BasicExtractorTests(ExtractorTests): 21 20 po_contents = fp.read() 22 21 self.assertMsgStr("Größe", po_contents) … … 32 31 33 32 class JavascriptExtractorTests(ExtractorTests): 34 33 35 34 }}} 36 35