Koha/koha-tmpl/opac-tmpl
Alex Buckley efad62f91d
Bug 30991: Fix remaining instances of [% ELSE %]0[% END %] in templates
The construct of [% ELSE %]0[% END %] breaks translations as it is
translated as [% ELSE %][% END %]. Note: No 0 in the ELSE statement.

This patchset either removes occurances of a lone 0 in template ELSE
statements, or splits it over multiple lines so the 0 is not removed in
the translated templates.

Test plan:
1. Install the en-NZ translation
2. Search the translated templates for '[% ELSE %][% END %]' and confirm
there are are instances of that
3. Apply patch
4. Update your en-NZ translation
5. Repeat step 2 and confirm there are no more instances of [% ELSE %][%
END %] in the translated templates

Note: I removed the [% ELSE %] statement from opac-bottom.inc as that
statement was empty in the en translation so it didn't look to be
needed.

Sponsored-by: Catalyst IT, New Zealand

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-25 15:20:44 -03:00
..
bootstrap Bug 30991: Fix remaining instances of [% ELSE %]0[% END %] in templates 2022-06-25 15:20:44 -03:00
lib Bug 29940: Phase out jquery.cookie.js in the OPAC 2022-03-22 10:17:34 -10:00
xslt Bug 29155: Update links to jQuery and jQuery Migrate files 2022-04-25 10:00:22 -10:00