]> git.saurik.com Git - apt.git/commitdiff
apt-cache: Improve translateability of the "with priority" thing
authorJulian Andres Klode <jak@debian.org>
Wed, 12 Aug 2015 16:01:24 +0000 (18:01 +0200)
committerJulian Andres Klode <jak@debian.org>
Wed, 12 Aug 2015 16:01:24 +0000 (18:01 +0200)
Gbp-Dch: ignore

cmdline/apt-cache.cc

index b9da85b342d338adb7981fb673c0d112ba7dab5f..a2c4454011b8a4101166773b247afd51f406c2f6 100644 (file)
@@ -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;