--- UpdateManager/Core/utils.py.orig 2010-11-30 12:37:28.000000000 +0100 +++ UpdateManager/Core/utils.py 2011-03-20 19:28:12.203836001 +0100 @@ -354,15 +354,15 @@ if bytes == 0: # TRANSLATORS: download size is 0 return _("0 KB") - elif bytes < 1024: + elif bytes < 1000: # TRANSLATORS: download size of very small updates return _("1 KB") - elif bytes < 1024 * 1024: + elif bytes < 1000000: # TRANSLATORS: download size of small updates, e.g. "250 KB" - return locale.format_string(_("%.0f KB"), bytes/1024) + return locale.format_string(_("%.0f KB"), bytes/1000) else: # TRANSLATORS: download size of updates, e.g. "2.3 MB" - return locale.format_string(_("%.1f MB"), bytes / 1024 / 1024) + return locale.format_string(_("%.1f MB"), bytes / 1000000.0) def get_arch(): return apt_pkg.Config.find("APT::Architecture")