Bugzilla – Attachment 21681 Details for
Bug 10948
Some strings in the authority result list turned out untranslatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 10948: make reference labels translatable in OPAC auth results
PASSED-QA-Bug-10948-make-reference-labels-translat.patch (text/plain), 1.92 KB, created by
Katrin Fischer
on 2013-09-30 18:35:39 UTC
(
hide
)
Description:
[PASSED QA] Bug 10948: make reference labels translatable in OPAC auth results
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-09-30 18:35:39 UTC
Size:
1.92 KB
patch
obsolete
>From da77892c6741071c9d0129ae38d11c14bc8b9772 Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >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 <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. >--- > .../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 @@ > <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 %] >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10948
:
21449
|
21450
|
21648
|
21649
|
21650
| 21681