summaryrefslogtreecommitdiff
path: root/UpdateManager
diff options
context:
space:
mode:
authorglatzor@ubuntu.com <>2006-08-02 23:35:07 +0200
committerglatzor@ubuntu.com <>2006-08-02 23:35:07 +0200
commitfd77ff614878cce61d9b051efa1b8912f4f8a16f (patch)
treeda0ae673e306bd14d7dba8f0df38ecc046c7527f /UpdateManager
parentbf5a9a34dd327e858e741be1e8925584c8c88cb6 (diff)
downloadpython-apt-fd77ff614878cce61d9b051efa1b8912f4f8a16f.tar.gz
* Also add the bytes unit to the total download size
Diffstat (limited to 'UpdateManager')
-rw-r--r--UpdateManager/UpdateManager.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py
index 4da00664..e16c2901 100644
--- a/UpdateManager/UpdateManager.py
+++ b/UpdateManager/UpdateManager.py
@@ -548,7 +548,8 @@ class UpdateManager(SimpleGladeApp):
if name in self.packages:
self.packages.remove(name)
self.dl_size -= pkg.packageSize
- self.label_downsize.set_markup(_("Download size: %s" % \
+ # TRANSLATORS: b stands for Bytes
+ self.label_downsize.set_markup(_("Download size: %sb" % \
apt_pkg.SizeToStr(self.dl_size)))
if len(self.packages) == 0:
self.button_install.set_sensitive(False)