[Pkg-ocaml-maint-commits] r3206 - /trunk/packages/polygen/trunk/debian/polyrun

enrico at users.alioth.debian.org enrico at users.alioth.debian.org
Mon Oct 2 12:48:02 UTC 2006


Author: enrico
Date: Mon Oct  2 12:48:01 2006
New Revision: 3206

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3206
Log:
language should default to english if no recognised locale was found

Modified:
    trunk/packages/polygen/trunk/debian/polyrun

Modified: trunk/packages/polygen/trunk/debian/polyrun
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/polygen/trunk/debian/polyrun?rev=3206&op=diff
==============================================================================
--- trunk/packages/polygen/trunk/debian/polyrun (original)
+++ trunk/packages/polygen/trunk/debian/polyrun Mon Oct  2 12:48:01 2006
@@ -20,7 +20,7 @@
 	my $lang = $ENV{LC_MESSAGES};
 	$lang = $ENV{LANG} if not $lang;
 	$lang =~ s/_.+$//;
-	return undef if not exists $langmap{$lang};
+	return "eng" if not exists $langmap{$lang};
 	return $langmap{$lang};
 }
 




More information about the Pkg-ocaml-maint-commits mailing list