From 2aa713856c3c0c703df3f9a2568e5e07135c319e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sun, 5 Dec 2010 17:23:16 +0000 Subject: [PATCH] #4331: enable translation svn: r16248 --- src/plugins/gramplet/StatsGramplet.py | 2 +- src/plugins/textreport/Summary.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: