kernel: fix lang in report en -> en_US

bzr revid: ced-55f535a62bcff8fd6ccccc7e252b5f4ea34682e2
This commit is contained in:
ced
2007-07-10 15:25:17 +00:00
parent 38cfe6927a
commit a92e05ddc8
+1 -1
View File
@@ -175,7 +175,7 @@ class rml_parse(object):
# translate the RML file
if 'lang' in self.localcontext:
lang = self.localcontext['lang']
if lang not in (False, 'en') and text and not text.isspace():
if lang not in (False, 'en_US') and text and not text.isspace():
transl_obj = self.pool.get('ir.translation')
piece_list = self._transl_regex.split(text)
for pn in range(len(piece_list)):