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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/