]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/init.cc
* code cleanups (thanks matt!), moved UsePackage before the description list build...
[apt.git] / apt-pkg / init.cc
index 3e4c17289eab90f4dfad01007c727d403fc2d15e..6118845e835197cb4ee223a1acd0aec209bf087c 100644 (file)
@@ -33,9 +33,6 @@ const char *pkgOS = COMMON_OS;
    is prepended, this allows a fair degree of flexability. */
 bool pkgInitConfig(Configuration &Cnf)
 {
-   // Translation
-   Cnf.Set("APT::Acquire::Translation", "environment");
-
    // General APT things
    if (strcmp(COMMON_OS,"linux") == 0 ||
        strcmp(COMMON_OS,"unknown") == 0)
@@ -104,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;
 }