mirror of
https://github.com/grocy/grocy.git
synced 2025-09-29 19:12:24 +00:00
Updated localizations & improved some special and demo translation string data handling
This commit is contained in:
@@ -69,7 +69,7 @@ var recipesPosTables = $('#recipes-pos-table').DataTable({
|
||||
{ 'orderable': false, 'targets': 0 },
|
||||
{ 'visible': false, 'targets': 4 }
|
||||
],
|
||||
'language': JSON.parse(__t('datatables_localization')),
|
||||
'language': IsJsonString(__t('datatables_localization')) ? JSON.parse(__t('datatables_localization')) : { },
|
||||
'scrollY': false,
|
||||
'colReorder': true,
|
||||
'stateSave': true,
|
||||
@@ -95,7 +95,7 @@ var recipesIncludesTables = $('#recipes-includes-table').DataTable({
|
||||
'columnDefs': [
|
||||
{ 'orderable': false, 'targets': 0 }
|
||||
],
|
||||
'language': JSON.parse(__t('datatables_localization')),
|
||||
'language': IsJsonString(__t('datatables_localization')) ? JSON.parse(__t('datatables_localization')) : { },
|
||||
'scrollY': false,
|
||||
'colReorder': true,
|
||||
'stateSave': true,
|
||||
|
Reference in New Issue
Block a user