Source: apt Version: 0.9.7.7 Severity: minor Tags: patch Hi!
There's a problem with apt's progress output on some locales, as the ellipsis are not marked for translation and one can get things like: S'està llegint la llista de paquets... 1% [...] S'està llegint la llista de paquets… Fet8% The attached patch should fix this, once those new strings are translated. Althought you might feel unconfortable applying this for wheezy as it might require a new call for translators. Thanks, Guillem
From cd6630cbe7dd30535d933837a31d8dc61a894582 Mon Sep 17 00:00:00 2001 From: Guillem Jover <[email protected]> Date: Tue, 18 Dec 2012 11:41:24 +0100 Subject: [PATCH] OpProgress: Mark strings for translation --- apt-pkg/contrib/progress.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apt-pkg/contrib/progress.cc b/apt-pkg/contrib/progress.cc index 3170488..17a6b70 100644 --- a/apt-pkg/contrib/progress.cc +++ b/apt-pkg/contrib/progress.cc @@ -176,7 +176,7 @@ void OpTextProgress::Update() if (OldOp.empty() == false) cout << endl; OldOp = "a"; - cout << Op << "..." << flush; + cout << Op << _("...") << flush; } return; @@ -192,7 +192,7 @@ void OpTextProgress::Update() } // Print the spinner - snprintf(S,sizeof(S),"\r%s... %u%%",Op.c_str(),(unsigned int)Percent); + snprintf(S,sizeof(S),_("\r%s... %u%%"),Op.c_str(),(unsigned int)Percent); Write(S); OldOp = Op; -- 1.8.1.rc0

