Bug 30733: Simplify some singular cases
authorVictor Grousset/tuxayo <victor@tuxayo.net>
Sat, 11 Jun 2022 23:42:40 +0000 (01:42 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 17 Jun 2022 13:16:43 +0000 (10:16 -0300)
To be sure translators don't think it's wrong and translate it plurally.

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt
koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt

index fdfcf23..7349d8f 100644 (file)
         [% ELSE %]
             <h3>
                 [% IF ( label_ids ) %]
-                    [% IF ( label_count == 1 ) %]<span>Exporting [% label_count | html %] label</span>[% ELSE %]<span>Exporting [% label_count | html %] labels</span>[% END %]
+                    [% IF ( label_count == 1 ) %]<span>Exporting 1 label</span>[% ELSE %]<span>Exporting [% label_count | html %] labels</span>[% END %]
                 [% ELSIF ( item_numbers ) %]
-                    [% IF ( item_count == 1 ) %]<span>Exporting [% item_count | html %] label</span>[% ELSE %]<span>Exporting [% item_count | html %] labels</span>[% END %]
+                    [% IF ( item_count == 1 ) %]<span>Exporting 1 label</span>[% ELSE %]<span>Exporting [% item_count | html %] labels</span>[% END %]
                 [% ELSE %]
-                    [% IF ( multi_batch_count == 1 ) %]<span>[% multi_batch_count | html %] batch to export</span>[% ELSE %]<span>[% multi_batch_count | html %] batches to export</span>[% END %]
+                    [% IF ( multi_batch_count == 1 ) %]<span>1 batch to export</span>[% ELSE %]<span>[% multi_batch_count | html %] batches to export</span>[% END %]
                 [% END %]
             </h3>
             <form name="exporting" method="post" action="/cgi-bin/koha/labels/label-print.pl">
index 6c0a794..195cd7a 100644 (file)
             [% ELSE %]
             <h3>
                     [% IF ( label_ids ) %]
-                        [% IF ( card_count == 1 ) %]<span>Exporting [% card_count | html %] patron card</span>[% ELSE %]<span>Exporting [% card_count | html %] patron cards</span>[% END %]
+                        [% IF ( card_count == 1 ) %]<span>Exporting 1 patron card</span>[% ELSE %]<span>Exporting [% card_count | html %] patron cards</span>[% END %]
                     [% ELSIF ( borrower_numbers ) %]
-                        [% IF ( borrower_count == 1 ) %]<span>Exporting [% borrower_count | html %] patron card</span>[% ELSE %]<span>Exporting [% borrower_count | html %] patron cards</span>[% END %]
+                        [% IF ( borrower_count == 1 ) %]<span>Exporting 1 patron card</span>[% ELSE %]<span>Exporting [% borrower_count | html %] patron cards</span>[% END %]
                     [% ELSIF ( patronlist_id ) %] <span>Exporting from patron list</span>
                     [% ELSE %]
-                        [% IF ( multi_batch_count == 1 ) %]<span>[% multi_batch_count | html %] batch to export</span>[% ELSE %]<span>[% multi_batch_count | html %] batches to export</span>[% END %]
+                        [% IF ( multi_batch_count == 1 ) %]<span>1 batch to export</span>[% ELSE %]<span>[% multi_batch_count | html %] batches to export</span>[% END %]
                     [% END %]
             </h3>
             <form id="exportingf" name="exporting" method="post" action="/cgi-bin/koha/patroncards/print.pl">