Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/FractionBounceActivity.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-10-01 10:14:55 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-10-01 10:14:55 (GMT)
commitadf97dcc94e7f86449b295e3ca4752dd698ac6dd (patch)
treef4f66f8240ca2a0e4f76b66c51bfbe1a5c4642f5 /FractionBounceActivity.py
parent52a8772a00f775c2a1f278f8e085daa8799aade2 (diff)
used named paramter for improved readability of string for translation
Diffstat (limited to 'FractionBounceActivity.py')
-rw-r--r--FractionBounceActivity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/FractionBounceActivity.py b/FractionBounceActivity.py
index 68f8e50..d74b0cf 100644
--- a/FractionBounceActivity.py
+++ b/FractionBounceActivity.py
@@ -128,6 +128,6 @@ class FractionBounceActivity(activity.Activity):
def reset_label(self, fraction):
""" update the challenge label """
- self.challenge.set_label(_("Bounce the ball to a position %s \
+ self.challenge.set_label(_("Bounce the ball to a position %(fraction)s \
way from the left side the bottom of the screen.") \
- % (dec2frac(fraction)))
+ % {'fraction': dec2frac(fraction)})