mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Support translating datatable info footer #1225
This commit is contained in:
parent
fe27b74938
commit
b4b8eb77e0
@ -2478,6 +2478,7 @@ $LANG = array(
|
|||||||
'surcharge_label' => 'Surcharge Label',
|
'surcharge_label' => 'Surcharge Label',
|
||||||
'contact_fields' => 'Contact Fields',
|
'contact_fields' => 'Contact Fields',
|
||||||
'custom_contact_fields_help' => 'Add a field when creating a contact and display the label and value on the PDF.',
|
'custom_contact_fields_help' => 'Add a field when creating a contact and display the label and value on the PDF.',
|
||||||
|
'datatable_info' => 'Showing :start to :end of :total entries',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -114,6 +114,7 @@
|
|||||||
"oLanguage": {
|
"oLanguage": {
|
||||||
'sEmptyTable': "{{ trans('texts.empty_table') }}",
|
'sEmptyTable': "{{ trans('texts.empty_table') }}",
|
||||||
'sLengthMenu': '_MENU_ {{ trans('texts.rows') }}',
|
'sLengthMenu': '_MENU_ {{ trans('texts.rows') }}',
|
||||||
|
'sInfo': "{{ trans('texts.datatable_info', ['start' => '_START_', 'end' => '_END_', 'total' => '_TOTAL_']) }}",
|
||||||
'sSearch': ''
|
'sSearch': ''
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user