Signed-off-by: Owen Leonard <oleonard@myacpl.org>
I tested most scripts affected by this patch and visually verified
all changes. Functionality is unaffected.
Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
var sEmptyTable = _('No quotes available. Please use the "Add quote" button to add a quote.'); /* override the default message in datatables-strings.inc */
var sEmptyTable = _("No quotes available. Please use the \"Add quote\" button to add a quote."); /* override the default message in datatables-strings.inc */
$(document).ready(function() {
/* NOTE: This is an ajax-source datatable and *not* a server-side sourced datatable. */
/* See the datatable docs if you don't understand this difference. */
@ -116,11 +116,11 @@
});
}
else {
alert(_('Please supply both the text and source of the quote before saving.'));
alert(_("Please supply both the text and source of the quote before saving."));
}
}
else if (e.keyCode == 27) {
if (confirm(_('Are you sure you want to cancel adding this quote?'))) {
if (confirm(_("Are you sure you want to cancel adding this quote?"))) {
oTable.fnDeleteRow(node);
}
else {
@ -149,9 +149,9 @@
return this.id;
}).get().join(', ');
if (!idsToDelete) {
alert(_('Please select a quote(s) by clicking the quote id(s) you desire to delete.'));
alert(_("Please select a quote(s) by clicking the quote id(s) you desire to delete."));
}
else if (confirm(_('Are you sure you wish to delete quote(s) ')+idsToDelete+'?')) {
else if (confirm(_("Are you sure you wish to delete quote(s) ")+idsToDelete+"?")) {