xref: /webtrees/resources/views/lists/datatables-attributes.phtml (revision df17c028ebd87c6cdfb0497e8c49c3dedba89df3)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3data-dom="<&quot;d-flex justify-content-between&quot;prf><t><&quot;d-flex justify-content-between&quot;il>"
4data-state-save="true"
5data-language="<?= e(json_encode([
6    'paginate'       => [
7        /* I18N: A button label, first page */
8        'first'    => I18N::translate('first'),
9        /* I18N: A button label, last page */
10        'last'     => I18N::translate('last'),
11        /* I18N: A button label, next page */
12        'next'     => I18N::translate('next'),
13        /* I18N: A button label, previous page */
14        'previous' => I18N::translate('previous'),
15    ],
16    'emptyTable'     => I18N::translate('No records to display'),
17    /* I18N: %s are placeholders for numbers */
18    'info'           => I18N::translate('Showing %1$s to %2$s of %3$s', '_START_', '_END_', '_TOTAL_'),
19    'infoEmpty'      => I18N::translate('Showing %1$s to %2$s of %3$s', I18N::number(0), I18N::number(0), I18N::number(0)),
20    /* I18N: %s is a number */
21    'infoFiltered'   => I18N::translate('(filtered from %s total entries)', '_MAX_'),
22    /* I18N: %s is a number of records per page */
23    'lengthMenu'     => I18N::translate('Display %s', '_MENU_'),
24    'loadingRecords' => I18N::translate('Loading…'),
25    'processing'     => I18N::translate('Calculating…'),
26    'search'         => I18N::translate('Filter'),
27    'zeroRecords'    => I18N::translate('No records to display'),
28])) ?>"
29