]> git.deb.at Git - deb/packages.git/commitdiff
Packages::Config: Add en to DDTP_LANGUAGES as well
authorFrank Lichtenheld <frank@lichtenheld.de>
Sun, 24 Feb 2008 22:06:25 +0000 (23:06 +0100)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sun, 24 Feb 2008 22:18:31 +0000 (23:18 +0100)
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.

lib/Packages/Config.pm

index b4ab33216bfda73aad3c66b38d073f838dd6ec4d..1b9dbf52ad57df2b8a8f428765935d95be9f4240 100644 (file)
@@ -54,6 +54,7 @@ sub init {
     }
     $DBDIR = "$TOPDIR/files/db";
     unshift @LANGUAGES, 'en';
+    unshift @DDTP_LANGUAGES, 'en';
 }
 
 1;