Commit e1b5c5e9 authored by Jérome Perrin's avatar Jérome Perrin

officejs_support_request_ui: translate "no worklist" on front page

parent 2a824bae
<!DOCTYPE html>
<html>
<!--
data-i18n=Worklist
data-i18n=All work caught up!
-->
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
......@@ -28,7 +24,7 @@
{{/each}}
</ul>
{{else}}
<p>All work caught up!</p>
<p data-i18n="All work caught up!">All work caught up!</p>
{{/if}}
</script>
......
......@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1506514266.01</float>
<float>1602167870.1</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -78,8 +78,12 @@
count: result_list[i][2]
});
}
gadget.element.querySelector('.document_list').innerHTML = table_template({
document_list: line_list
return gadget.translateHtml(
table_template({
document_list: line_list
})
).push(function (html) {
gadget.element.querySelector('.document_list').innerHTML = html;
});
});
});
......
......@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1506505200.17</float>
<float>1602167855.22</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment