diff options
author | Rhonda D'Vine <alfie> | 2001-11-27 22:18:01 +0000 |
---|---|---|
committer | Rhonda D'Vine <alfie> | 2001-11-27 22:18:01 +0000 |
commit | 4b4f2cd22d92419ddccbe55621a4706bcd2a34ad (patch) | |
tree | f15cc53617459647744827d0007e1432a840b7c5 /check_trans.pl | |
parent | 7d84b7691d565112655da301a896b0fce07014da (diff) |
Added $DWWW_LANG handling, like already in copypage.pl available.
CVS version numbers
check_trans.pl: 1.43 -> 1.44
Diffstat (limited to 'check_trans.pl')
-rwxr-xr-x | check_trans.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/check_trans.pl b/check_trans.pl index 7fa836f4f95..af0a9e3c3ce 100755 --- a/check_trans.pl +++ b/check_trans.pl @@ -142,7 +142,11 @@ my $globtrans = Webwml::TransIgnore->new("."); # language configuration my $defaultlanguage = 'italian'; -if (open CONF, "<language.conf") +if (exists $ENV{DWWW_LANG}) +{ + $defaultlanguage = $ENV{DWWW_LANG}; +} +elsif (open CONF, "<language.conf") { $defaultlanguage = <CONF>; chomp $defaultlanguage; |