@@ -, +, @@ * Find a record with items in your catalog or create one * From the details page, switch to the items tab * Mark items as bookable Note: Months don't translate, this will be a separate bug as expected in po files as expected --- .../prog/en/modules/bookings/list.tt | 18 +++++++++--------- .../prog/js/cancel_booking_modal.js | 2 +- .../prog/js/place_booking_modal.js | 12 ++++++------ 3 files changed, 16 insertions(+), 16 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt @@ -85,12 +85,12 @@ function(items, bookings){ var itemsSet = new vis.DataSet([{ id: 0, - content: "Biblio level" + content: _("Biblio level") }]); for (item of items[0]) { itemsSet.add({ id: item.item_id, - content: "Item " + item.external_id, + content: _("Item") + " " + item.external_id, }); } @@ -201,15 +201,15 @@ ], "columns": [{ "data": "booking_id", - "title": "Booking ID", + "title": _("Booking ID"), "visible": false }, { "data": "item.external_id", - "title": "Item", + "title": _("Item"), "searchable": true, "orderable": true, - "defaultContent": "Any item", + "defaultContent": _("Any item"), "render": function(data,type,row,meta) { if ( row.item ) { return row.item.external_id + " (" + row.booking_id + ")"; @@ -220,7 +220,7 @@ }, { "data": "patron.firstname:patron.surname", - "title": "Patron", + "title": _("Patron"), "searchable": true, "orderable": true, "render": function(data, type, row, meta) { @@ -232,7 +232,7 @@ }, { "data": "start_date", - "title": "Start date", + "title": _("Start date"), "searchable": true, "orderable": true, "render": function(data, type, row, meta) { @@ -241,7 +241,7 @@ }, { "data": "end_date", - "title": "End date", + "title": _("End date"), "searchable": true, "orderable": true, "render": function(data, type, row, meta) { @@ -250,7 +250,7 @@ }, { "data": "", - "title": "Actions", + "title": _("Actions"), "class": "actions", "searchable": false, "orderable": false, --- a/koha-tmpl/intranet-tmpl/prog/js/cancel_booking_modal.js +++ a/koha-tmpl/intranet-tmpl/prog/js/cancel_booking_modal.js @@ -28,6 +28,6 @@ $("#cancelBookingForm").on('submit', function(e) { }); deleting.fail(function(data) { - $('#cancel_booking_result').replaceWith('