[Koha-bugs] [Bug 18638] New: Bad display of prediction pattern with planified irregularities : translation issue

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 19 14:18:20 CEST 2017


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 at lists.koha-community.org
          Reporter: koha at univ-lyon3.fr
        QA Contact: testopia at bugs.koha-community.org
                CC: colin.campbell at 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.


More information about the Koha-bugs mailing list