[Koha-translate] Javascript escape char
Fridolyn SOMERS
fridolyn.somers at biblibre.com
Wed Oct 17 13:07:31 CEST 2012
Hie,
It appears translating into fr-FR brakes Javascript in calendar.inc.
Because (line 31) :
currentText: _('Today'),
is translated
currentText: _('Aujourd'hui'),
Additionnal quote brakes the Javascript.
What should we do : translate with escape char ("Aujourd\\'hui" in PO)
or should translation script handle it ?
If same text is used in both Javascript and HTML, escape char can not be
used.
Best regards
--
Fridolyn SOMERS
Biblibre - Pôle Support
fridolyn.somers at biblibre.com <mailto:fridolyn.somers at biblibre.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-translate/attachments/20121017/6f086d26/attachment.htm>
More information about the Koha-translate
mailing list