javed-karim / django-survey

Automatically exported from code.google.com/p/django-survey
0 stars 0 forks source link

extra () in ((this question is optional)) #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There are () being used in 2 places, which results in an extra set:

forms.py                                                                  

        if not question.required:
            answer.help_text = unicode(_('(this question is optional)'))

templates/newforms/field.html
{% if bound_field.help_text %} <span class="helptext">({{
bound_field.help_text }})</span> {% endif %}

 <span class="helptext">((this question is optional))</span> 

Original issue reported on code.google.com by cfkars...@gmail.com on 22 Jul 2008 at 5:48

GoogleCodeExporter commented 8 years ago
Fixed in r84. Thank you for this good catch, step by step we are improving the
application.
While solving this issue I have also updated the french translation, this 
allows me
to noticed the change in the way django's internationalisation commands have 
changed.
I will update the wiki page to reflect this.

Thank you

Original comment by yann.ma...@gmail.com on 23 Jul 2008 at 9:18