Bug fixes: Make fpdb run after my previous patches damage

This commit is contained in:
Worros 2010-09-22 23:18:36 +08:00
parent ee5e80894c
commit 0ce0c13dd0
2 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ import Exceptions
import locale
(lang, charset) = locale.getdefaultlocale()
if lang == None or lang == "en":
if lang == None or lang[:2] == "en":
def _(string): return string
else:
import gettext