[Koha-bugs] [Bug 8942] Translation process breaks javascript in calendar.inc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 7 15:33:28 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8942

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #14 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
QA Comment:
Single quote seems to work (but see note below). Double quote does not work.

If I translate:
msgid "Your lists:"
msgstr "Uw "lijsten:"

It results in: 
param1 += "<optgroup label=\""+_("Uw \"lijsten:")+"\">";[% FOREACH
addbarshelvesloo IN addbarshelvesloop %]
(Example from opac-results.tt within document ready function section. )

OPAC displays only the word Uw. But does not show \"lijsten.

NOTE:
If I would use already a backslash to escape my quotes in the PO file like
this:
msgstr "Uw \'lijsten:"

I would not like to see the backslash in the display.
In other words: Could you improve the regex with lookbehind to prevent adding a
backslash that is already there?

Changing status to reflect need for attention.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list