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>
(cherry picked from commit bd5aec7649)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
666dd79ede
commit
03edda6f4d
|
|
@ -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…
Reference in New Issue