diff options
author | Walter 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) |
commit | adf97dcc94e7f86449b295e3ca4752dd698ac6dd (patch) | |
tree | f4f66f8240ca2a0e4f76b66c51bfbe1a5c4642f5 /FractionBounceActivity.py | |
parent | 52a8772a00f775c2a1f278f8e085daa8799aade2 (diff) |
used named paramter for improved readability of string for translation
Diffstat (limited to 'FractionBounceActivity.py')
-rw-r--r-- | FractionBounceActivity.py | 4 |
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)}) |