summaryrefslogtreecommitdiff
path: root/addons/web_dashboard/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_dashboard/static/src')
-rw-r--r--addons/web_dashboard/static/src/js/dashboard.js5
-rw-r--r--addons/web_dashboard/static/src/xml/web_dashboard.xml4
2 files changed, 6 insertions, 3 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')});
diff --git a/addons/web_dashboard/static/src/xml/web_dashboard.xml b/addons/web_dashboard/static/src/xml/web_dashboard.xml
index 4db96d5ebbe..9a9c0486400 100644
--- a/addons/web_dashboard/static/src/xml/web_dashboard.xml
+++ b/addons/web_dashboard/static/src/xml/web_dashboard.xml
@@ -72,10 +72,10 @@
<li t-foreach="category_value" t-as="todo"
t-att-class="todo.done ? 'oe-done' : undefined"
t-att-data-id="todo.id"
- t-att-title="!todo.done ? 'Execute task \'' + todo.name + '\'' : undefined">
+ t-att-title="!todo.done ? _.str.sprintf(task_title, todo.name) : undefined">
<span style="text-decoration: underline;"><t t-esc="todo.name"/></span>
<input type="checkbox" t-att-value="todo.id"
- t-att-title="!todo.done ? 'Mark this task as done' : undefined"
+ t-att-title="!todo.done ? checkbox_title : undefined"
t-att-checked="todo.done ? 'checked' : undefined"/>
</li>
</ul></dd>