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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 16 Jan 2024 11:05:57 +0000 (12:05 +0100)
commit573d2a3ba86aa0e805975a4d224d341b775eaebd
treec5d31b827dd2683c26bc19c82bc1f4e3161f9a0d
parent2ce83fc784ad8bc716bd65f14845141097c72b69
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>
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