Hi there,
I see this line
https://github.com/Koha-Community/Koha/blob/beb663836b45a77f45195774133cc9b78957fcd5/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt#L75
does not get translated correctly.
The 0 in the ELSE is lost in the translated versions of opac-overdrive-search.tt, for example below:
var OD_password_required = [% IF
Koha.Preference('OverDrivePasswordRequired') %]1[% ELSE %][% END
%];
This in turn throws a JavaScript error if a library does not have
the OverDrivePasswordRequired syspref enabled.
I checked the en-NZ-opac-bootstrap.po and it has no translation for that JS line.
Could someone please give me some pointers on how we could stop the 0 being lost?
Any help gratefully received!
Many thanks,
Alex