Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
authorAgustin Zubiaga <aguz@sugarlabs.org>2012-02-23 00:47:24 (GMT)
committer Agustin Zubiaga <aguz@sugarlabs.org>2012-02-23 00:47:24 (GMT)
commitb563ba03e6f7ff81aa1af08b2f08c80028d83ca0 (patch)
tree65a45a4c88c986f0b6857a21a4f6816e36c955ef /activity.py
parent5153c4c456185fb0a41bd9fd3c3d55dc195409de (diff)
Fix in info variable, use gettext
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/activity.py b/activity.py
index 3d7b42b..68542f2 100644
--- a/activity.py
+++ b/activity.py
@@ -104,9 +104,11 @@ class AnalizeJournal(activity.Activity):
self.chart.render(self)
# Set info
- info = \
- ' Total space: %s MB \n Used space: %s MB \n Free space: %s MB' % (
- total_space, used_space, free_space)
+ a = _('Total space: %s MBs') % (total_space)
+ b = _('Used space: %s MBs') % (used_space)
+ c = _('Free space: %s MBs') % (free_space)
+
+ info = a + '\n' + b + '\n' + c
self.area.text = info