From bd5aec76494a10b6c908924b3a421f7ce08224f1 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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. Signed-off-by: Galen Charlton --- .../prog/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 6e6db3c3ea..b113049c24 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 %] -- 2.39.5