Bug 30733: Simplify some singular cases

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>
This commit is contained in:
Victor Grousset 2022-06-12 01:42:40 +02:00 committed by Tomas Cohen Arazi
parent 4c8be7f38c
commit 6ab2211f45
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 6 additions and 6 deletions

View file

@ -58,11 +58,11 @@
[% 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">

View file

@ -46,12 +46,12 @@
[% 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">