]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/deb/deblistparser.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Thu, 9 Jun 2011 09:51:45 +0000 (11:51 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Thu, 9 Jun 2011 09:51:45 +0000 (11:51 +0200)
  - include all known languages when building the apt cache
    (LP: #794907)

apt-pkg/deb/deblistparser.cc
debian/changelog

index b59ae8896ac6a23d41e340edd083a8838d4ddfd5..ff6de2d9f44d173deb0de11e28227ece6de1865e 100644 (file)
@@ -201,7 +201,7 @@ string debListParser::DescriptionLanguage()
    if (Section.FindS("Description").empty() == false)
       return "";
 
-   std::vector<string> const lang = APT::Configuration::getLanguages();
+   std::vector<string> const lang = APT::Configuration::getLanguages(true);
    for (std::vector<string>::const_iterator l = lang.begin();
        l != lang.end(); l++)
       if (Section.FindS(string("Description-").append(*l).c_str()).empty() == false)
index dc653a0901287753c484a7ed1079bee08c086d70..d75e2fb9d96ea5afbe6b3a221e1d4e71f1eed087 100644 (file)
@@ -80,6 +80,9 @@ apt (0.8.15) UNRELEASED; urgency=low
     - ignore non http urls in the mirrors
     - append the dist (e.g. sid, wheezy) as a query string when
       asking for a suitable mirror 
+  * apt-pkg/deb/deblistparser.cc:
+    - include all known languages when building the apt cache
+      (LP: #794907)
 
  -- Michael Vogt <mvo@debian.org>  Mon, 16 May 2011 14:57:52 +0200