[FIX]:added missing of parsing of 'help' attribute while synchronizing translations
authorNaresh (OpenERP) <nch@tinyerp.com>
Thu, 21 Apr 2011 09:34:00 +0000 (15:04 +0530)
committerNaresh (OpenERP) <nch@tinyerp.com>
Thu, 21 Apr 2011 09:34:00 +0000 (15:04 +0530)
bzr revid: nch@tinyerp.com-20110421093400-aigxqul71iw2avph

openerp/tools/translate.py

index 6b23ddd..9723135 100644 (file)
@@ -503,6 +503,8 @@ def trans_parse_view(de):
             res.append(de.text.encode("utf8"))
     if de.get("string"):
         res.append(de.get('string').encode("utf8"))
+    if de.get("help"):
+        res.append(de.get('help').encode("utf8"))
     if de.get("sum"):
         res.append(de.get('sum').encode("utf8"))
     if de.get("confirm"):
@@ -993,7 +995,7 @@ def resetlocale():
 def load_language(cr, lang):
     """Loads a translation terms for a language.
     Used mainly to automate language loading at db initialization.
-    
+
     :param lang: language ISO code with optional _underscore_ and l10n flavor (ex: 'fr', 'fr_BE', but not 'fr-BE')
     :type lang: str
     """