From 78acd6505b8c08f47dd44911b567df31d07aa78d Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 9 Sep 2008 21:26:40 +0200 Subject: * cmdline/apt-cache.cc: - remove the gettext from a string that consists entirely of variables (LP: #56792) --- cmdline/apt-cache.cc | 3 ++- debian/changelog | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3