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>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
Aleisha 2016-01-14 22:00:41 +00:00 committed by Brendan A Gallagher
parent 56dde11a4f
commit a3d2de6248
2 changed files with 2 additions and 2 deletions

View File

@ -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 %]

View File

@ -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'}},
],