From b4b8eb77e00dfb8407e45b891a7e00662fb804f5 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 18 Apr 2017 12:26:58 +0300 Subject: [PATCH] Support translating datatable info footer #1225 --- resources/lang/en/texts.php | 1 + resources/views/master.blade.php | 1 + 2 files changed, 2 insertions(+) diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index a27824676976..452e6c662b27 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2478,6 +2478,7 @@ $LANG = array( 'surcharge_label' => 'Surcharge Label', 'contact_fields' => 'Contact Fields', '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', ); diff --git a/resources/views/master.blade.php b/resources/views/master.blade.php index f51f9dad052b..87dee70e203d 100644 --- a/resources/views/master.blade.php +++ b/resources/views/master.blade.php @@ -114,6 +114,7 @@ "oLanguage": { 'sEmptyTable': "{{ trans('texts.empty_table') }}", 'sLengthMenu': '_MENU_ {{ trans('texts.rows') }}', + 'sInfo': "{{ trans('texts.datatable_info', ['start' => '_START_', 'end' => '_END_', 'total' => '_TOTAL_']) }}", 'sSearch': '' } });