﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22622	Add imports for ugettext_lazy in documentation	anonymous	niclas.ahden	"It shouldn't say:

{{{
_(""This writer's name is too long."")
}}}
it should say:
 
{{{
(""This writer's name is too long."")
}}}
(in other words, it shouldn't have the underscore)

The code below was taken from: https://docs.djangoproject.com/en/1.6/topics/forms/modelforms/#overriding-the-default-fields

{{{
class AuthorForm(ModelForm):
    class Meta:
        model = Author
        fields = ('name', 'title', 'birth_date')
        labels = {
            'name': _('Writer'),
        }
        help_texts = {
            'name': _('Some useful help text.'),
        }
        error_messages = {
            'name': {
                'max_length': _(""This writer's name is too long.""),
            },
        }
}}}
"	Cleanup/optimization	closed	Documentation	dev	Normal	fixed	afraid-to-commit		Accepted	1	0	0	0	1	0
