summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-08-12 18:01:24 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-12 18:01:24 +0200
commitf3f06cae53d8ed5742f47de46d9f9808cfc5ec29 (patch)
tree0a586e5ef0e14659fafd9eb0bda30c284f145a43 /cmdline
parent32cc424bf5e99c101cfa350e18127cbcafddd8a9 (diff)
apt-cache: Improve translateability of the "with priority" thing
Gbp-Dch: ignore
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index b9da85b34..a2c445401 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1689,9 +1689,9 @@ static bool Policy(CommandLine &CmdL)
if (Prio == 0)
continue;
+ cout << " ";
// Print the package name and the version we are forcing to
- cout << " " << I.FullName(true) << " -> ";
- cout << V.VerStr() << _(" with priority ") << Prio << endl;
+ ioprintf(cout, _("%s -> %s with priority %d\n"), I.FullName(true).c_str(), V.VerStr(), Prio);
}
}
return true;