From 2231f3d8a897eb33428fcc64032b77bcc08e3e1a Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Wed, 26 Sep 2012 13:20:55 +0000 Subject: 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 --- 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') -- cgit v0.9.1