Bugzilla – Attachment 158441 Details for
Bug 34773
Improve translation of title tags: Cataloging tools
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34773: (follow-up) Missed templates
Bug-34773-follow-up-Missed-templates.patch (text/plain), 5.07 KB, created by
Katrin Fischer
on 2023-11-05 10:25:58 UTC
(
hide
)
Description:
Bug 34773: (follow-up) Missed templates
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-11-05 10:25:58 UTC
Size:
5.07 KB
patch
obsolete
>From d9a90ec6e04b03f0f897c8b0e9055c6ae8be77ab Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 15 Sep 2023 13:39:15 +0000 >Subject: [PATCH] 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> >--- > .../prog/en/modules/tools/inventory.tt | 10 +++++++++- > .../prog/en/modules/tools/showdiffmarc.tt | 15 +++++++++++---- > .../prog/en/modules/tools/upload-images.tt | 14 +++++++------- > 3 files changed, 27 insertions(+), 12 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >index c7bdb0bf15..ba5a993be8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >@@ -3,9 +3,17 @@ > [% USE AuthorisedValues %] > [% USE KohaDates %] > [% USE Branches %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Inventory › Cataloging › Koha</title> >+<title>[% FILTER collapse %] >+ [% IF (loop) %] >+ [% t("Results") | html %] › >+ [% END %] >+ [% t("Inventory") | html %] › >+ [% t("Cataloging") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > </head> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt >index 00acb8b599..864534e088 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt >@@ -1,8 +1,15 @@ > [% USE raw %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title>Compare matched records › Manage staged MARC records › Cataloging › Koha</title> >+<title>[% FILTER collapse %] >+ [% t("Compare matched records") | html %] › >+ [% tx("Batch {batch_id}", { batch_id = batchid }) | html %] › >+ [% t("Manage staged MARC records") | html %] › >+ [% t("Cataloging") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > <style> > ins { background-color: #e6ffe6; } >@@ -25,7 +32,7 @@ > <a href="/cgi-bin/koha/tools/manage-marc-import.pl">Manage staged MARC records</a> > [% END %] > [% WRAPPER breadcrumb_item %] >- <a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% batchid | uri %]">Batch [% batchid | html %]</a> >+ <a href="/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=[% batchid | uri %]">[% tx("Batch {batch_id}", { batch_id = batchid }) | html %]</a> > [% END %] > [% WRAPPER breadcrumb_item bc_active= 1 %] > <span>Compare matched records</span> >@@ -45,7 +52,7 @@ > <p>The record ID <em>[% RECORDID | html %]</em> doesn't match any existing record.</p> > </div> > [% ELSE %] >- <h2>[% RECORDTITLE | html %]</h2> >+ <h3>[% RECORDTITLE | html %]</h3> > <pre>[% MARC_FORMATTED1 | html %]</pre> > [% END %] > </div> >@@ -56,7 +63,7 @@ > <p>The import ID number <em>[% IMPORTID | html %]</em> doesn't match any existing record.</p> > </div> > [% ELSE %] >- <h2>[% IMPORTTITLE | html %]</h2> >+ <h3>[% IMPORTTITLE | html %]</h3> > <pre>[% MARC_FORMATTED2 | html %] </pre> > [% END %] > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt >index aef69c110a..f3a3618f41 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt >@@ -1,16 +1,16 @@ > [% USE raw %] > [% USE Asset %] >+[% PROCESS 'i18n.inc' %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] >-<title> >+<title>[% FILTER collapse %] > [% IF ( biblio ) %] >- Upload local cover image for [% INCLUDE 'biblio-title-head.inc' %] › >- [% ELSE %] >- Upload local cover image › >+ [% t("Upload local cover image for ") | html %] [% INCLUDE 'biblio-title-head.inc' %] › > [% END %] >- Cataloging › >- Koha >-</title> >+ [% t("Upload local cover image") | html %] › >+ [% t("Cataloging") | html %] › >+ [% t("Koha") | html %] >+[% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] > [% FILTER collapse %] > <style> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34773
:
155621
|
155622
|
155668
|
155710
|
158295
|
158296
|
158440
| 158441