X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/32974185d5e2b1bdc197b4f5dcab259b5de3c6b4..28eed140e4dde5ae3ec206c47a6d5f30f0296607:/apps/wiki/forms.py diff --git a/apps/wiki/forms.py b/apps/wiki/forms.py index 64dac29c..e0c69fdd 100644 --- a/apps/wiki/forms.py +++ b/apps/wiki/forms.py @@ -43,7 +43,7 @@ class DocumentCreateForm(forms.Form): class DocumentTextSaveForm(forms.Form): - """if + """ Form for saving document's text: * name - document's storage identifier. @@ -57,22 +57,28 @@ class DocumentTextSaveForm(forms.Form): parent_revision = forms.IntegerField(widget=forms.HiddenInput) text = forms.CharField(widget=forms.HiddenInput) - author = forms.CharField( + author_name = forms.CharField( + required=False, + label=_(u"Author"), + help_text=_(u"Your name/"), + ) + + author_email = forms.EmailField( required=False, - label=_(u"Autor"), - help_text=_(u"Twoje imie i nazwisko lub email."), + label=_(u"Author's email"), + help_text=_(u"Your email address, so we can show a gravatar :)"), ) comment = forms.CharField( required=True, widget=forms.Textarea, - label=_(u"Twój komentarz"), - help_text=_(u"Opisz w miarę dokładnie swoje zmiany."), + label=_(u"Your comments"), + help_text=_(u"Describe changes you made."), ) stage_completed = forms.ChoiceField( choices=DOCUMENT_STAGES, required=False, - label=_(u"Skończyłem robić"), - help_text=_(u"Jeśli skończyłeś jeden z etapów utworu, wybierz go."), + label=_(u"Completed"), + help_text=_(u"If you completed a life cycle stage, select it."), )