Koha/koha-tmpl/opac-tmpl/bootstrap/en/xslt
Kevin Carnes 0f2c17e71d
Bug 35567: Prevent translation of Host-item in "Show analytics" link
The "Show analytics" link is built using text which can be translated.

The following languages have already translated Host-item:
fa-Arab, fi-FI, nl-NL, pt-BR, ru-RU, sv-SE

To test:
 1. Install one of the affected languages:
    koha-translate --install sv-SE --dev kohadev
 2. Modify and save the following system preferences:
    language: enable the language
    OPACLanguages: enable the language
    opaclanguagesdisplay: Allow
    EasyAnalyticalRecords: Show
 3. View a record with holdings and copy the barcode of one the items
 4. Select the Edit dropdown menu above the record details and click
    "Link to host record"
 5. Paste the barcode, click Select, and click OK
 6. Return to Normal view of the record and reload the page
 7. There should now be a "Show analytics" link
 8. Hover over the link and note that the link contains "Host-item"
 9. Switch to one of the affected languages and note that "Host-item" is
    translated
10. View the record in the OPAC and confirm that the link is also translated
11. Apply the patch
12. Update the affected language:
    koha-translate --update sv-SE --dev kohadev
13. Restart Koha (restart_all)
14. Notice that the links are no longer translated
15. Sign off

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-01-11 15:44:43 +01:00
..
compact.xsl
MARC21Languages.xsl
MARC21slim2OPACDetail.xsl Bug 35567: Prevent translation of Host-item in "Show analytics" link 2024-01-11 15:44:43 +01:00
MARC21slim2OPACResults.xsl Bug 35410: Use "Online resources" label in search results 2023-12-07 11:16:25 +01:00
MARC21slimUtils.xsl Bug 34020: (QA follow-up) Indentation fix 2023-10-25 10:35:34 -03:00
plainMARC.xsl
UNIMARCslim2OPACDetail.xsl Bug 30430: (QA follow-up) fix display of 210 only if no 214 + added 214r/s 2022-07-01 16:51:32 -03:00
UNIMARCslim2OPACResults.xsl Bug 30430: (QA follow-up) fix display of 210 only if no 214 + added 214r/s 2022-07-01 16:51:32 -03:00
UNIMARCslimUtils.xsl Bug 30430: (QA follow-up) Several fixes 2022-07-01 16:51:43 -03:00