fix: remove fake2 language from django settings
This was causing issue with Django 3.2, as Django has restricted to only use language from the pre-defined set of languages provided by Django. BOM-2870
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user