View | Details | Raw Unified | Return to bug 29246
Collapse All | Expand All

(-)a/members/memberentry.pl (-1 / +1 lines)
Lines 866-872 if ( defined $min ) { Link Here
866
}
866
}
867
867
868
if ( C4::Context->preference('TranslateNotices') ) {
868
if ( C4::Context->preference('TranslateNotices') ) {
869
    my $translated_languages = C4::Languages::getTranslatedLanguages( 'opac', C4::Context->preference('intranet_theme') );
869
    my $translated_languages = C4::Languages::getTranslatedLanguages( 'opac', C4::Context->preference('opacthemes') );
870
    $template->param( languages => $translated_languages );
870
    $template->param( languages => $translated_languages );
871
}
871
}
872
872
(-)a/tools/letter.pl (-4 / +1 lines)
Lines 159-167 sub add_form { Link Here
159
    my %letters = ( default => { templates => $templates } );
159
    my %letters = ( default => { templates => $templates } );
160
160
161
    if ( C4::Context->preference('TranslateNotices') ) {
161
    if ( C4::Context->preference('TranslateNotices') ) {
162
        my $translated_languages =
162
        my $translated_languages = C4::Languages::getTranslatedLanguages( 'opac', C4::Context->preference('opacthemes') );
163
          C4::Languages::getTranslatedLanguages( 'opac',
164
            C4::Context->preference('intranet_theme') );
165
        for my $language (@$translated_languages) {
163
        for my $language (@$translated_languages) {
166
            for my $sublanguage( @{ $language->{sublanguages_loop} } ) {
164
            for my $sublanguage( @{ $language->{sublanguages_loop} } ) {
167
                if ( $language->{plural} ) {
165
                if ( $language->{plural} ) {
168
- 

Return to bug 29246