The change has no impact on existing translations, since we use as well util.format_size when no filesize is specified. --- src/jarabe/journal/listmodel.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/jarabe/journal/listmodel.py b/src/jarabe/journal/listmodel.py index 3902eba..417ff61 100644 --- a/src/jarabe/journal/listmodel.py +++ b/src/jarabe/journal/listmodel.py @@ -163,9 +163,8 @@ class ListModel(gtk.GenericTreeModel, gtk.TreeDragSource): try: size = int(metadata.get('filesize')) except (TypeError, ValueError): - self._cached_row.append(_('Unknown')) - else: - self._cached_row.append(util.format_size(size)) + size = None + self._cached_row.append(util.format_size(size)) try: progress = int(float(metadata.get('progress', 100))) -- 1.7.4 _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel