From 2316c94fe665d843ef2c3dcc70d97de00a3f86c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Tue, 15 Dec 2015 17:06:17 +0100 Subject: [PATCH] Bug 15383 - Opac: Autority details: Fix translation issues with a tags 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 Signed-off-by: Kyle M Hall 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 (cherry picked from commit 3d3c53ec017b6973e2cf1b27830c67fac95c7724) Signed-off-by: Julian Maurice --- .../opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt index 525c47fd71..2db0c253f2 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt @@ -44,7 +44,7 @@ [% END %]

Entry [% authtypetext %]

-

Used in [% count %] records

+

Usage in records: [% count %]

[% FOREACH Tag0X IN Tab0XX %]

[% Tag0X.tag %]

    diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt index 1032eeedc3..c2733ee0ef 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt @@ -46,7 +46,7 @@

    [% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]

    -- 2.39.5