[Bug 18638] New: Bad display of prediction pattern with planified irregularities : translation issue
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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18638 Koha Team Lyon 3 <koha@univ-lyon3.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - low |P3 CC| |koha@univ-lyon3.fr Severity|enhancement |normal -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18638 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I've checked the current French translations for this string and it appears to have been fixed: # Do not change single or double quotes it may brake JavaScript #. SCRIPT #: intranet-tmpl/prog/en/modules/serials/subscription-add.tt:519 msgid "" "Warning! Present pattern has planned irregularities. Click on 'Test " "prediction pattern' to check if it's still valid" msgstr "" "Attention ! Il y a des irrégularités dans le présent modèle. Cliquez " "sur « Tester le prévisionnel de bulletinage » pour vérifier s'il " "est toujours valable" Note: translation issues like this need to be resolved on translate.koha-community.org by fixing the translation. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org