--- UpdateManager/Core/utils.py.orig 2011-03-20 19:16:32.675836001 +0100 +++ UpdateManager/Core/utils.py 2011-03-20 19:17:49.827836001 +0100 @@ -344,15 +344,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(_("%.0f KB"), bytes/1024) + return locale.format(_("%.0f KB"), bytes/1000) else: # TRANSLATORS: download size of updates, e.g. "2.3 MB" - return locale.format(_("%.1f MB"), bytes / 1024 / 1024) + return locale.format(_("%.1f MB"), bytes / 1000000.0) if __name__ == "__main__": #print mirror_from_sources_list()