mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed typo in makemessages error message.
This commit is contained in:
committed by
Mariusz Felisiak
parent
4659a790cf
commit
501a371411
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user