Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Ortiz <rafael@activitycentral.com>2011-08-09 15:20:33 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2011-08-09 15:20:33 (GMT)
commit0bfdd558fb401d14e167bfe38d548468f8d08b15 (patch)
tree929529764a7a77d49eed7bbc25118712468940a8
parent560c6ae07efa3c9c7addf8b07d170daf1a6fffe6 (diff)
avoiding gettext warning
-rw-r--r--smoot_toolbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoot_toolbar.py b/smoot_toolbar.py
index c130169..5e77566 100644
--- a/smoot_toolbar.py
+++ b/smoot_toolbar.py
@@ -101,7 +101,7 @@ class SmootToolbar(gtk.Toolbar):
if name == _('meters'):
self._factor_label.set_label(' ')
else:
- self._factor_label.set_label(_('%0.2f %s per meter') % (
+ self._factor_label.set_label(_('%2$0.2f %1$s per meter') % (
self._unit_scale, name))
def get_scale(self):