This patch will modify course reserves templates in the staff client so that translatable strings in the <title> tag are wrapped in the correct translation function, e.g. [% t('Translate me') %]
Created attachment 152285 [details] [review] Bug 33914: Improve translation of title tags: Course reserves This patch updates course reserves templates so that title tags can be more easily translated. To test you should have the UseCourseReserves system preference enabled. Apply the patch and confirm that the following course reserves pages have the correct title tags: - Course reserves - New course - Course details - Edit course - Add reserves (step 1 and 2) - Batch add reserves (step 1 and 2) - Batch remove reserves - Invalid course (/cgi-bin/koha/course_reserves/course-details.pl?course_id=)
Created attachment 154897 [details] [review] Bug 33914: Improve translation of title tags: Course reserves This patch updates course reserves templates so that title tags can be more easily translated. To test you should have the UseCourseReserves system preference enabled. Apply the patch and confirm that the following course reserves pages have the correct title tags: - Course reserves - New course - Course details - Edit course - Add reserves (step 1 and 2) - Batch add reserves (step 1 and 2) - Batch remove reserves - Invalid course (/cgi-bin/koha/course_reserves/course-details.pl?course_id=) Signed-off-by: David Nind <david@davidnind.com>
Created attachment 155085 [details] [review] Bug 33914: Improve translation of title tags: Course reserves This patch updates course reserves templates so that title tags can be more easily translated. To test you should have the UseCourseReserves system preference enabled. Apply the patch and confirm that the following course reserves pages have the correct title tags: - Course reserves - New course - Course details - Edit course - Add reserves (step 1 and 2) - Batch add reserves (step 1 and 2) - Batch remove reserves - Invalid course (/cgi-bin/koha/course_reserves/course-details.pl?course_id=) Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to master for 23.11. Nice work everyone, thanks!
Not backported to 23.05.x