@@ -98,10 +98,10 @@ class DocumentForm(forms.ModelForm):
9898 )
9999
100100 is_localizable = forms .BooleanField (
101- initial = True , label = _lazy ("Allow translations: " ), required = False
101+ initial = True , label = _lazy ("Allow translations" ), required = False
102102 )
103103
104- is_archived = forms .BooleanField (label = _lazy ("Obsolete: " ), required = False )
104+ is_archived = forms .BooleanField (label = _lazy ("Obsolete" ), required = False )
105105
106106 restrict_to_groups = forms .ModelMultipleChoiceField (
107107 required = False ,
@@ -111,15 +111,15 @@ class DocumentForm(forms.ModelForm):
111111 )
112112
113113 allow_discussion = forms .BooleanField (
114- label = _lazy ("Allow discussion on this article? " ), initial = True , required = False
114+ label = _lazy ("Allow discussion on this article" ), initial = True , required = False
115115 )
116116
117117 category = forms .ChoiceField (
118118 choices = CATEGORIES ,
119119 # Required for non-translations, which is
120120 # enforced in Document.clean().
121121 required = False ,
122- label = _lazy ("Category: " ),
122+ label = _lazy ("Category" ),
123123 help_text = _lazy ("Type of article" ),
124124 )
125125
@@ -136,15 +136,15 @@ class DocumentForm(forms.ModelForm):
136136 )
137137
138138 related_documents = forms .MultipleChoiceField (
139- label = _lazy ("Related documents: " ), required = False , widget = RelatedDocumentsWidget ()
139+ label = _lazy ("Related documents" ), required = False , widget = RelatedDocumentsWidget ()
140140 )
141141
142142 locale = forms .CharField (widget = forms .HiddenInput ())
143143
144- needs_change = forms .BooleanField (label = _lazy ("Needs change: " ), initial = False , required = False )
144+ needs_change = forms .BooleanField (label = _lazy ("Needs change" ), initial = False , required = False )
145145
146146 needs_change_comment = forms .CharField (
147- label = _lazy ("Comment: " ), widget = forms .Textarea (), required = False
147+ label = _lazy ("Comment" ), widget = forms .Textarea (), required = False
148148 )
149149
150150 def clean_slug (self ):
@@ -211,16 +211,16 @@ class Meta:
211211 fields = (
212212 "title" ,
213213 "slug" ,
214+ "related_documents" ,
214215 "category" ,
215- "is_localizable" ,
216216 "products" ,
217217 "topics" ,
218218 "locale" ,
219219 "is_archived" ,
220220 "allow_discussion" ,
221221 "needs_change" ,
222222 "needs_change_comment" ,
223- "related_documents " ,
223+ "is_localizable " ,
224224 "restrict_to_groups" ,
225225 )
226226
0 commit comments