#4331: enable translation

svn: r16248
This commit is contained in:
Jérôme Rapinat 2010-12-05 17:23:16 +00:00
parent 915dfc3913
commit 2aa713856c
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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: