Changed comment error message wording slightly. Btw, should we translate these things?
This commit is contained in:
parent
1e9d1acc03
commit
eae7d0585f
@ -152,13 +152,13 @@ def media_post_comment(request, media):
|
||||
messages.add_message(
|
||||
request,
|
||||
messages.ERROR,
|
||||
_("Empty comments are not allowed."))
|
||||
_("Oops, your comment was empty."))
|
||||
else:
|
||||
comment.save()
|
||||
|
||||
messages.add_message(
|
||||
request, messages.SUCCESS,
|
||||
_('Comment posted!'))
|
||||
_('Your comment has been posted!'))
|
||||
|
||||
return exc.HTTPFound(
|
||||
location=media.url_for_self(request.urlgen))
|
||||
|
Loading…
x
Reference in New Issue
Block a user