mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Converted usage of ugettext* functions to their gettext* aliases
Thanks Tim Graham for the review.
This commit is contained in:
parent
4353640ea9
commit
c651331b34
129 changed files with 362 additions and 355 deletions
|
@ -99,6 +99,4 @@ class FlatpageAdminFormTests(TestCase):
|
|||
|
||||
self.assertFalse(f.is_valid())
|
||||
|
||||
self.assertEqual(
|
||||
f.errors,
|
||||
{'sites': [translation.ugettext('This field is required.')]})
|
||||
self.assertEqual(f.errors, {'sites': [translation.gettext('This field is required.')]})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue