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