First time here? Check out the FAQ!

Revision history  [back]

Make "answer must be ..." translatable

In file forms.py (rows 356,357) need change:

self.length_error_template_singular = 'answer must be > %d character'
self.length_error_template_plural = 'answer must be > %d characters'

on

self.length_error_template_singular = _('answer must be > %d character')
self.length_error_template_plural = _('answer must be > %d characters')