diff options
author | Michael Vogt <mvo@debian.org> | 2014-01-18 08:51:53 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-01-18 08:51:53 +0100 |
commit | 47d7761243a02368bb60b7227bd05a19ca4660d1 (patch) | |
tree | c298a2054c22aae934e25dd22a023efe76649b89 /apt-private/private-show.cc | |
parent | ea62d40da6b402ff8d4d346971b98e24f096e521 (diff) | |
parent | 8a59cc322ac57c6662949e957611ed718a5f5119 (diff) |
Merge remote-tracking branch 'mvo/debian/sid' into debian/experimental-no-abi-break
Diffstat (limited to 'apt-private/private-show.cc')
-rw-r--r-- | apt-private/private-show.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apt-private/private-show.cc b/apt-private/private-show.cc index ddc75dbeb..0aa42ecce 100644 --- a/apt-private/private-show.cc +++ b/apt-private/private-show.cc @@ -74,13 +74,12 @@ bool DisplayRecord(pkgCacheFile &CacheFile, pkgCache::VerIterator V, // write the description pkgRecords Recs(*Cache); + // FIXME: show (optionally) all available translations(?) pkgCache::DescIterator Desc = V.TranslatedDescription(); if (Desc.end() == false) { pkgRecords::Parser &P = Recs.Lookup(Desc.FileList()); - if (strcmp(Desc.LanguageCode(),"") != 0) - out << "Description-lang: " << Desc.LanguageCode() << std::endl; - out << "Description" << P.LongDesc(); + out << "Description: " << P.LongDesc(); } // write a final newline (after the description) |