Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-09-26 13:20:55 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-09-26 14:28:15 (GMT)
commit2231f3d8a897eb33428fcc64032b77bcc08e3e1a (patch)
tree1bd96809d4936bfe368a29aa5ffa2cf9f49c0cbb
parent13eff73b0aaa82bea75843f7385b48bcee21fc3f (diff)
Revert "Fix error using the activity in spanish due to special chars in translation"
This reverts commit 281f6e3691b5dc8c99decaaa95604cb9f665993c. A patch was applied to sugar-toolkit-gtk3 in 5fdad9481ba7079a6a718159ebe7eb8e5367c46e to fix this issue in a better way. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r--lessonscreen.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lessonscreen.py b/lessonscreen.py
index 9098dca..fb38bff 100644
--- a/lessonscreen.py
+++ b/lessonscreen.py
@@ -509,18 +509,18 @@ class LessonScreen(Gtk.VBox):
shift_finger = FINGERS['RP']
instructions = _('Press and hold the shift key with your %(finger)s, ') % { 'finger': shift_finger }
- instructions += _('then press the %(letter)s key with your %(finger)s.') % { 'letter': str(letter), 'finger': finger }
+ instructions += _('then press the %(letter)s key with your %(finger)s.') % { 'letter': letter, 'finger': finger }
elif state == Gdk.ModifierType.MOD5_MASK:
instructions = _('Press and hold the altgr key, ')
- instructions += _('then press the %(letter)s key with your %(finger)s.') % { 'letter': str(letter), 'finger': finger }
+ instructions += _('then press the %(letter)s key with your %(finger)s.') % { 'letter': letter, 'finger': finger }
elif state == Gdk.ModifierType.SHIFT_MASK | Gdk.ModifierType.MOD5_MASK:
instructions = _('Press and hold the altgr and shift keys, ')
- instructions += _('then press the %(letter)s key with your %(finger)s.') % { 'letter': str(letter), 'finger': finger }
+ instructions += _('then press the %(letter)s key with your %(finger)s.') % { 'letter': letter, 'finger': finger }
else:
- instructions = _('Press the %(letter)s key with your %(finger)s.') % { 'letter': str(letter), 'finger': finger }
+ instructions = _('Press the %(letter)s key with your %(finger)s.') % { 'letter': letter, 'finger': finger }
self.lessonbuffer.insert(self.lessonbuffer.get_end_iter(), instructions + '\n\n')