From 1a53b346b4525b212fbbceafdf18512ade7b6ca3 Mon Sep 17 00:00:00 2001
From: Aleisha <aleishaamohia@hotmail.com>
Date: Thu, 14 Jan 2016 22:00:41 +0000
Subject: [PATCH] Bug 15573: String and translatability fix to Patron Card
 Creator

Fixing the split string

To test:

1) Go to Tools -> Patron Card Creator -> Manage -> Card batches
2) Confirm the table heading reads 'Patron Count'
3) Edit a batch
4) Click Remove duplicates
5) Confirm it reads 'Duplicates removed from batch number X: Y patron(s)'

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as described. Rewording Ok for translatability purpose

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
---
 koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt | 2 +-
 patroncards/manage.pl                                             | 2 +-
 2 files changed, 2 insertions(+), 2 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 5ae465a..044d00c 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
@@ -179,7 +179,7 @@
 
                 [% IF ( duplicate_message ) %]
                     <div class="dialog message">
-                        <strong>[% duplicate_count %] duplicate patron(s) found</strong> and removed from batch [% batch_id %].
+                        <strong>Duplicates removed from batch number [% batch_id %]: [% duplicate_count %] patron(s)</strong>
                     </div>
                 [% END %]
 
diff --git a/patroncards/manage.pl b/patroncards/manage.pl
index da729b7..9190cd3 100755
--- a/patroncards/manage.pl
+++ b/patroncards/manage.pl
@@ -70,7 +70,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'}},
                                     ],
-- 
2.1.4