aboutsummaryrefslogtreecommitdiffstats
path: root/check_trans.pl
diff options
context:
space:
mode:
authorRhonda D'Vine <alfie>2001-11-27 22:18:01 +0000
committerRhonda D'Vine <alfie>2001-11-27 22:18:01 +0000
commit4b4f2cd22d92419ddccbe55621a4706bcd2a34ad (patch)
treef15cc53617459647744827d0007e1432a840b7c5 /check_trans.pl
parent7d84b7691d565112655da301a896b0fce07014da (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-xcheck_trans.pl6
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;

© 2014-2024 Faster IT GmbH | imprint | privacy policy