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

(-)a/misc/translator/LangInstaller.pm (-2 / +6 lines)
Lines 336-342 sub install_prefs { Link Here
336
                my $id = $self->{file} . " $section";
336
                my $id = $self->{file} . " $section";
337
                my $text = $self->get_trans_text($id);
337
                my $text = $self->get_trans_text($id);
338
                my $nsection = $text ? $text : $section;
338
                my $nsection = $text ? $text : $section;
339
                $ntab->{$nsection} = $tab_content->{$section};
339
                if( exists $ntab->{$nsection} ) {
340
                    # When translations collide (see BZ 18634)
341
                    push @{$ntab->{$nsection}}, @{$tab_content->{$section}};
342
                } else {
343
                    $ntab->{$nsection} = $tab_content->{$section};
344
                }
340
            }
345
            }
341
            $pref->{$tab} = $ntab;
346
            $pref->{$tab} = $ntab;
342
        }
347
        }
343
- 

Return to bug 18634