diff --git a/lessonscreen.py b/lessonscreen.py
index fb38bff..9098dca 100644
a
|
b
|
class LessonScreen(Gtk.VBox): |
509 | 509 | shift_finger = FINGERS['RP'] |
510 | 510 | |
511 | 511 | instructions = _('Press and hold the shift key with your %(finger)s, ') % { 'finger': shift_finger } |
512 | | instructions += _('then press the %(letter)s key with your %(finger)s.') % { 'letter': letter, 'finger': finger } |
| 512 | instructions += _('then press the %(letter)s key with your %(finger)s.') % { 'letter': str(letter), 'finger': finger } |
513 | 513 | |
514 | 514 | elif state == Gdk.ModifierType.MOD5_MASK: |
515 | 515 | instructions = _('Press and hold the altgr key, ') |
516 | | instructions += _('then press the %(letter)s key with your %(finger)s.') % { 'letter': letter, 'finger': finger } |
| 516 | instructions += _('then press the %(letter)s key with your %(finger)s.') % { 'letter': str(letter), 'finger': finger } |
517 | 517 | |
518 | 518 | elif state == Gdk.ModifierType.SHIFT_MASK | Gdk.ModifierType.MOD5_MASK: |
519 | 519 | instructions = _('Press and hold the altgr and shift keys, ') |
520 | | instructions += _('then press the %(letter)s key with your %(finger)s.') % { 'letter': letter, 'finger': finger } |
| 520 | instructions += _('then press the %(letter)s key with your %(finger)s.') % { 'letter': str(letter), 'finger': finger } |
521 | 521 | |
522 | 522 | else: |
523 | | instructions = _('Press the %(letter)s key with your %(finger)s.') % { 'letter': letter, 'finger': finger } |
| 523 | instructions = _('Press the %(letter)s key with your %(finger)s.') % { 'letter': str(letter), 'finger': finger } |
524 | 524 | |
525 | 525 | self.lessonbuffer.insert(self.lessonbuffer.get_end_iter(), instructions + '\n\n') |
526 | 526 | |