From: Julian Andres Klode Date: Wed, 12 Aug 2015 16:01:24 +0000 (+0200) Subject: apt-cache: Improve translateability of the "with priority" thing X-Git-Tag: 1.1.exp9~54 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/f3f06cae53d8ed5742f47de46d9f9808cfc5ec29 apt-cache: Improve translateability of the "with priority" thing Gbp-Dch: ignore --- 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;