Bug 15573: String and translatability fix to Patron Card Creator
authorAleisha <aleishaamohia@hotmail.com>
Thu, 14 Jan 2016 22:00:41 +0000 (22:00 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 27 Jan 2016 05:36:52 +0000 (05:36 +0000)
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>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt
patroncards/manage.pl

index 5ae465a..044d00c 100644 (file)
 
                 [% 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 %]
 
index da729b7..9190cd3 100755 (executable)
@@ -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'}},
                                     ],