summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-01-04 23:35:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-01-04 23:35:54 +0000
commit7b3a7108699fb985eaa41ccf0dcb3df2fa6af85b (patch)
treec6bbe13dcc4eb259ca332124bac1f3a0dafc7af5 /perl-install/lang.pm
parent85e21d9abb2daf68be31c33dcdbc8874c3cc8fdc (diff)
downloaddrakx-backup-do-not-use-7b3a7108699fb985eaa41ccf0dcb3df2fa6af85b.tar
drakx-backup-do-not-use-7b3a7108699fb985eaa41ccf0dcb3df2fa6af85b.tar.gz
drakx-backup-do-not-use-7b3a7108699fb985eaa41ccf0dcb3df2fa6af85b.tar.bz2
drakx-backup-do-not-use-7b3a7108699fb985eaa41ccf0dcb3df2fa6af85b.tar.xz
drakx-backup-do-not-use-7b3a7108699fb985eaa41ccf0dcb3df2fa6af85b.zip
no_comment
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 15c5436a7..c12856eac 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -273,14 +273,13 @@ sub load_po($) {
} else {
-e ($f = "$_/po.cz2") and last foreach @INC;
$f =~ s/\.cz2//;
- log::l("loading $lang.po from $f");
+ log::l("trying to load $lang.po from $f");
open F, "extract_archive $f '' $lang.po 2>/dev/null |";
}
} else {
open F, $f; #- not returning here help avoiding reading the same multiple times.
}
foreach (<F>) {
- log::l("load_po: $_");
/^msgstr/ and $state = 1;
/^msgid/ && !$fuzzy and $state = 2;