Bug 33923

Summary: Improve translation of title tags: Reports
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: andrew.auld, fridolin.somers, testopia
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.11.00
Circulation function:
Bug Depends on:    
Bug Blocks: 33906    
Attachments: Bug 33923: Improve translation of title tags: Reports
Bug 33923: Improve translation of title tags: Reports
Bug 33923: Improve translation of title tags: Reports

Description Owen Leonard 2023-06-06 16:13:41 UTC
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') %]
Comment 1 Owen Leonard 2023-08-23 16:58:16 UTC Comment hidden (obsolete)
Comment 2 PTFS Europe Sandboxes 2023-09-01 09:30:59 UTC Comment hidden (obsolete)
Comment 3 Andrew Auld 2023-09-01 09:31:15 UTC
Lovely!
Comment 4 Jonathan Druart 2023-09-01 12:22:19 UTC
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>
Comment 5 Tomás Cohen Arazi (tcohen) 2023-09-01 14:24:45 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 6 Fridolin Somers 2023-09-08 05:49:46 UTC
Not backported to 23.05.x