From da77892c6741071c9d0129ae38d11c14bc8b9772 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Wed, 25 Sep 2013 11:50:07 -0400 Subject: [PATCH] [PASSED QA] Bug 10948: make reference labels translatable in OPAC auth results MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For some reason the translator script was not picking up the see also and used for/see from labels on the OPAC. This patch fixes the problem. To test: 1) Apply patch. 2) Generate PO files. 3) Note that "see from" and "used for/see from" appear. 4) Sign off. Signed-off-by: Nuño López Ansótegui Signed-off-by: Katrin Fischer Works nicely, thx for the fix. Tested by updating the German po files, translating the strings and installing the templates. Verified strings show up in German in the authority result list. --- .../en/includes/authorities-search-results.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc b/koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc index 6e6db3c..b113049 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc @@ -11,7 +11,10 @@ RT: [% heading | html %] [% END %] [% ELSE %] - [% IF ( label ) %][% label | html %][% END %] + [% IF ( label ) %][% SWITCH label %] + [% CASE 'see also:' %]see also: + [% CASE 'used for/see from:' %]used for/see from: + [% END %][% END %] [% IF ( linkpath && search ) %][% heading | html %] [% ELSE %][% heading | html %][% END %] -- 1.7.9.5