Merge pull request #28920 from edx/iamsobanjaved/django-32-fake-lang-fix

fix: remove fake2 language from django settings
This commit is contained in:
Awais Qureshi
2021-10-04 23:06:40 +05:00
committed by GitHub
3 changed files with 0 additions and 4 deletions

View File

@@ -94,7 +94,6 @@ locales:
# The locales used for fake-accented English, for testing.
dummy_locales:
- eo
- fake2
- rtl # Fake testing language for Arabic
# Directories we don't search for strings.

View File

@@ -1715,7 +1715,6 @@ LANGUAGES = [
('en', 'English'),
('rtl', 'Right-to-Left Test Language'),
('eo', 'Dummy Language (Esperanto)'), # Dummy languaged used for testing
('fake2', 'Fake translations'), # Another dummy language for testing (not pushed to prod)
('am', 'አማርኛ'), # Amharic
('ar', 'العربية'), # Arabic

View File

@@ -77,8 +77,6 @@ class TestGenerate(TestCase):
.mo files should exist, and be recently created (modified
after start of test suite)
"""
# Change dummy_locales to not have Esperanto present.
self.configuration.dummy_locales = ['fake2']
generate.main(verbosity=0, strict=False)
for locale in self.configuration.translated_locales: