Bug 15662: String and translatability fix to Label Creator
authorAleisha <aleishaamohia@hotmail.com>
Tue, 26 Jan 2016 02:12:38 +0000 (02:12 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 24 Feb 2016 03:44:34 +0000 (03:44 +0000)
To test:
1) Go to Tools -> Label Creator -> New label batch
2) Add an item
3) Click 'Remove selected items' button. Confirm message now reads "Please select at least one label to delete."
4) Click 'Remove duplicates' button. Confirm message now reads "Duplicate item(s) removed from batch number X: Y", all in bold.

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

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt

index ee03e2e..355cfa4 100644 (file)
@@ -48,7 +48,7 @@
                     return; // no deletion for single item batch
                 }
                 else {
-                    alert(_("Please select at least label to delete."));
+                    alert(_("Please select at least one label to delete."));
                     return;     // no item selected
                 }
                 var answer = confirm(msg);
                             </div>
                         [% ELSIF ( duplicate_message ) %]
                             <div class="dialog message">
-                                <strong>[% duplicate_count %] duplicate item(s) found</strong> and removed from batch [% batch_id %].
+                                <strong>Duplicate item(s) removed from batch number [% batch_id %]: [% duplicate_count %]</strong>
                             </div>
                         [% END %]