[Koha-bugs] [Bug 7109] New: Error in en-GB and en-NZ templates causes JavaScript errors

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 27 21:04:58 CEST 2011


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

             Bug #: 7109
           Summary: Error in en-GB and en-NZ templates causes JavaScript
                    errors
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P5
         Component: I18N/L10N
        AssignedTo: frederic at tamil.fr
        ReportedBy: oleonard at myacpl.org
         QAContact: koha-bugs at lists.koha-community.org


Where the en-US template has a \ to escape a single quote:

_('Are you sure you want to renew this patron\'s registration?')

...the translated templates are double-escaped:

_('Are you sure you want to renew this user\\'s registration?')

This causes a JavaScript error which breaks further JavaScript processing on
the page (like toolbars, menus, etc).

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list