diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2013-01-09 06:33:56 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2013-01-09 06:33:56 +0100 |
commit | 291f47791d2c0d8521922c8d3090e2aa6f099d5b (patch) | |
tree | 3bad1e3a62eeb85b8f64419e0eb3e61776bc1df1 | |
parent | 0425a56bf14c2411534326a0d3410a512c5ddeaa (diff) |
* apt-pkg/contrib/progress.cc:
- Make "..." translatable to fix inconsistencies in the output
of e.g. apt-get update. While this adds new translatable strings,
not having translations for them will not break anything.
Thanks to Guillem Jover. Closes: #696225
-rw-r--r-- | apt-pkg/contrib/progress.cc | 4 | ||||
-rw-r--r-- | debian/changelog | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/apt-pkg/contrib/progress.cc b/apt-pkg/contrib/progress.cc index 317048845..17a6b70e9 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; diff --git a/debian/changelog b/debian/changelog index e308eb02c..02fcdaa8b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,11 @@ apt (0.9.7.8) UNRELEASED; urgency=low Closes: #697577 * add missing translated apt.8 manpages, thanks to Helge Kreutzmann. Closes: #696923 + * apt-pkg/contrib/progress.cc: + - Make "..." translatable to fix inconsistencies in the output + of e.g. apt-get update. While this adds new translatable strings, + not having translations for them will not break anything. + Thanks to Guillem Jover. Closes: #696225 -- Christian Perrier <bubulle@debian.org> Mon, 24 Dec 2012 07:01:20 +0100 |