--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -, +, @@ +# Enhanced Content > All +msgid "enhanced_content.pref## NOTE: you can only choose one source of cover images from below, otherwise Koha will show the images from all sources selected." +msgstr "" @@ -3014,0 +3018,4 @@ +# Local Use +msgid "local_use.pref## Nothing defined yet." +msgstr "" --- misc/translator/LangInstaller.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/misc/translator/LangInstaller.pm +++ a/misc/translator/LangInstaller.pm @@ -172,7 +172,7 @@ sub add_prefs { } } } - elsif ( $element && $pref_name ) { + elsif ( $element ) { $self->po_append( $self->{file} . "#$pref_name# $element", $comment ); } } @@ -214,7 +214,7 @@ sub update_tab_prefs { } } } - elsif ( $element && $pref_name ) { + elsif ( $element ) { my $id = $self->{file} . "#$pref_name# $element"; my $text = $self->get_trans_text( $id ); $p->[$i] = $text if $text; --