diff options
author | Carlton Gibson <carlton.gibson@noumenal.es> | 2020-05-28 10:26:41 +0200 |
---|---|---|
committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2020-05-28 11:14:41 +0200 |
commit | 2331417b6b1b1faaa1c04964283a534c66713ba4 (patch) | |
tree | fb90c936c55dbb0713edb2b37883bb2d45c613ce /django/utils/translation/trans_real.py | |
parent | 42de52affe20e399554d984cc7848bf8e0368b41 (diff) | |
download | django-issue/31570.tar.gz |
Fixed #31570 -- Corrected translation loading for apps providing only a subset of supported languages.issue/31570
Regression in e3e48b00127c09eafe6439d980a82fc5c591b673
Thanks to Shai Berger for report, reproduce and suggested fix.
Diffstat (limited to 'django/utils/translation/trans_real.py')
-rw-r--r-- | django/utils/translation/trans_real.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/translation/trans_real.py b/django/utils/translation/trans_real.py index eed4705f6e..8042f6fdc4 100644 --- a/django/utils/translation/trans_real.py +++ b/django/utils/translation/trans_real.py @@ -96,7 +96,7 @@ class TranslationCatalog: cat.update(trans._catalog) break else: - self._catalogs.insert(0, trans._catalog) + self._catalogs.insert(0, trans._catalog.copy()) self._plurals.insert(0, trans.plural) def get(self, key, default=None): |