From: Michael Vogt Date: Tue, 9 Sep 2008 19:26:40 +0000 (+0200) Subject: * cmdline/apt-cache.cc: X-Git-Tag: 0.7.24ubuntu1~56^2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/78acd6505b8c08f47dd44911b567df31d07aa78d?ds=inline * cmdline/apt-cache.cc: - remove the gettext from a string that consists entirely of variables (LP: #56792) --- diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc index b16a0e5d0..11bc4fe03 100644 --- a/cmdline/apt-cache.cc +++ b/cmdline/apt-cache.cc @@ -1533,7 +1533,8 @@ bool Policy(CommandLine &CmdL) if (SrcList->FindIndex(F,Indx) == false && _system->FindIndex(F,Indx) == false) return _error->Error(_("Cache is out of sync, can't x-ref a package file")); - printf(_("%4i %s\n"), + + printf("%4i %s\n", Plcy.GetPriority(F),Indx->Describe(true).c_str()); // Print the reference information for the package diff --git a/debian/changelog b/debian/changelog index e79d37d04..1e23129b4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -35,6 +35,9 @@ apt (0.7.15) UNRELEASED; urgency=low - support having CDs with no Packages file (just a Packages.gz) by not forcing a verification on non-existing files (LP: #255545) + * cmdline/apt-cache.cc: + - remove the gettext from a string that consists entirely + of variables (LP: #56792) [ Dereck Wonnacott ] * apt-ftparchive might write corrupt Release files (LP: #46439)