Bug 35475: Makes strings in booking JS file translatable
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 10 Dec 2023 16:56:29 +0000 (16:56 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 17 Jan 2024 09:16:26 +0000 (10:16 +0100)
commitff9fe047927f149838e53b5ea522ead7792eb143
tree18c9dcad3b55011b9f8542731cc8fd223069257e
parentb7db87ea7e55de94a72c0e5edfb9503af658933a
Bug 35475: Makes strings in booking JS file translatable

This makes several strings in the booking specific JS file
translatable.

To test:
* Make an item bookable:
  * Find a record with items in your catalog or create one
  * From the details page, switch to the items tab
  * Mark items as bookable
* Add a booking, verify the modal works as expected
* Check the bookings tab
* Verify the column headings of the bookings table show correctly
* Verify the "Biblio level" and "Item" in the calendar show
  Note: Months don't translate, this will be a separate bug
* Cancel a booking, edit a booking... make sure everything works
  as expected
* If you can: Install a translation and verify strings show up
  in po files as expected

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 573d2a3ba86aa0e805975a4d224d341b775eaebd)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt
koha-tmpl/intranet-tmpl/prog/js/cancel_booking_modal.js
koha-tmpl/intranet-tmpl/prog/js/place_booking_modal.js