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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/