mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Translate no records found message
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
bcb747f886
commit
6a6272ace3
|
@ -2,9 +2,10 @@
|
|||
|
||||
return array(
|
||||
|
||||
'actions' => 'Actions',
|
||||
'action' => 'Action',
|
||||
'by' => 'By',
|
||||
'item' => 'Item',
|
||||
'actions' => 'Actions',
|
||||
'action' => 'Action',
|
||||
'by' => 'By',
|
||||
'item' => 'Item',
|
||||
'no_matching_records' => 'No matching records found',
|
||||
|
||||
);
|
||||
|
|
|
@ -92,6 +92,9 @@
|
|||
exportTypes: ['xlsx', 'excel', 'csv', 'pdf','json', 'xml', 'txt', 'sql', 'doc' ],
|
||||
onLoadSuccess: function () {
|
||||
$('[data-tooltip="true"]').tooltip(); // Needed to attach tooltips after ajax call
|
||||
},
|
||||
formatNoMatches: function () {
|
||||
return '{{ trans('table.no_matching_records') }}';
|
||||
}
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue