From dbdaa041d4f1bcce7009ee78024dd200e8d5694f Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Wed, 28 Nov 2012 17:51:03 +0100 Subject: [PATCH] Bug 8942: Translation process breaks javascript (followup 2) Signed-off-by: Owen Leonard Tested all changes. Functionality is unchanged. Thanks for the taking the extra effort to move alert strings into variables. Signed-off-by: Mason James --- koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc | 7 ++++++- .../prog/en/modules/tools/manage-marc-import.tt | 4 +++- koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt | 4 +++- .../prog/en/modules/virtualshelves/shelves.tt | 8 +++++--- koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc | 2 ++ koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-privacy.tt | 2 +- 7 files changed, 21 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc index 0a6f2ec308..31714d329c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc @@ -10,6 +10,11 @@ window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber %]"+strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes'); } } + function PopupZ3950Confirmed() { + if (confirm(_("Please note that this Z39.50 search could replace the current record."))){ + PopupZ3950(); + } + } /* provide Z3950 search points */ function GetZ3950Terms(){ @@ -239,7 +244,7 @@ function confirm_items_deletion() { [% IF ( CAN_user_reserveforothers ) %] [% UNLESS ( norequests ) %]
  • Place hold
  • [% END %] [% END %] - [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
  • [% END %] + [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
  • [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt index 0e350fc754..e0325bb8b3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt @@ -28,6 +28,8 @@