Refs #29926 -- Removed usage of gettext.translation()'s deprecated codeset parameter.
https://bugs.python.org/issue33710
This commit is contained in:
parent
0ce2ad9ca4
commit
803840abf7
|
@ -120,7 +120,6 @@ class DjangoTranslation(gettext_module.GNUTranslations):
|
||||||
domain=self.domain,
|
domain=self.domain,
|
||||||
localedir=localedir,
|
localedir=localedir,
|
||||||
languages=[self.__locale],
|
languages=[self.__locale],
|
||||||
codeset='utf-8',
|
|
||||||
fallback=use_null_fallback,
|
fallback=use_null_fallback,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue