From e46aac082ba080a731742e10af94ca420b6c57b5 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Wed, 25 Sep 2013 11:50:07 -0400 Subject: [PATCH] Bug 10948: make reference labels translatable in OPAC auth results 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 --- .../en/includes/authorities-search-results.inc | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) 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.5.6.5