summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center4
1 files changed, 3 insertions, 1 deletions
diff --git a/control-center b/control-center
index ba0c2d78..afef9672 100755
--- a/control-center
+++ b/control-center
@@ -1884,7 +1884,9 @@ sub about_mdk_cc() {
}
my ($previous_type, $not_first_title, $not_first_block);
- foreach my $line (grep { $_ ne "\n" && !/^#/ } cat_(top(glob("/usr/share/doc/mandriva-release-*/CREDITS")))) {
+ my $locale = lang::read;
+ my @files = (glob("/usr/share/doc/mandriva-release-*/CREDITS"), glob("/usr/share/doc/mandriva-release-*/CREDITS.$locale->{lang}"));
+ foreach my $line (grep { $_ ne "\n" && !/^#/ } cat_(top((glob("/usr/share/doc/mandriva-release-*/CREDITS"), glob("/usr/share/doc/mandriva-release-*/CREDITS.$locale->{lang}"))))) {
$line =~ s/ Limited Edition 2005 \|//;
if (my ($type, $comment, $contributor) = split(/\|/, $line, 3)) {
last if !$type;