[Koha-bugs] [Bug 30733] Simplify translatable strings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 31 03:13:54 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30733

--- Comment #26 from Fridolin Somers <fridolin.somers at biblibre.com> ---
In koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt
-  <h2>[% nnoverdue | html %] [% IF ( noverdue_is_plural ) %]Items[% ELSE
%]Item[% END %] overdue as of [% todaysdate | html %][% IF ( isfiltered ) %]
<span style="font-size:70%;">(Filtered. <a
href="/cgi-bin/koha/circ/overdue.pl">Reset filter</a>)</span>[% END %]</h2>
+  <h2>[% nnoverdue | html %] [% IF ( noverdue_is_plural )
%]<span>Items</span>[% ELSE %]Item[% END %] overdue as of [% todaysdate | html
%][% IF ( isfiltered ) %] <span style="font-size:70%;">(Filtered. <a
href="/cgi-bin/koha/circ/overdue.pl">Reset filter</a>)</span>[% END %]</h2>

Why this small change ?
It is actually a IF/ELSE to use singular or plural Item or Items.
"overdue" will need to know the context.

I'd say do not touch.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list