This patch will modify cataloging tool 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 155621 [details] [review] Bug 34773: Improve translation of title tags: Cataloging tools This patch modifies cataloging tools templates so that title tags can be more easily translated. The patch also makes some modifications to titles, breadcrumb navigation, and page headers in order to make them more consistent with each other and with other similar pages. Note that stockrotation.pl has been modified so that rota information is available to the template in more cases for the purpose of showing that information in navigation and headings. To test, apply the patch and go to Cataloging. Test each page and each variation of the page to confirm that titles, breadcrumbs, and page headers look correct. - Stage records for import - Main page - Upload file -> Stage for import - Manage staged records - Main page - Batch details - Import batch - Batch item modification and batch item deletion - Main page - Submit batch - Save - Batch record modification - Main page - Submit batch - Modify selected - Batch record deletion - Main page - Submit batch - Delete selected - MARC modification templates - Main page - Edit actions for a template - Item modifications by age - Main page - Add rules - Stock rotation - Main page - New rota - Edit rota - Manage stages for rota - New stage - Edit stage - Manage items for rota - Add items
Created attachment 155622 [details] [review] Bug 34773: Improve translation of title tags: Cataloging tools This patch modifies cataloging tools templates so that title tags can be more easily translated. The patch also makes some modifications to titles, breadcrumb navigation, and page headers in order to make them more consistent with each other and with other similar pages. Note that stockrotation.pl has been modified so that rota information is available to the template in more cases for the purpose of showing that information in navigation and headings. To test, apply the patch and go to Cataloging. Test each page and each variation of the page to confirm that titles, breadcrumbs, and page headers look correct. - Export catalog data - Stage records for import - Main page - Upload file -> Stage for import - Manage staged records - Main page - Batch details - Import batch - Batch item modification and batch item deletion - Main page - Submit batch - Save - Batch record modification - Main page - Submit batch - Modify selected - Batch record deletion - Main page - Submit batch - Delete selected - MARC modification templates - Main page - Edit actions for a template - Item modifications by age - Main page - Add rules - Stock rotation - Main page - New rota - Edit rota - Manage stages for rota - New stage - Edit stage - Manage items for rota - Add items
Created attachment 155668 [details] [review] Bug 34773: (follow-up) Missed inventory template Test Cataloging -> Inventory and the results page after submitting a batch of barcodes.
Created attachment 155710 [details] [review] Bug 34773: (follow-up) Missed templates This patch fixes three templates I missed the first time around: Inventory, MARC diff view, and Upload local cover images. - Cataloging -> Inventory and the results page after submitting a batch of barcodes. - Cataloging -> Manage staged records -> Select a batch which includes record matches: Click the "View" link in the "Diff" column for a record which has a match. - Cataloging -> Upload local cover image (with LocalCoverImages enabled)
Created attachment 158295 [details] [review] Bug 34773: Improve translation of title tags: Cataloging tools This patch modifies cataloging tools templates so that title tags can be more easily translated. The patch also makes some modifications to titles, breadcrumb navigation, and page headers in order to make them more consistent with each other and with other similar pages. Note that stockrotation.pl has been modified so that rota information is available to the template in more cases for the purpose of showing that information in navigation and headings. To test, apply the patch and go to Cataloging. Test each page and each variation of the page to confirm that titles, breadcrumbs, and page headers look correct. - Export catalog data - Stage records for import - Main page - Upload file -> Stage for import - Manage staged records - Main page - Batch details - Import batch - Batch item modification and batch item deletion - Main page - Submit batch - Save - Batch record modification - Main page - Submit batch - Modify selected - Batch record deletion - Main page - Submit batch - Delete selected - MARC modification templates - Main page - Edit actions for a template - Item modifications by age - Main page - Add rules - Stock rotation - Main page - New rota - Edit rota - Manage stages for rota - New stage - Edit stage - Manage items for rota - Add items Signed-off-by: David Nind <david@davidnind.com>
Created attachment 158296 [details] [review] Bug 34773: (follow-up) Missed templates This patch fixes three templates I missed the first time around: Inventory, MARC diff view, and Upload local cover images. - Cataloging -> Inventory and the results page after submitting a batch of barcodes. - Cataloging -> Manage staged records -> Select a batch which includes record matches: Click the "View" link in the "Diff" column for a record which has a match. - Cataloging -> Upload local cover image (with LocalCoverImages enabled) Signed-off-by: David Nind <david@davidnind.com>
Testing notes and comments (using KTD): 1. I used one browser (in this case Chromium with clear history, cache, etc.) to walk through all the things listed, then after applying the patch walked through using another browser (in this Firefox Developer Edition with history, cache, etc., cleared). 2. Noted for another bug? Batch item modification - Job has been enqueued page - there are two "Return to batch item modification" links. One is a link, the other is a white button with a tick 3. Stock rotation - maybe delete stage requires an update? 2.1 Enable StockRotation system preference 2.2 When deleting a stage, the breadcrumb changes to Cataloging > Stock rotation, with a message "Are you sure you wnat to delete this stage?" (page title is Stock rotation > Cataloging > Koha). 2.3 Should this be similar to editing? (Cataloging > Stick rotation > Manage stages for "Name of rota' > Modify <name> stage) 4. Other cataloging areas taken care of by other bugs: - Catalog concerns (CatalogConcerns system preference) - Bug 33916 - Label creator, Barcode image generator, Quick spine label creator - Bug 33916 - Advanced editor, new record, and new from Z39.50/SRU (?) - Bug 33912
Created attachment 158440 [details] [review] Bug 34773: Improve translation of title tags: Cataloging tools This patch modifies cataloging tools templates so that title tags can be more easily translated. The patch also makes some modifications to titles, breadcrumb navigation, and page headers in order to make them more consistent with each other and with other similar pages. Note that stockrotation.pl has been modified so that rota information is available to the template in more cases for the purpose of showing that information in navigation and headings. To test, apply the patch and go to Cataloging. Test each page and each variation of the page to confirm that titles, breadcrumbs, and page headers look correct. - Export catalog data - Stage records for import - Main page - Upload file -> Stage for import - Manage staged records - Main page - Batch details - Import batch - Batch item modification and batch item deletion - Main page - Submit batch - Save - Batch record modification - Main page - Submit batch - Modify selected - Batch record deletion - Main page - Submit batch - Delete selected - MARC modification templates - Main page - Edit actions for a template - Item modifications by age - Main page - Add rules - Stock rotation - Main page - New rota - Edit rota - Manage stages for rota - New stage - Edit stage - Manage items for rota - Add items Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Created attachment 158441 [details] [review] Bug 34773: (follow-up) Missed templates This patch fixes three templates I missed the first time around: Inventory, MARC diff view, and Upload local cover images. - Cataloging -> Inventory and the results page after submitting a batch of barcodes. - Cataloging -> Manage staged records -> Select a batch which includes record matches: Click the "View" link in the "Diff" column for a record which has a match. - Cataloging -> Upload local cover image (with LocalCoverImages enabled) Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 23.11. Nice work everyone, thanks!
Enhancement not pushed to 23.05.x