Skip to content
Snippets Groups Projects
Commit e81261e6 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Make all the buttons translatable

So we can easily change them and don't have to depend on datatables.
parent 9fa358e9
No related branches found
No related tags found
No related merge requests found
{
"print": "Drucken",
"export-excel": "Excel Export",
"export-csv": "CSV Export"
}
\ No newline at end of file
{
"print": "Print",
"export-excel": "Excel Export",
"export-csv": "CSV Export"
}
\ No newline at end of file
......@@ -98,21 +98,21 @@ class DataTableView extends LitElement {
buttons: [
{
extend: 'csvHtml5',
text: 'CSV',
text: i18n.t('export-csv'),
title: this.exportName,
filename: this.exportName,
className: 'button is-small',
},
{
extend: 'excelHtml5',
text: 'XSLX',
text: i18n.t('export-excel'),
title: this.exportName,
filename: this.exportName,
className: 'button is-small',
},
{
extend: 'print',
//text: 'Drucken',
text: i18n.t('print'),
title: this.exportName,
className: 'button is-small',
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment