[Koha-bugs] [Bug 29245] Fix the parameters of getTranslatedLanguages
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 15 14:11:30 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29245
--- Comment #14 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Katrin Fischer from comment #12)
> 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' );
Try a git grep ;)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list