This patch will modify reports 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 154718 [details] [review] Bug 33923: Improve translation of title tags: Reports This patch updates reports templates so that title tags can be more easily translated. To test, apply the patch and confirm that the following pages have the correct title tags: - Reports -> - Reports home - Statistics wizards -> - Acquisitions - Patrons - Catalog - Circulation - Serials - Cash register - Holds - Top lists -> - Patrons with the most checkouts - Most-circulated items - Inactive - Patrons who haven't checked out - Items with no checkouts - Other - Items lost - Orders by fund - Catalog by item type - Average loan time - Create guided report - Create from SQL - Use saved report - View dictionary
Created attachment 155082 [details] [review] Bug 33923: Improve translation of title tags: Reports This patch updates reports templates so that title tags can be more easily translated. To test, apply the patch and confirm that the following pages have the correct title tags: - Reports -> - Reports home - Statistics wizards -> - Acquisitions - Patrons - Catalog - Circulation - Serials - Cash register - Holds - Top lists -> - Patrons with the most checkouts - Most-circulated items - Inactive - Patrons who haven't checked out - Items with no checkouts - Other - Items lost - Orders by fund - Catalog by item type - Average loan time - Create guided report - Create from SQL - Use saved report - View dictionary Signed-off-by: Andrew Auld <andrew.auld@ptfs-europe.com>
Lovely!
Created attachment 155111 [details] [review] Bug 33923: Improve translation of title tags: Reports This patch updates reports templates so that title tags can be more easily translated. To test, apply the patch and confirm that the following pages have the correct title tags: - Reports -> - Reports home - Statistics wizards -> - Acquisitions - Patrons - Catalog - Circulation - Serials - Cash register - Holds - Top lists -> - Patrons with the most checkouts - Most-circulated items - Inactive - Patrons who haven't checked out - Items with no checkouts - Other - Items lost - Orders by fund - Catalog by item type - Average loan time - Create guided report - Create from SQL - Use saved report - View dictionary Signed-off-by: Andrew Auld <andrew.auld@ptfs-europe.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