From 5fb828b4ae96e663465070366873674fff15de1a Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 25 Aug 2014 14:52:58 +0200 Subject: [PATCH] Bug 6536: QA Follow-up for string changes referring to Z39.50 Content-Type: text/plain; charset=utf-8 Z39.50 search now includes SRU targets. This patch only touches strings referring to it. No changes in behavior. It replaces Z39.50 with Z39.50/SRU or external. Deletes obsolete template z3950/searchresult.tt: not in use for some time. Signed-off-by: Marcel de Rooy --- .../intranet-tmpl/prog/en/includes/admin-menu.inc | 2 +- .../intranet-tmpl/prog/en/includes/cat-toolbar.inc | 4 +- .../prog/en/includes/z3950-admin-search.inc | 4 +- .../prog/en/modules/acqui/z3950_search.tt | 2 +- .../prog/en/modules/admin/admin-home.tt | 4 +- .../prog/en/modules/admin/z3950servers.tt | 12 +++--- .../prog/en/modules/catalogue/results.tt | 2 +- .../prog/en/modules/cataloguing/addbiblio.tt | 4 +- .../prog/en/modules/cataloguing/addbooks.tt | 2 +- .../prog/en/modules/cataloguing/z3950_search.tt | 6 +- .../prog/en/modules/z3950/searchresult.tt | 45 -------------------- 11 files changed, 21 insertions(+), 66 deletions(-) delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/z3950/searchresult.tt diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc index ebd345c..a6607d9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc @@ -60,7 +60,7 @@ 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 a296dd1..ceaf247 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc @@ -9,7 +9,7 @@ } } function PopupZ3950Confirmed() { - if (confirm(_("Please note that this Z39.50 search could replace the current record."))){ + if (confirm(_("Please note that this external search could replace the current record."))){ PopupZ3950(); } } @@ -194,7 +194,7 @@ CAN_user_serials_create_subscription ) %] [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
  • Edit as new (duplicate)
  • -
  • Replace record via Z39.50
  • +
  • Replace record via Z39.50/SRU
  • [% IF ( count ) %]
  • Delete record
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc index b09186f..f843069 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc @@ -2,7 +2,7 @@

    [% LibraryName %]

    [% IF ( stopwords_removed ) %]

    Ignored the following common words: "[% stopwords_removed %]"

    [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index 790a57b..26e3b62 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -70,7 +70,7 @@ }); $("#z3950search").click(function(){ - if (confirm(_("Please note that this Z39.50 search could replace the current record."))){ + if (confirm(_("Please note that this external search could replace the current record."))){ PopupZ3950(); } }); @@ -456,7 +456,7 @@ function Changefwk(FwkList) { [% END %] [% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %] - + [% IF (biblionumber) %] [% IF ( BiblioDefaultViewmarc ) %]
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt index 5309f0c..21a7140 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt @@ -62,7 +62,7 @@
    - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt index bab6744..b8c7e61 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt @@ -1,5 +1,5 @@ [% INCLUDE 'doc-head-open.inc' %] -Koha › Z39.50 search results +Koha › Z39.50/SRU search results [% INCLUDE 'greybox.inc' %] [% INCLUDE 'doc-head-close.inc' %] @@ -54,7 +54,7 @@ $(document).ready(function(){ }); $("form[name='f']").submit(function(){ if ($('input[type=checkbox]').filter(':checked').length == 0) { - alert(_("Please choose at least one Z39.50 target")); + alert(_("Please choose at least one external target")); return false; } else return true; @@ -101,7 +101,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : [% END %]
    [% IF ( opsearch ) %] -

    Z39.50 search points

    +

    Z39.50/SRU search

    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/z3950/searchresult.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/z3950/searchresult.tt deleted file mode 100644 index 842bbb9..0000000 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/z3950/searchresult.tt +++ /dev/null @@ -1,45 +0,0 @@ -[% INCLUDE 'doc-head-open.inc' %] -Koha › Z39.50 search results -[% INCLUDE 'doc-head-close.inc' %] - - - - -

    Z3950 search results

    - - [% IF ( breeding_loop ) %] - - - - - - - - - - [% FOREACH breeding_loo IN breeding_loop %] - - - - - - - - [% END %] -
    TitleAuthorISBNComing from  
    [% breeding_loo.title |html %][% breeding_loo.author %][% breeding_loo.isbn %][% breeding_loo.file %]Import this biblio
    - [% ELSE %] -

    Nothing found

    - [% END %] - [% IF ( numberpending ) %]

    Still [% numberpending %] requests to go

    [% END %] - - - - -- 1.7.7.6