var MSG_DT_ZERO_RECORDS = _("No matching records found");
var MSG_DT_ALL = _("All");
var CONFIG_EXCLUDE_ARTICLES_FROM_SORT = _("a an the");
+ var MSG_DT_COPY_TITLE = _("Copy to clipboard");
+ 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.");
+ var MSG_DT_COPY_SUCCESS_ONE = _("Copied one row to clipboard");
+ var MSG_DT_COPY_SUCCESS_X = _("Copied %d rows to clipboard");
//]]>
</script>
[% Asset.js("js/datatables.js") %]
"sLoadingRecords" : window.MSG_DT_LOADING_RECORDS || "Loading...",
"sProcessing" : window.MSG_DT_PROCESSING || "Processing...",
"sSearch" : window.MSG_DT_SEARCH || "Search:",
- "sZeroRecords" : window.MSG_DT_ZERO_RECORDS || "No matching records found"
+ "sZeroRecords" : window.MSG_DT_ZERO_RECORDS || "No matching records found",
+ buttons: {
+ "copyTitle" : window.MSG_DT_COPY_TITLE || "Copy to clipboard",
+ "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.",
+ "copySuccess": {
+ _: window.MSG_DT_COPY_SUCCESS_X || "Copied %d rows to clipboard",
+ 1: window.MSG_DT_COPY_SUCCESS_ONE || "Copied one row to clipboard"
+ }
+ }
},
"dom": '<"top pager"ilpfB>tr<"bottom pager"ip>',
"buttons": [],