https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39201 Bug ID: 39201 Summary: Escape double quotes for strings going into Javascript Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: I18N/L10N Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org CC: f.demians@tamil.fr, jonathan.druart@gmail.com As noted by Owen on the listserv, there are times where translators inject double quotes: #: koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt:379 #: koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt:100 #, c-format msgid "Not for loan status" msgstr "Статус \"на дом не выдается\"" Which leads to this: + ' <th id="items_status" data-colname="notforloan_status">' + _("Статус "на дом не выдается"") + '</th>' But really those backslash escapes should've been preserved or during the text replacement process they should've been escaped again. -- Personally, I don't know enough about the translation mechanisms to know the finer details, but I suspect that would be the answer. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.