Bug 10286

Summary: Syspref auto-populator broken in French
Product: Koha Reporter: Jared Camins-Esakov <jcamins>
Component: I18N/L10NAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P5 - low CC: f.demians, gaetan.boisson, gmcharlt, katrin.fischer
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Jared Camins-Esakov 2013-05-19 12:34:48 UTC
When viewing the staff client in French, the syspref auto-populated for the XSLT configuration is broken: if you click one of the links in OPACXSLTResultsDisplay, the value of OPACXSLTDetailsDisplay is changed. This is not an issue in nb-NO or de-DE.
Comment 1 Katrin Fischer 2015-06-08 01:40:02 UTC
This is due to wrong translations:

English:
opac.pref#OPACXSLTResultsDisplay# <br />Options:<ul><li><a href="#" class="set_syspref" data-syspref="OPACXSLTResultsDisplay" data-value="">Leave empty</a> for "no xslt"</li><li>enter "<a href="#" class="set_syspref" data-syspref="OPACXSLTResultsDisplay" data-value="default">default</a>" for the default one</li><li> put a path to define a xslt file</li><li>put an URL for an external specific stylesheet.</li></ul>{langcode} will be replaced with current interface language

French, 3.20:
<br />Options:<ul><li><a href="#" class="set_syspref" data-syspref="OPACXSLTDetailsDisplay" data-value="">Laisser vide</a> pour "pas xslt"</li><li>inscrire "<a href="#" class="set_syspref" data-syspref="OPACXSLTDetailsDisplay" data-value="default">default</a>" pour celle par défaut</li><li>inscrire un chemin vers le fichier xslt</li><li>inscrire une URL pour une feuille de style externe spécifique.</li></ul>{langcode} sera remplacé par la langue par défaut de l'interface

data-syspref says: Detail, when it should be Results.