[Koha-bugs] [Bug 33154] New: Tab WRAPPER follow-up: label text must be translatable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 7 13:43:38 CET 2023


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

            Bug ID: 33154
           Summary: Tab WRAPPER follow-up: label text must be translatable
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 32571

The new WRAPPER system for building tabs has the unwanted side-effect of
creating a situation where text is not translatable. Because the translation
process looks for text inside HTML tags, the string "Server information" will
not be picked up for translation:

[% WRAPPER tab_item tabname= "about" bt_active= 1 %] Server information [% END
%]

Strings must be wrapped in <span> (or some variation of "[% t('A translatable
string') %]."


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32571
[Bug 32571] Use template wrapper to build tabbed components
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list