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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/datatables.inc (+4 lines)
Lines 23-28 Link Here
23
    var MSG_DT_ZERO_RECORDS = _("No matching records found");
23
    var MSG_DT_ZERO_RECORDS = _("No matching records found");
24
    var MSG_DT_ALL = _("All");
24
    var MSG_DT_ALL = _("All");
25
    var CONFIG_EXCLUDE_ARTICLES_FROM_SORT = _("a an the");
25
    var CONFIG_EXCLUDE_ARTICLES_FROM_SORT = _("a an the");
26
    var MSG_DT_COPY_TITLE = _("Copy to clipboard");
27
    var MSG_DT_COPY_KEYS = _("Press ctrl or ⌘ + C to copy the table data<br>to your system clipboard.<br><br>To cancel, click this message or press escape.");
28
    var MSG_DT_COPY_SUCCESS_ONE = _("Copied one row to clipboard");
29
    var MSG_DT_COPY_SUCCESS_X = _("Copied %d rows to clipboard");
26
//]]>
30
//]]>
27
</script>
31
</script>
28
<script type="text/javascript" src="[% interface %]/[% theme %]/js/datatables_[% KOHA_VERSION %].js"></script>
32
<script type="text/javascript" src="[% interface %]/[% theme %]/js/datatables_[% KOHA_VERSION %].js"></script>
(-)a/koha-tmpl/intranet-tmpl/prog/js/datatables.js (-2 / +9 lines)
Lines 21-27 var dataTablesDefaults = { Link Here
21
        "sLoadingRecords"   : window.MSG_DT_LOADING_RECORDS || "Loading...",
21
        "sLoadingRecords"   : window.MSG_DT_LOADING_RECORDS || "Loading...",
22
        "sProcessing"       : window.MSG_DT_PROCESSING || "Processing...",
22
        "sProcessing"       : window.MSG_DT_PROCESSING || "Processing...",
23
        "sSearch"           : window.MSG_DT_SEARCH || "Search:",
23
        "sSearch"           : window.MSG_DT_SEARCH || "Search:",
24
        "sZeroRecords"      : window.MSG_DT_ZERO_RECORDS || "No matching records found"
24
        "sZeroRecords"      : window.MSG_DT_ZERO_RECORDS || "No matching records found",
25
        buttons: {
26
            "copyTitle"     : window.MSG_DT_COPY_TITLE || "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.",
28
            "copySuccess": {
29
                _: window.MSG_DT_COPY_SUCCESS_X || "Copied %d rows to clipboard",
30
                1: window.MSG_DT_COPY_SUCCESS_ONE || "Copied one row to clipboard"
31
            }
32
        }
25
    },
33
    },
26
    "dom": '<"top pager"ilpfB>tr<"bottom pager"ip>',
34
    "dom": '<"top pager"ilpfB>tr<"bottom pager"ip>',
27
    "buttons": [],
35
    "buttons": [],
28
- 

Return to bug 18791