Thinking of it, the best solution is to
use ' instead of a quote :
translate "Today" into "Aujourd'hui".
It is good for both HTML and Javascript.
What about it ?
Le 17/10/2012 13:07, Fridolyn SOMERS a écrit :
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