Koha/koha-tmpl/opac-tmpl/prog/en
Marcel de Rooy a4baa4df18 6278 Funny translation bug with XSLT subfieldSelect parameters
This patch resolves the situation of translating the parameters at (meaning subfield a and t) of subfieldSelect by replacing at with a_t. This string will not be translated and the xslt function subfieldSelect just ignores the underscore.
It is a pragmatic and easy solution. Theoretically, we should look for a solution in the translation parser. This is much harder and would probably not result in better code in those modules.

Test this patch with the following remarks in mind:
1) This patch deals with XSLT. So you should enable XSLT at OPAC detail.
2) In English or any language not translating the word at: Just check if the links for a MARC 490, 773, 780 or 785 still work at the opac detail page.
3) For a language translating the word at (like Dutch where at becomes bij), you should first rerun your translation process (at least for the OPAC).
4) In that language: Check the results on the vernacular opac detail page for MARC 490, 773, 780 or 785. Without the patch, you would not see a link following e.g. the Series label (with 490 first indicator set to 1). With the patch, you should see a link now.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Pragmatic solution for an annoying problem.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-10-13 15:45:08 +13:00
..
css Bug 6636 - add 'powered by Koha' text to OPAC footer 2011-10-09 20:13:09 +13:00
includes Bug 6636 - add 'powered by Koha' text to OPAC footer 2011-10-09 20:13:09 +13:00
js Bug 5429 : Open Library book covers 2011-08-04 13:30:23 +12:00
lib Fix for Bug 6484 - due date sorter on 'my summary' missing 2011-07-21 08:20:12 +12:00
modules Bug 5630 CAS improvements 2011-10-13 10:49:49 +13:00
xslt 6278 Funny translation bug with XSLT subfieldSelect parameters 2011-10-13 15:45:08 +13:00