Fix #155. Track untranslated str. (#218)

This commit is contained in:
cryptogun 2017-11-04 20:28:20 +08:00 committed by Esteban Castro Borsani
parent b46207e8e9
commit 446adee597
2 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ except ImportError as err:
class CommentForm(forms.ModelForm):
comment = forms.CharField(
label=_('Comment'),
max_length=settings.ST_COMMENT_MAX_LEN,
widget=forms.Textarea)
comment_hash = forms.CharField(

View File

@ -65,6 +65,7 @@ class TopicPrivateManyForm(forms.Form):
# Only good for create
users = forms.ModelMultipleChoiceField(
label=_("Invite users"),
queryset=User.objects.all(),
to_field_name=User.USERNAME_FIELD,
widget=MultipleInput(attrs={'placeholder': _("user1, user2, ...")}))