Bug 24796

Summary: No test coverage for getting translations from templates
Product: Koha Reporter: paxed <pasi.kallinen>
Component: I18N/L10NAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: f.demians
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description paxed 2020-03-04 09:51:44 UTC
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.
Comment 1 Katrin Fischer 2024-01-06 15:07:37 UTC
Is this still valid?