diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js
index 86280f1cf30..9fda4752a36 100644
--- a/addons/web/static/src/js/chrome.js
+++ b/addons/web/static/src/js/chrome.js
@@ -1079,9 +1079,10 @@ openerp.web.WebClient = openerp.web.OldWidget.extend(/** @lends openerp.web.WebC
self.action_manager = new openerp.web.ActionManager(self);
self.action_manager.appendTo($("#oe_app"));
self.bind_hashchange();
+ var version_label = _t("OpenERP - Unsupported/Community Version");
if (!self.session.openerp_entreprise) {
- self.$element.find('.oe_footer_powered').append(' - Unsupported/Community Version');
- document.title = _t("OpenERP - Unsupported/Community Version");
+ self.$element.find('.oe_footer_powered').append(_.str.sprintf(' - %s', version_label));
+ document.title = version_label;
}
});
},
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 8a8e39e0b7e..a504d9f09a4 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -422,7 +422,7 @@
-
diff --git a/addons/web_dashboard/static/src/js/dashboard.js b/addons/web_dashboard/static/src/js/dashboard.js
index ec2975d48d4..b8cdaf768ad 100644
--- a/addons/web_dashboard/static/src/js/dashboard.js
+++ b/addons/web_dashboard/static/src/js/dashboard.js
@@ -313,7 +313,7 @@ openerp.web_dashboard.ConfigOverview = openerp.web.View.extend({
name: record.action_id[1],
done: record.state !== 'open',
to_do: record.state === 'open',
- category: record['category_id'][1] || "Uncategorized"
+ category: record['category_id'][1] || _t("Uncategorized")
}
})
.groupBy(function (record) {return record.category})
diff --git a/npybabel.py b/npybabel.py
index 24a97be2cac..8b582e17e5a 100755
--- a/npybabel.py
+++ b/npybabel.py
@@ -74,6 +74,9 @@ def extract_qweb(fileobj, keywords, comment_tags, options):
not ("t-jquery" in el.attrib and "t-operation" not in el.attrib) and \
not ("t-translation" in el.attrib and el.attrib["t-translation"].strip() == "off"):
handle_text(el.text, el.sourceline)
+ for att in ('title', 'alt', 'label'):
+ if att in el.attrib:
+ handle_text(el.attrib[att], el.sourceline)
iter_elements(el)
handle_text(el.tail, el.sourceline)