]> git.koha-community.org Git - koha.git/commit
Fix for Bug 4504, Confirmation messages in opac account not translated
authorOwen Leonard <oleonard@myacpl.org>
Wed, 2 Jun 2010 16:55:53 +0000 (12:55 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Thu, 3 Jun 2010 23:52:22 +0000 (19:52 -0400)
commit58969c958ca7ddbac52cb1f48c9db0ccb73b5e54
tree35600512a4d681267ee81416e6ed23a564bbcbe6
parent5bdbd73f632a62674410fc2b7b3a11516e92d571
Fix for Bug 4504, Confirmation messages in opac account not translated

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);"

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-search-history.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl