From a92e05ddc8691803593e37742c07e188f2a2f5f1 Mon Sep 17 00:00:00 2001 From: ced <> Date: Tue, 10 Jul 2007 15:25:17 +0000 Subject: [PATCH] kernel: fix lang in report en -> en_US bzr revid: ced-55f535a62bcff8fd6ccccc7e252b5f4ea34682e2 --- bin/report/report_sxw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/report/report_sxw.py b/bin/report/report_sxw.py index 721e32b92a2..88f7c68c789 100644 --- a/bin/report/report_sxw.py +++ b/bin/report/report_sxw.py @@ -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)):