X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b3115d9257fb3480824d4536a8ef47ed6f598bce..e0c4f06387ade5761e644b5b96e41284c12da23c:/apt-pkg/init.cc diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc index abaee9a7a..6118845e8 100644 --- a/apt-pkg/init.cc +++ b/apt-pkg/init.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: init.cc,v 1.20 2003/02/09 20:31:05 doogie Exp $ +// $Id: init.cc,v 1.21 2004/02/27 00:46:44 mdz Exp $ /* ###################################################################### Init - Initialize the package library @@ -101,6 +101,9 @@ bool pkgInitConfig(Configuration &Cnf) bindtextdomain(textdomain(0),Cnf.FindDir("Dir::Locale").c_str()); } #endif + + // Translation + Cnf.Set("APT::Acquire::Translation", "environment"); return true; } @@ -132,7 +135,7 @@ bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys) } if (Sys == 0) - return _error->Error(_("Unable to determine a suitable system type")); + return _error->Error(_("Unable to determine a suitable packaging system type")); } return Sys->Initialize(Cnf);