https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18638 Bug ID: 18638 Summary: Bad display of prediction pattern with planified irregularities : translation issue Change sponsored?: --- Product: Koha Version: 3.22 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Serials Assignee: koha-bugs@lists.koha-community.org Reporter: koha@univ-lyon3.fr QA Contact: testopia@bugs.koha-community.org CC: colin.campbell@ptfs-europe.com The problem occurs in french interface. Due to nested double quotes in French translation of a javascript message, the message is broken, both pages of prediction pattern are displayed at the same time and it's not possible to modify anything. ============================= In the po file we have this : #. SCRIPT #: intranet-tmpl/prog/en/modules/serials/subscription-add.tt:13 msgid "" "Warning! Present pattern has planned irregularities. Click on 'Test " "prediction pattern' to check if it's still valid" msgstr "" "Attention ! Le modèle présent a planifié des irrégularités.Cliquez sur " "\"Tester le prévisionnel de bulletinage\" pour vérifier s'il est toujours " "valable" ============================== In susbscription-add.tt we have : English alert(_("Warning! Present pattern has planned irregularities. Click on 'Test prediction pattern' to check if it's still valid")); French alert(_("Attention ! Le modèle présent a planifié des irrégularités.Cliquez sur "Tester le prévisionnel de bulletinage" pour vérifier s'il est toujours valable")); I suppose the double quotes are automatically escaped through po file creation but to get a correct rendering double quotes should be escaped by a double backslash. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.