mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixed typo in makemessages error message.
This commit is contained in:
parent
4659a790cf
commit
501a371411
@ -584,7 +584,7 @@ class Command(BaseCommand):
|
||||
file_path = os.path.normpath(build_files[0].path)
|
||||
raise CommandError(
|
||||
"Unable to find a locale path to store translations for "
|
||||
"file %s. Make sure the 'locale' directory exist in an "
|
||||
"file %s. Make sure the 'locale' directory exists in an "
|
||||
"app or LOCALE_PATHS setting is set." % file_path
|
||||
)
|
||||
for build_file in build_files:
|
||||
|
@ -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…
Reference in New Issue
Block a user