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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 18 12:41:25 CEST 2012


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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8942
                CC: frederic at tamil.fr
          Assignee: koha-bugs at lists.koha-community.org
           Summary: Translation process breaks javascript in calendar.inc
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: fridolyn.somers at biblibre.com
          Hardware: All
            Status: NEW
           Version: master
         Component: translate.koha-community.org
           Product: Koha

In french translation of calendar.inc :
Because (line 31) :
    currentText: _('Today'),
is translated
    currentText: _('Aujourd'hui'),
additionnal quote brakes the Javascript.

This provokes the use of american format dates in calendar pop-up.

I had a discussion on translate list, the way chosen to repair it is to use
HTML escape char sequence "'" instead of single quote in translated
strings.
Same thing for double quotes, &, < and >.

So I will correct on translate site but one can follow the resolution on this
bug.

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


More information about the Koha-bugs mailing list