summaryrefslogtreecommitdiff
path: root/addons/web_dashboard/static/src/js/dashboard.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-02-14 15:29:54 +0100
committerXavier Morel <xmo@openerp.com>2012-02-14 15:29:54 +0100
commit980e2825d56480b4650b77e0b4e5b5f4e1e6a385 (patch)
tree2566bd7adb36cbf20ada7ef06cc964814915483e /addons/web_dashboard/static/src/js/dashboard.js
parent7d84dbc11890c6451d91ba43682074b98935e8d6 (diff)
[IMP] get translated JS strings outside of QWeb attributes as the corresponding extractor does not actually work, export POTs
bzr revid: xmo@openerp.com-20120214142954-4ndkj63pog39ts0k
Diffstat (limited to 'addons/web_dashboard/static/src/js/dashboard.js')
-rw-r--r--addons/web_dashboard/static/src/js/dashboard.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/web_dashboard/static/src/js/dashboard.js b/addons/web_dashboard/static/src/js/dashboard.js
index 2babbda1716..1ebc987c9f6 100644
--- a/addons/web_dashboard/static/src/js/dashboard.js
+++ b/addons/web_dashboard/static/src/js/dashboard.js
@@ -320,7 +320,10 @@ openerp.web_dashboard.ConfigOverview = openerp.web.View.extend({
.value();
this.$element.html(QWeb.render('ConfigOverview.content', {
completion: 100 * progress.done / progress.total,
- groups: grouped_todos
+ groups: grouped_todos,
+ task_title: _t("Execute task \"%s\""),
+ checkbox_title: _t("Mark this task as done"),
+ _: _
}));
var $progress = this.$element.find('div.oe-config-progress-bar');
$progress.progressbar({value: $progress.data('completion')});