[Koha-bugs] [Bug 29245] Fix the parameters of getTranslatedLanguages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 14 00:05:58 CET 2021


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #12 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Tbh this doesn't read like a trivial fix from the number of code changes. I
also think we shouldn't hardcode templates, as this breaks the templating
system:

     if ( C4::Context->preference('TranslateNotices') ) {
         my $translated_languages =
-          C4::Languages::getTranslatedLanguages( 'opac',
-            C4::Context->preference('template') );
+            C4::Languages::getTranslatedLanguages( 'opac', 'bootstrap' );

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


More information about the Koha-bugs mailing list