From 6ab2211f451d4d6abd1e9b0bba30dc2a2ef37dcf Mon Sep 17 00:00:00 2001 From: Victor Grousset/tuxayo Date: Sun, 12 Jun 2022 01:42:40 +0200 Subject: [PATCH] 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 Signed-off-by: Paul Derscheid Signed-off-by: Fridolin Somers Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/modules/labels/label-print.tt | 6 +++--- .../intranet-tmpl/prog/en/modules/patroncards/print.tt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt index fdfcf238ad..7349d8fb06 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt @@ -58,11 +58,11 @@ [% ELSE %]

[% IF ( label_ids ) %] - [% IF ( label_count == 1 ) %]Exporting [% label_count | html %] label[% ELSE %]Exporting [% label_count | html %] labels[% END %] + [% IF ( label_count == 1 ) %]Exporting 1 label[% ELSE %]Exporting [% label_count | html %] labels[% END %] [% ELSIF ( item_numbers ) %] - [% IF ( item_count == 1 ) %]Exporting [% item_count | html %] label[% ELSE %]Exporting [% item_count | html %] labels[% END %] + [% IF ( item_count == 1 ) %]Exporting 1 label[% ELSE %]Exporting [% item_count | html %] labels[% END %] [% ELSE %] - [% IF ( multi_batch_count == 1 ) %][% multi_batch_count | html %] batch to export[% ELSE %][% multi_batch_count | html %] batches to export[% END %] + [% IF ( multi_batch_count == 1 ) %]1 batch to export[% ELSE %][% multi_batch_count | html %] batches to export[% END %] [% END %]

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt index 6c0a7947f3..195cd7aa4d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt @@ -46,12 +46,12 @@ [% ELSE %]

[% IF ( label_ids ) %] - [% IF ( card_count == 1 ) %]Exporting [% card_count | html %] patron card[% ELSE %]Exporting [% card_count | html %] patron cards[% END %] + [% IF ( card_count == 1 ) %]Exporting 1 patron card[% ELSE %]Exporting [% card_count | html %] patron cards[% END %] [% ELSIF ( borrower_numbers ) %] - [% IF ( borrower_count == 1 ) %]Exporting [% borrower_count | html %] patron card[% ELSE %]Exporting [% borrower_count | html %] patron cards[% END %] + [% IF ( borrower_count == 1 ) %]Exporting 1 patron card[% ELSE %]Exporting [% borrower_count | html %] patron cards[% END %] [% ELSIF ( patronlist_id ) %] Exporting from patron list [% ELSE %] - [% IF ( multi_batch_count == 1 ) %][% multi_batch_count | html %] batch to export[% ELSE %][% multi_batch_count | html %] batches to export[% END %] + [% IF ( multi_batch_count == 1 ) %]1 batch to export[% ELSE %][% multi_batch_count | html %] batches to export[% END %] [% END %]

-- 2.39.5