diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-20 23:38:32 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-20 23:38:32 -0400 |
commit | 065a92439cb788e0570dc2ebf749e4b7f7a36fed (patch) | |
tree | 3bab602fc93c80ccfc63d1cdcbc07e7f851a56d4 /askbot/forms.py | |
parent | 4d67a7f6e4b496af660bb289c876ca3654174ef5 (diff) | |
download | askbot-065a92439cb788e0570dc2ebf749e4b7f7a36fed.tar.gz askbot-065a92439cb788e0570dc2ebf749e4b7f7a36fed.tar.bz2 askbot-065a92439cb788e0570dc2ebf749e4b7f7a36fed.zip |
improved wording of the ask and edit question page
Diffstat (limited to 'askbot/forms.py')
-rw-r--r-- | askbot/forms.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/askbot/forms.py b/askbot/forms.py index 0fafec53..e214e908 100644 --- a/askbot/forms.py +++ b/askbot/forms.py @@ -244,7 +244,7 @@ class TitleField(forms.CharField): self.max_length = 255 self.label = _('title') self.help_text = _( - 'please enter a descriptive title for your question' + 'Please enter your question' ) self.initial = '' @@ -255,8 +255,8 @@ class TitleField(forms.CharField): value = '' if len(value) < askbot_settings.MIN_TITLE_LENGTH: msg = ungettext_lazy( - 'title must be > %d character', - 'title must be > %d characters', + 'must have > %d character', + 'must have > %d characters', askbot_settings.MIN_TITLE_LENGTH ) % askbot_settings.MIN_TITLE_LENGTH raise forms.ValidationError(msg) @@ -265,14 +265,14 @@ class TitleField(forms.CharField): if len(value) > self.max_length: raise forms.ValidationError( _( - 'The title is too long, maximum allowed size is ' + 'The question is too long, maximum allowed size is ' '%d characters' ) % self.max_length ) elif len(encoded_value) > self.max_length: raise forms.ValidationError( _( - 'The title is too long, maximum allowed size is ' + 'The question is too long, maximum allowed size is ' '%d bytes' ) % self.max_length ) |