From: Frank Lichtenheld Date: Sun, 24 Feb 2008 22:06:25 +0000 (+0100) Subject: Packages::Config: Add en to DDTP_LANGUAGES as well X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=7e8463b5e9aea4dc3ff90dc6c4632dbbc38fc754;p=deb%2Fpackages.git Packages::Config: Add en to DDTP_LANGUAGES as well Previously when we used DDTP_LANGUAGES and LANGUAGES together this didn't cause any problems, but now that we evaluate them separatly, this causes other languages to be preferred over English, even though the user assigned a lower quality to them. --- diff --git a/lib/Packages/Config.pm b/lib/Packages/Config.pm index b4ab332..1b9dbf5 100644 --- a/lib/Packages/Config.pm +++ b/lib/Packages/Config.pm @@ -54,6 +54,7 @@ sub init { } $DBDIR = "$TOPDIR/files/db"; unshift @LANGUAGES, 'en'; + unshift @DDTP_LANGUAGES, 'en'; } 1;