diff --git a/addons/im_livechat/i18n/im_livechat.pot b/addons/im_livechat/i18n/im_livechat.pot index 27b293522f4b35620ff0c88cf03cf8d7eb1a58ef..bdcb126875c90966b7fde28fb4054c1c06010c40 100644 --- a/addons/im_livechat/i18n/im_livechat.pot +++ b/addons/im_livechat/i18n/im_livechat.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 9.0c\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-05-26 11:19+0000\n" -"PO-Revision-Date: 2016-05-26 11:19+0000\n" +"POT-Creation-Date: 2016-05-26 12:06+0000\n" +"PO-Revision-Date: 2016-05-26 12:06+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -419,6 +419,11 @@ msgstr "" msgid "Livechat Support Channel Statistics allows you to easily check and analyse your company livechat session performance. Extract informations about the missed sessions, the audiance, the duration of a session, etc." msgstr "" +#. module: im_livechat +#: model:ir.ui.view,arch_db:im_livechat.support_page +msgid "Livechat Support Page" +msgstr "" + #. module: im_livechat #: model:ir.model,name:im_livechat.model_im_livechat_report_channel #: model:ir.model,name:im_livechat.model_im_livechat_report_operator diff --git a/openerp/tools/translate.py b/openerp/tools/translate.py index a852f05de77da35605c141ffa255683337260252..756edfb61cedb61ec602949bc8627d719b60a7f1 100644 --- a/openerp/tools/translate.py +++ b/openerp/tools/translate.py @@ -32,7 +32,7 @@ _logger = logging.getLogger(__name__) # used to notify web client that these translations should be loaded in the UI WEB_TRANSLATION_COMMENT = "openerp-web" -SKIPPED_ELEMENTS = ('script', 'style', 'title') +SKIPPED_ELEMENTS = ('script', 'style') _LOCALE2WIN32 = { 'af_ZA': 'Afrikaans_South Africa', @@ -231,8 +231,7 @@ class XMLTranslator(object): isinstance(node, SKIPPED_ELEMENT_TYPES) or node.tag in SKIPPED_ELEMENTS or node.get("t-translation", "").strip() == "off" or - node.tag == "attribute" and node.get("name") not in TRANSLATED_ATTRS or - not node.getparent() and node.text and '<!DOCTYPE' in node.text + node.tag == "attribute" and node.get("name") not in TRANSLATED_ATTRS ): # do not translate the contents of the node tail, node.tail = node.tail, None