diff --git a/src/plugins/gramplet/StatsGramplet.py b/src/plugins/gramplet/StatsGramplet.py index d52a64ffc..95b44e2d9 100644 --- a/src/plugins/gramplet/StatsGramplet.py +++ b/src/plugins/gramplet/StatsGramplet.py @@ -91,7 +91,7 @@ class StatsGramplet(Gramplet): bytes += posixpath.getsize(fullname) length = len(str(bytes)) if bytes <= 99999: - mbytes = "less than 1" + mbytes = _("less than 1") else: mbytes = str(bytes)[:(length-6)] except OSError: diff --git a/src/plugins/textreport/Summary.py b/src/plugins/textreport/Summary.py index 1dfbf8908..71da9bf8d 100644 --- a/src/plugins/textreport/Summary.py +++ b/src/plugins/textreport/Summary.py @@ -214,7 +214,7 @@ class SummaryReport(Report): media_path_full(self.__db, media.get_path())) length = len(str(size_in_bytes)) if size_in_bytes <= 99999: - mbytes = "less than 1" + mbytes = _("less than 1") else: mbytes = str(size_in_bytes)[:(length-6)] except: