There is indeed a problem. Actually in 3.12.x sources, we have in da-DK PO file : #. SCRIPT #: intranet-tmpl/prog/en/modules/tools/quotes.tt:11 msgid "" "No quotes available. Please use the \\\"Add quote\\\" button to add a quote." msgstr "" "Ingen citater tilgængelige. Brug knappen \\\"Tilføj citat\\\" for at tilføje " "et citat." For translating Javascript string : _("No quotes available. Please use the \"Add quote\" button to add a quote."); The Bug 8942 introduced the exclusive double-quotes usage for strings in JS, so inside double-quotes must be escaped. The problem is that actually, the translated string is : _("Ingen citater tilgængelige. Brug knappen \\"Tilføj citat\\" for at tilføje et citat."); It seems that back-slash in original string must be escaped by not in translated string. This appears in some other strings like : "Line \n", ... So the solution is to use single back-slash in translated string where there is a double in original string. You mays correct by using inside single quotes. But, do not use single-quotes as string delimiter. I will work on this for French translation. Rgards, Le 29/05/2013 17:54, Lars J. Helbo a écrit :
Hi,
While testing the Danish language files I just found another bug, but in this case the cause is in the original english files. So probably it is an issue for all languages?
In the original english texts (staff-client 3.12) you will find this line.
No quotes available. Please use the \\"Add quote\\" button to add a quote.
The double backslashes are wrong. I had translated this to:
Ingen citater tilgængelige. Brug knappen \\"Tilføj citat\\" for at tilføje et citat.
But that way the quotes tool does not work. Now i have changed it to:
Ingen citater tilgængelige. Brug knappen \"Tilføj citat\" for at tilføje et citat.
and everything is fine. The error is found in Koha 3.10 and 3.12.
-- Fridolyn SOMERS Biblibre - Pôle support fridolyn.somers@biblibre.com