Browse Source

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 <nunyo@masmedios.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
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 <gmc@esilibrary.com>
new/bootstrap-opac
Jared Camins-Esakov 11 years ago
committed by Galen Charlton
parent
commit
bd5aec7649
  1. 5
      koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc

5
koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc

@ -11,7 +11,10 @@
<span class="RT">RT: [% heading | html %]</span>
[% END %]
[% ELSE %]
[% IF ( label ) %]<span class="label">[% label | html %]</span>[% END %]
[% IF ( label ) %]<span class="label">[% SWITCH label %]
[% CASE 'see also:' %]see also:
[% CASE 'used for/see from:' %]used for/see from:
[% END %]</span>[% END %]
<span class="heading">
[% IF ( linkpath && search ) %]<a href="[% link | url %][% search | url %]">[% heading | html %]</a>
[% ELSE %][% heading | html %][% END %]

Loading…
Cancel
Save