mirror of
https://github.com/django/django.git
synced 2025-10-21 15:52:54 +00:00
Fixed typo in makemessages error message.
This commit is contained in:
parent
4659a790cf
commit
501a371411
2 changed files with 3 additions and 3 deletions
|
@ -760,8 +760,8 @@ class CustomLayoutExtractionTests(ExtractorTests):
|
|||
def test_no_locale_raises(self):
|
||||
msg = (
|
||||
"Unable to find a locale path to store translations for file "
|
||||
"__init__.py. Make sure the 'locale' directory exist in an app or "
|
||||
"LOCALE_PATHS setting is set."
|
||||
"__init__.py. Make sure the 'locale' directory exists in an app "
|
||||
"or LOCALE_PATHS setting is set."
|
||||
)
|
||||
with self.assertRaisesMessage(management.CommandError, msg):
|
||||
management.call_command('makemessages', locale=[LOCALE], verbosity=0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue