diff options
author | Michael Vogt <mvo@debian.org> | 2014-01-21 07:20:07 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-01-21 07:20:07 +0100 |
commit | f744c64c591cec9e5aa489a9af55e1ed6d1871d1 (patch) | |
tree | de1d27910d66062508b22c5a7b46c288d1b3fab9 /apt-private/private-show.cc | |
parent | 7f316a3feab95370f1dd28c08c58bc3c140bf0a0 (diff) | |
parent | 1700c3cfb902f3f61fa4d9269523467fcceaaf58 (diff) |
Merge remote-tracking branch 'upstream/debian/experimental-no-abi-break' into feature/source-deb822
Conflicts:
test/integration/test-apt-sources-deb822
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) |