Browse Source

* apt-pkg/deb/deblistparser.cc:
- include all known languages when building the apt cache
(LP: #794907)

Michael Vogt 15 years ago
parent
commit
85c26e8c9a
2 changed files with 4 additions and 1 deletions
  1. 1 1
      apt-pkg/deb/deblistparser.cc
  2. 3 0
      debian/changelog

+ 1 - 1
apt-pkg/deb/deblistparser.cc

@@ -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)

+ 3 - 0
debian/changelog

@@ -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