Added localization support

This commit is contained in:
Bernd Bestel
2018-04-16 19:11:32 +02:00
parent 4949913ccb
commit 4656a85732
64 changed files with 1112 additions and 878 deletions

View File

@@ -26,13 +26,11 @@ $(document).on('click', '#add-products-below-min-stock-amount', function(e)
);
});
$(function()
{
$('#shoppinglist-table').DataTable({
'pageLength': 50,
'order': [[1, 'asc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 }
]
});
$('#shoppinglist-table').DataTable({
'pageLength': 50,
'order': [[1, 'asc']],
'columnDefs': [
{ 'orderable': false, 'targets': 0 }
],
'language': JSON.parse(L('datatables_localization'))
});