[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
Thu May 27 19:20:11 CEST 2021


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

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |victor at tuxayo.net

--- Comment #4 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
I can't reproduce, somehow the process handles well the TT tag on several
lines.
After these commands
misc/translator/translate update pt-BR
misc/translator/translate install pt-BR

=== the translated TT looks like ===
 [% END # / IF expanded_options %]

 [% IF ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.size > 0 and
expanded_options ) or
 ( OpacAdvSearchOptions and OpacAdvSearchOptions.size > 0 and not
expanded_options ) %]
 <div class="text-center">
 <fieldset class="action">
 <!-- SEARCH BUTTONS -->
 [% PROCESS searchbuttons %]
 <!-- /SEARCH BUTTONS -->
 </fieldset>
 </div>
 [% END %]
 </div> <!-- / .container-fluid -->
 </div> <!-- / .main -->
</form>

[% INCLUDE 'opac-bottom.inc' %]
[% BLOCK searchbuttons %]
 <p>
 <input accesskey="s" class="btn btn-primary" name="do" title="Pesquisar TEST
translated" type="submit" value="Pesquisar" />


=== Analysis ===
The multi line condition isn't translate and thus not broken.

we can see "Pesquisar TEST translated" which comes from the .po
where it's the translation of "Search TEST source"
which has been added to the original template to confirm that the process is
working.

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


More information about the Koha-bugs mailing list