Skip to content
Snippets Groups Projects
Commit 71debe7f authored by Soban Javed's avatar Soban Javed
Browse files

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
parent e41520db
Branches
Tags release-2020-06-04-15.38
No related merge requests found
...@@ -94,7 +94,6 @@ locales: ...@@ -94,7 +94,6 @@ locales:
# The locales used for fake-accented English, for testing. # The locales used for fake-accented English, for testing.
dummy_locales: dummy_locales:
- eo - eo
- fake2
- rtl # Fake testing language for Arabic - rtl # Fake testing language for Arabic
# Directories we don't search for strings. # Directories we don't search for strings.
......
...@@ -1715,7 +1715,6 @@ LANGUAGES = [ ...@@ -1715,7 +1715,6 @@ LANGUAGES = [
('en', 'English'), ('en', 'English'),
('rtl', 'Right-to-Left Test Language'), ('rtl', 'Right-to-Left Test Language'),
('eo', 'Dummy Language (Esperanto)'), # Dummy languaged used for testing ('eo', 'Dummy Language (Esperanto)'), # Dummy languaged used for testing
('fake2', 'Fake translations'), # Another dummy language for testing (not pushed to prod)
('am', 'አማርኛ'), # Amharic ('am', 'አማርኛ'), # Amharic
('ar', 'العربية'), # Arabic ('ar', 'العربية'), # Arabic
......
...@@ -77,8 +77,6 @@ class TestGenerate(TestCase): ...@@ -77,8 +77,6 @@ class TestGenerate(TestCase):
.mo files should exist, and be recently created (modified .mo files should exist, and be recently created (modified
after start of test suite) after start of test suite)
""" """
# Change dummy_locales to not have Esperanto present.
self.configuration.dummy_locales = ['fake2']
generate.main(verbosity=0, strict=False) generate.main(verbosity=0, strict=False)
for locale in self.configuration.translated_locales: for locale in self.configuration.translated_locales:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment