From 40b4c5e76e36ff654f9aff98bead4df69569874f Mon Sep 17 00:00:00 2001 From: Aleisha Date: Mon, 21 Dec 2015 20:57:36 +0000 Subject: [PATCH] Bug 14631: More changes from 'items' to 'patrons' Some of the changes Bernardo noticed were missed --- .../prog/en/modules/patroncards/edit-batch.tt | 12 ++++++------ patroncards/manage.pl | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt index ab5bbec..61f8663 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt @@ -32,7 +32,7 @@ item_msg = item_num.join(", "); var msg = _("Are you sure you want to remove card number(s): %s from this batch?").format(item_msg); } else if (document.items.action.checked) { - alert(_("Deletion of item from a batch with only one item will delete the batch.\n\nIf this is what you want, select 'Delete batch' option from toolbar")); + alert(_("Deletion of a patron from a batch with only one patron will delete the batch.\n\nIf this is what you want, select 'Delete batch' option from toolbar")); return; // no deletion for single item batch } else { @@ -111,7 +111,7 @@ return(document.items.action.value); } }; - alert(_("Please select at least one item.")); + alert(_("Please select at least one card.")); return (-1); }; @@ -179,7 +179,7 @@ [% IF ( duplicate_message ) %]
- [% duplicate_count %] duplicate item(s) found and removed from batch [% batch_id %]. + [% duplicate_count %] duplicate patron(s) found and removed from batch [% batch_id %].
[% END %] @@ -210,7 +210,7 @@ [% IF ( table_loop ) %]
-

Items in batch number [% batch_id %]

+

Patrons in batch number [% batch_id %]

[% FOREACH table_loo IN table_loop %] [% IF ( table_loo.header_fields ) %] @@ -256,8 +256,8 @@
  1. -

    There are no items in this batch yet

    -

    Add items by borrowernumber using the text area above or leave empty to add via patron search.

    +

    There are no patrons in this batch yet

    +

    Add patrons by borrowernumber using the text area above or leave empty to add via patron search.

diff --git a/patroncards/manage.pl b/patroncards/manage.pl index bd420b9..10cbe2c 100755 --- a/patroncards/manage.pl +++ b/patroncards/manage.pl @@ -69,7 +69,7 @@ my $display_columns = { layout => [ # db column => {col label {select => {label => 'Select', value => 'profile_id'}}, ], batch => [ {batch_id => {label => 'Batch ID', link_field => 0}}, - {_item_count => {label => 'Item Count', link_field => 0}}, + {_item_count => {label => 'Patron Count', link_field => 0}}, {_action => {label => 'Actions', link_field => 0}}, {select => {label => 'Select', value => 'batch_id'}}, ], -- 1.7.10.4