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