]> git.parisson.com Git - django_quiz.git/commitdiff
fix true/flase trans
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 10 Dec 2015 13:29:29 +0000 (14:29 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 10 Dec 2015 13:29:29 +0000 (14:29 +0100)
true_false/models.py

index 42742340089c12a6f8beae4fc5c3caf88e4b541d..eb0a8fb29523a8a6c264128ba6a56697a7dac709 100644 (file)
@@ -28,9 +28,9 @@ class TF_Question(Question):
 
     def get_answers(self):
         return [{'correct': self.check_if_correct("True"),
-                 'content': 'True'},
+                 'content': _('True')},
                 {'correct': self.check_if_correct("False"),
-                 'content': 'False'}]
+                 'content': _('False')}]
 
     def get_answers_list(self):
         return [(True, _('True')), (False, _('False'))]