Alex Buckley
efad62f91d
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> |
||
---|---|---|
.. | ||
account-table.inc | ||
accounts.inc | ||
authorities-search-results.inc | ||
av-build-dropbox.inc | ||
biblio-title-head.inc | ||
biblio-title.inc | ||
bodytag.inc | ||
calendar.inc | ||
columns_settings.inc | ||
datatables.inc | ||
date-format.inc | ||
display-library-address.inc | ||
doc-head-close.inc | ||
doc-head-open.inc | ||
greybox.inc | ||
holds-table.inc | ||
html_helpers.inc | ||
i18n.inc | ||
ill-availability-table.inc | ||
item-status-schema-org.inc | ||
item-status.inc | ||
js-date-format.inc | ||
masthead-langmenu.inc | ||
masthead-sci.inc | ||
masthead-sco.inc | ||
masthead.inc | ||
navigation.inc | ||
opac-authorities.inc | ||
opac-bottom.inc | ||
opac-detail-sidebar.inc | ||
opac-facets.inc | ||
opac-note.inc | ||
opac-topissues.inc | ||
openlibrary-readapi.inc | ||
overdrive-checkout.inc | ||
overdrive-login.inc | ||
page-numbers.inc | ||
password_check.inc | ||
patron-title.inc | ||
recordedbooks-checkout.inc | ||
resort_form.inc | ||
shelfbrowser.inc | ||
slip-print.inc | ||
subtypes_unimarc.inc | ||
title-actions-menu.inc | ||
user-star-ratings.inc | ||
usermenu.inc | ||
validator-strings.inc | ||
xslt-handler.inc |