Specialize the datatables string for playout history, users, and recent uploads tables

This commit is contained in:
Albert Santoni 2015-08-14 20:20:30 -04:00
parent 31982a7238
commit 68523d9e02
3 changed files with 30 additions and 5 deletions

View file

@ -344,7 +344,13 @@ var AIRTIME = (function(AIRTIME) {
"sAjaxDataProp": "history",
"fnServerData": fnServerData,
"fnRowCallback": fnRowCallback,
"oLanguage": datatables_dict,
"oLanguage": getDatatablesStrings({
"sEmptyTable": $.i18n._("No tracks were played during the selected time period."),
"sInfoEmpty": $.i18n._("Showing 0 to 0 of 0 tracks"),
"sInfo": $.i18n._("Showing _START_ to _END_ of _TOTAL_ tracks"),
"sInfoEmpty": $.i18n._("Showing 0 to 0 of 0 tracks"),
"sInfoFiltered": $.i18n._("(filtered from _MAX_ total tracks)"),
}),
"aLengthMenu": lengthMenu,
"iDisplayLength": 25,
"sPaginationType": "full_numbers",
@ -411,7 +417,13 @@ var AIRTIME = (function(AIRTIME) {
"sAjaxDataProp": "history",
"fnServerData": fnServerData,
"fnRowCallback": fnRowCallback,
"oLanguage": datatables_dict,
"oLanguage": getDatatablesStrings({
"sEmptyTable": $.i18n._("No tracks were played during the selected time period."),
"sInfoEmpty": $.i18n._("Showing 0 to 0 of 0 tracks"),
"sInfo": $.i18n._("Showing _START_ to _END_ of _TOTAL_ tracks"),
"sInfoEmpty": $.i18n._("Showing 0 to 0 of 0 tracks"),
"sInfoFiltered": $.i18n._("(filtered from _MAX_ total tracks)"),
}),
"aLengthMenu": lengthMenu,
"iDisplayLength": 25,
"sPaginationType": "full_numbers",