From: Guillaume Pellerin Date: Thu, 10 Dec 2015 13:29:29 +0000 (+0100) Subject: fix true/flase trans X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=028785b0642ebe430d571de767fa3a55e159c82b;p=django_quiz.git fix true/flase trans --- diff --git a/true_false/models.py b/true_false/models.py index 4274234..eb0a8fb 100644 --- a/true_false/models.py +++ b/true_false/models.py @@ -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'))]