Bug 15383 - Opac: Autority details: Fix translation issues with a tags
authorMarc Véron <veron@veron.ch>
Tue, 15 Dec 2015 16:06:17 +0000 (17:06 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 31 Dec 2015 11:22:00 +0000 (11:22 +0000)
Fix translation issue in opac-auth-detail.tt and opac-auth-MARCdetail.tt
(string splitting by link tag) making it hard to have a gramaticaly correct
translation.

To test:
- Apply patch
- In OPAC, go to search an Authority and display details (View full heading)
- Verify the line "Usage in records: x" in both Normal view and MARC view

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Not sure if "Usage in records" is the best wording, but I have no great
options either, "Number of records used in:"?

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt

index 525c47f..2db0c25 100644 (file)
@@ -44,7 +44,7 @@
                         [% END %]
 
                         <h1>Entry [% authtypetext %]</h1>
-                        <p>Used in <a href="opac-search.pl?type=opac&amp;q=[% authid %]&amp;idx=an,phr">[% count %] records</a></p>
+                        <p><a href="opac-search.pl?type=opac&amp;q=[% authid %]&amp;idx=an,phr">Usage in records: [% count %]</a></p>
                             [% FOREACH Tag0X IN Tab0XX %]
                                 <p><b>[% Tag0X.tag %]</b></p>
                                 <ul>
index 1032eee..c2733ee 100644 (file)
@@ -46,7 +46,7 @@
                         <h1>[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</h1>
 
                         <div class="usedin">
-                            Used in <a href="opac-search.pl?type=opac&amp;q=[% authid %]&amp;idx=an,phr">[% count %] records</a>
+                            <a href="opac-search.pl?type=opac&amp;q=[% authid %]&amp;idx=an,phr">Usage in records: [% count %]</a>
                         </div>
 
                         <div class="authstanza">