Changed comment error message wording slightly. Btw, should we translate these things?

This commit is contained in:
Jef van Schendel 2011-12-03 01:19:15 +01:00
parent 1e9d1acc03
commit eae7d0585f

View File

@ -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))