[IMP] get translated JS strings outside of QWeb attributes as the corresponding extra...
[odoo/odoo.git] / addons / web_dashboard / static / src / xml / web_dashboard.xml
index 4db96d5..9a9c048 100644 (file)
                 <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>