[Koha-bugs] [Bug 28462] TT tag on several lines break the translator tool

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 26 16:27:35 CEST 2021


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

--- Comment #3 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 121434
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121434&action=edit
Bug 28462: Remove TT tag on several lines - opac-advsearch.tt

It fixes the translation in case the operators have been translated

Test plan:
1. update/install pt-BR
2. Use pt-BR and hit opac-advsearch.pl
3. Notice the error
Template process failed: file error - parse error -
/kohadevbox/koha/koha-tmpl/opac-tmpl/bootstrap/pt-BR/modules/opac-advsearch.tt
line 409: unexpected token (e)                                                 
  [% IF (OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.size> 0 e
extended_options) ou (OpacAdvSearchOptions and OpacAdvSearchOptions.size> 0 e n
expandido_options) %] at /kohadevbox/koha/C4/Templates.pm
4. Apply the patch and repeat 1 and 2
Note that it's now working

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


More information about the Koha-bugs mailing list