View | Details | Raw Unified | Return to bug 33983
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/datatables.inc (-22 lines)
Lines 2-27 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% Asset.js("lib/jquery/plugins/jquery.dataTables.min.js") | $raw %]
3
[% Asset.js("lib/jquery/plugins/jquery.dataTables.min.js") | $raw %]
4
[% Asset.js("lib/jquery/plugins/dataTables.responsive.min.js") | $raw %]
4
[% Asset.js("lib/jquery/plugins/dataTables.responsive.min.js") | $raw %]
5
<script>
6
    var MSG_DT_FIRST = _("First");
7
    var MSG_DT_LAST = _("Last");
8
    var MSG_DT_NEXT = _("Next");
9
    var MSG_DT_PREVIOUS = _("Previous");
10
    var MSG_DT_EMPTY_TABLE = _("No data available in table");
11
    var MSG_DT_INFO = _("Showing _START_ to _END_ of _TOTAL_");
12
    var MSG_DT_INFO_EMPTY = _("No entries to show");
13
    var MSG_DT_INFO_FILTERED = _("(filtered from _MAX_ total entries)");
14
    var MSG_DT_LENGTH_MENU = _("Show _MENU_ entries");
15
    var MSG_DT_LOADING_RECORDS = _("Loading...");
16
    var MSG_DT_PROCESSING = _("Processing...");
17
    var MSG_DT_SEARCH = _("Search:");
18
    var MSG_DT_ZERO_RECORDS = _("No matching records found");
19
    var MSG_DT_COPY_TO_CLIPBOARD = _("Copy to clipboard");
20
    var MSG_DT_COPY_KEYS = _("Press <i>ctrl</i> or <i>⌘</i> + <i>C</i> to copy the table data<br>to your system clipboard.<br><br>To cancel, click this message or press escape.");
21
    var MSG_DT_COPIED_ROWS = _("Copied %d rows to clipboard");
22
    var MSG_DT_COPIED_ONE_ROW = _("Copied one row to clipboard");
23
    var MSG_CLEAR_FILTER = _("Clear filter");
24
    var MSG_DT_ALL = _("All");
25
    var CONFIG_EXCLUDE_ARTICLES_FROM_SORT = _("a an the");
26
</script>
27
[% Asset.js("js/datatables.js") | $raw %]
5
[% Asset.js("js/datatables.js") | $raw %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt (+1 lines)
Lines 6-11 Link Here
6
[% USE Price %]
6
[% USE Price %]
7
[% SET ENABLE_OPAC_PAYMENTS = payment_methods %]
7
[% SET ENABLE_OPAC_PAYMENTS = payment_methods %]
8
[% USE AdditionalContents %]
8
[% USE AdditionalContents %]
9
[% PROCESS 'i18n.inc' %]
9
[% SET DISPLAY_PAYMENT_BLOCK = 0 %]
10
[% SET DISPLAY_PAYMENT_BLOCK = 0 %]
10
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
11
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
11
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
12
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (+1 lines)
Lines 4-9 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE KohaDates %]
5
[% USE KohaDates %]
6
[% USE Asset %]
6
[% USE Asset %]
7
[% PROCESS 'i18n.inc' %]
7
[% SET is_popup = 1 %]
8
[% SET is_popup = 1 %]
8
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && TagsEnabled && TagsInputOnList ) %]
9
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && TagsEnabled && TagsInputOnList ) %]
9
10
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-curbside-pickups.tt (+1 lines)
Lines 4-9 Link Here
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE AdditionalContents %]
6
[% USE AdditionalContents %]
7
[% PROCESS 'i18n.inc' %]
7
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
8
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
8
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
9
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
9
[% INCLUDE 'doc-head-open.inc' %]
10
[% INCLUDE 'doc-head-open.inc' %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (+1 lines)
Lines 7-12 Link Here
7
[% USE TablesSettings %]
7
[% USE TablesSettings %]
8
[% USE AuthorisedValues %]
8
[% USE AuthorisedValues %]
9
[% USE KohaPlugins %]
9
[% USE KohaPlugins %]
10
[% PROCESS 'i18n.inc' %]
10
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
11
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
11
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
12
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
12
[% SET CoverImagePlugins = KohaPlugins.get_plugins_opac_cover_images %]
13
[% SET CoverImagePlugins = KohaPlugins.get_plugins_opac_cover_images %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt (+1 lines)
Lines 2-7 Link Here
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% USE AdditionalContents %]
4
[% USE AdditionalContents %]
5
[% PROCESS 'i18n.inc' %]
5
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
6
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
6
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
7
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
7
[% USE AuthorisedValues %]
8
[% USE AuthorisedValues %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-holdshistory.tt (+1 lines)
Lines 5-10 Link Here
5
[% USE TablesSettings %]
5
[% USE TablesSettings %]
6
[% USE ItemTypes %]
6
[% USE ItemTypes %]
7
[% USE AdditionalContents %]
7
[% USE AdditionalContents %]
8
[% PROCESS 'i18n.inc' %]
8
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
9
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
9
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
10
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
10
11
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt (+1 lines)
Lines 3-8 Link Here
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE AdditionalContents %]
5
[% USE AdditionalContents %]
6
[% PROCESS 'i18n.inc' %]
6
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
7
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
7
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
8
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt (+1 lines)
Lines 1-5 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE AdditionalContents %]
2
[% USE AdditionalContents %]
3
[% PROCESS 'i18n.inc' %]
3
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
4
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
4
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
5
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (+1 lines)
Lines 5-10 Link Here
5
[% USE AdditionalContents %]
5
[% USE AdditionalContents %]
6
[% USE Asset %]
6
[% USE Asset %]
7
[% USE Price %]
7
[% USE Price %]
8
[% PROCESS 'i18n.inc' %]
8
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
9
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
9
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
10
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
10
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recalls.tt (+1 lines)
Lines 1-5 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% PROCESS 'i18n.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Your recalls history &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
5
<title>Your recalls history &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (+1 lines)
Lines 4-9 Link Here
4
[% USE Price %]
4
[% USE Price %]
5
[% USE ItemTypes %]
5
[% USE ItemTypes %]
6
[% USE AuthorisedValues %]
6
[% USE AuthorisedValues %]
7
[% PROCESS 'i18n.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
8
<title>Placing a hold &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
9
<title>Placing a hold &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt (+1 lines)
Lines 3-8 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE AdditionalContents %]
5
[% USE AdditionalContents %]
6
[% PROCESS 'i18n.inc' %]
6
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
7
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
7
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
8
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (+1 lines)
Lines 5-10 Link Here
5
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
6
[% USE KohaDates %]
6
[% USE KohaDates %]
7
[% USE AdditionalContents %]
7
[% USE AdditionalContents %]
8
[% PROCESS 'i18n.inc' %]
8
[% SET opacsuggestion = AdditionalContents.get( location => "OpacSuggestioninstructions", lang => lang, library => logged_in_user.branchcode || default_branch ) %]
9
[% SET opacsuggestion = AdditionalContents.get( location => "OpacSuggestioninstructions", lang => lang, library => logged_in_user.branchcode || default_branch ) %]
9
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
10
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
10
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
11
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt (+1 lines)
Lines 2-7 Link Here
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[% USE AdditionalContents %]
4
[% USE AdditionalContents %]
5
[% PROCESS 'i18n.inc' %]
5
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
6
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
6
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
7
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
7
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt (+1 lines)
Lines 3-8 Link Here
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% USE ItemTypes %]
4
[% USE ItemTypes %]
5
[% USE AdditionalContents %]
5
[% USE AdditionalContents %]
6
[% PROCESS 'i18n.inc' %]
6
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
7
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
7
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
8
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (+1 lines)
Lines 7-12 Link Here
7
[% USE Price %]
7
[% USE Price %]
8
[% USE AuthorisedValues %]
8
[% USE AuthorisedValues %]
9
[% USE AdditionalContents %]
9
[% USE AdditionalContents %]
10
[% PROCESS 'i18n.inc' %]
10
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
11
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
11
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
12
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
12
[% SET OpacMySummaryNote = AdditionalContents.get( location => "OpacMySummaryNote", lang => lang, library => branchcode ) %]
13
[% SET OpacMySummaryNote = AdditionalContents.get( location => "OpacMySummaryNote", lang => lang, library => branchcode ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (+1 lines)
Lines 5-10 Link Here
5
[% USE AudioAlerts %]
5
[% USE AudioAlerts %]
6
[% USE To %]
6
[% USE To %]
7
[% USE Price %]
7
[% USE Price %]
8
[% PROCESS 'i18n.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Self checkout &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %]</title>
10
<title>Self checkout &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %]</title>
10
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/datatables.js (-21 / +20 lines)
Lines 8-33 Link Here
8
var dataTablesDefaults = {
8
var dataTablesDefaults = {
9
    "language": {
9
    "language": {
10
        "paginate": {
10
        "paginate": {
11
            "first"    : window.MSG_DT_FIRST || "First",
11
            "first"    : __("First"),
12
            "last"     : window.MSG_DT_LAST || "Last",
12
            "last"     : __("Last"),
13
            "next"     : window.MSG_DT_NEXT || "Next",
13
            "next"     : __("Next"),
14
            "previous" : window.MSG_DT_PREVIOUS || "Previous"
14
            "previous" : __("Previous")
15
        },
15
        },
16
        "emptyTable"       : window.MSG_DT_EMPTY_TABLE || "No data available in table",
16
        "emptyTable"       : __("No data available in table"),
17
        "info"             : window.MSG_DT_INFO || "Showing _START_ to _END_ of _TOTAL_ entries",
17
        "info"             : __("Showing _START_ to _END_ of _TOTAL_ entries"),
18
        "infoEmpty"        : window.MSG_DT_INFO_EMPTY || "No entries to show",
18
        "infoEmpty"        : __("No entries to show"),
19
        "infoFiltered"     : window.MSG_DT_INFO_FILTERED || "(filtered from _MAX_ total entries)",
19
        "infoFiltered"     : __("(filtered from _MAX_ total entries)"),
20
        "lengthMenu"       : window.MSG_DT_LENGTH_MENU || "Show _MENU_ entries",
20
        "lengthMenu"       : __("Show _MENU_ entries"),
21
        "loadingRecords"   : window.MSG_DT_LOADING_RECORDS || "Loading...",
21
        "loadingRecords"   : __("Loading..."),
22
        "processing"       : window.MSG_DT_PROCESSING || "Processing...",
22
        "processing"       : __("Processing..."),
23
        "search"           : window.MSG_DT_SEARCH || "Search:",
23
        "search"           : __("Search:"),
24
        "zeroRecords"      : window.MSG_DT_ZERO_RECORDS || "No matching records found",
24
        "zeroRecords"      : __("No matching records found"),
25
        buttons: {
25
        buttons: {
26
            "copyTitle"     : window.MSG_DT_COPY_TO_CLIPBOARD || "Copy to clipboard",
26
            "copyTitle"     : __("Copy to clipboard"),
27
            "copyKeys"      : window.MSG_DT_COPY_KEYS || "Press <i>ctrl</i> or <i>⌘</i> + <i>C</i> to copy the table data<br>to your system clipboard.<br><br>To cancel, click this message or press escape.",
27
            "copyKeys"      : __("Press <i>ctrl</i> or <i>⌘</i> + <i>C</i> to copy the table data<br>to your system clipboard.<br><br>To cancel, click this message or press escape."),
28
            "copySuccess": {
28
            "copySuccess": {
29
                _: window.MSG_DT_COPIED_ROWS || "Copied %d rows to clipboard",
29
                _: __("Copied %d rows to clipboard"),
30
                1: window.MSG_DT_COPIED_ONE_ROW || "Copied one row to clipboard",
30
                1: __("Copied one row to clipboard"),
31
            },
31
            },
32
            "print": __("Print")
32
            "print": __("Print")
33
        }
33
        }
Lines 55-63 var dataTablesDefaults = { Link Here
55
$.fn.dataTable.ext.buttons.clearFilter = {
55
$.fn.dataTable.ext.buttons.clearFilter = {
56
    fade: 100,
56
    fade: 100,
57
    className: "dt_button_clear_filter",
57
    className: "dt_button_clear_filter",
58
    titleAttr: window.MSG_CLEAR_FILTER,
58
    titleAttr: __("Clear filter"),
59
    enabled: false,
59
    enabled: false,
60
    text: '<i class="fa fa-lg fa-times"></i> <span class="dt-button-text">' + window.MSG_CLEAR_FILTER + '</span>',
60
    text: '<i class="fa fa-lg fa-times"></i> <span class="dt-button-text">' + __("Clear filter") + '</span>',
61
    available: function ( dt ) {
61
    available: function ( dt ) {
62
        // The "clear filter" button is made available if this test returns true
62
        // The "clear filter" button is made available if this test returns true
63
        if( dt.settings()[0].aanFeatures.f ){ // aanFeatures.f is null if there is no search form
63
        if( dt.settings()[0].aanFeatures.f ){ // aanFeatures.f is null if there is no search form
Lines 85-91 $.fn.dataTable.ext.buttons.clearFilter = { Link Here
85
     * from a configuration file (in English, "a," "an," and "the")
85
     * from a configuration file (in English, "a," "an," and "the")
86
     */
86
     */
87
87
88
    var config_exclude_articles_from_sort = window.CONFIG_EXCLUDE_ARTICLES_FROM_SORT || "a an the";
88
    var config_exclude_articles_from_sort = __("a an the");
89
    if (config_exclude_articles_from_sort){
89
    if (config_exclude_articles_from_sort){
90
        var articles = config_exclude_articles_from_sort.split(" ");
90
        var articles = config_exclude_articles_from_sort.split(" ");
91
        var rpattern = "";
91
        var rpattern = "";
92
- 

Return to bug 33983