diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-06-27 09:39:47 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-06-28 16:46:18 +0200 |
| commit | 42b9a23267f14be39b9b00958e18d5746783208e (patch) | |
| tree | f19f6a2cd70025744ad9d668a15a0c0a5ed8aac3 /tests/flatpages_tests | |
| parent | 2b03e8e9e8205ae3a3aa128764277e70b7c30803 (diff) | |
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
Diffstat (limited to 'tests/flatpages_tests')
| -rw-r--r-- | tests/flatpages_tests/test_forms.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/flatpages_tests/test_forms.py b/tests/flatpages_tests/test_forms.py index ce9bf449ce..e8ba462ec7 100644 --- a/tests/flatpages_tests/test_forms.py +++ b/tests/flatpages_tests/test_forms.py @@ -51,8 +51,8 @@ class FlatpageAdminFormTests(TestCase): with translation.override('en'): self.assertEqual( form.fields['url'].help_text, - "Example: '/about/contact/'. Make sure to have leading and " - "trailing slashes." + 'Example: “/about/contact/”. Make sure to have leading and ' + 'trailing slashes.' ) self.assertFalse(form.is_valid()) self.assertEqual(form.errors['url'], ["URL is missing a trailing slash."]) @@ -64,7 +64,7 @@ class FlatpageAdminFormTests(TestCase): with translation.override('en'): self.assertEqual( form.fields['url'].help_text, - "Example: '/about/contact'. Make sure to have a leading slash." + 'Example: “/about/contact”. Make sure to have a leading slash.' ) def test_flatpage_admin_form_url_uniqueness_validation(self): |
