[Koha-bugs] [Bug 4504] Confirmation messages in opac account not translated

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 2 18:57:04 CEST 2010


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|frederic at tamil.fr           |oleonard at myacpl.org

--- Comment #1 from Owen Leonard <oleonard at myacpl.org>  ---
Created attachment 2199
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=2199
Proposed fix

Strings within JavaScript onclick attributes are not getting picked up by the
translator:

    onclick="return confirmDelete(_('Are you sure you want to cancel this
    hold?'));"

This patch converts those to use variables defined in the main script block:

    onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);"

-- 
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