[Koha-bugs] [Bug 24796] New: No test coverage for getting translations from templates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 4 10:51:44 CET 2020


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

            Bug ID: 24796
           Summary: No test coverage for getting translations from
                    templates
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: I18N/L10N
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: pasi.kallinen at koha-suomi.fi
        QA Contact: testopia at bugs.koha-community.org
                CC: frederic at tamil.fr

There are two different code paths for getting translatable strings out of
templates: 1) extract_messages_from_templates() in LangInstaller.pm which
handles js-files and the templates that use i18n.inc, 2) tmpl_process3.pl which
uses misc/translation/xgettext.pl to parse and extract strings out of tt-files.

The t/LangInstaller.t only tests the first one, there are no tests whatsoever
for the second.

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


More information about the Koha-bugs mailing list