Locale: Fix bug with last patch
This commit is contained in:
parent
2c8f219c50
commit
ee5e80894c
|
@ -35,7 +35,7 @@ import Exceptions
|
||||||
|
|
||||||
import locale
|
import locale
|
||||||
(lang, charset) = locale.getdefaultlocale()
|
(lang, charset) = locale.getdefaultlocale()
|
||||||
if lang = None or lang == "en":
|
if lang == None or lang == "en":
|
||||||
def _(string): return string
|
def _(string): return string
|
||||||
else:
|
else:
|
||||||
import gettext
|
import gettext
|
||||||
|
|
Loading…
Reference in New Issue
Block a user