Text string tweaks as per translation discussions. Thanks to Berny.
This commit is contained in:
@@ -16,7 +16,8 @@ class Comment(models.Model):
|
||||
settings.AUTH_USER_MODEL, editable=False, related_name='comments',
|
||||
verbose_name=_('User'),
|
||||
)
|
||||
comment = models.TextField(verbose_name=_('comment'))
|
||||
# Translators: Comment here is a noun and refers to the actual text stored
|
||||
comment = models.TextField(verbose_name=_('Comment'))
|
||||
submit_date = models.DateTimeField(
|
||||
auto_now_add=True, db_index=True,
|
||||
verbose_name=_('Date time submitted')
|
||||
|
||||
@@ -43,7 +43,7 @@ def comment_delete(request, comment_id=None, comment_id_list=None):
|
||||
)
|
||||
|
||||
if not comments:
|
||||
messages.error(request, _('Must provide at least one comment.'))
|
||||
messages.error(request, _('At least one comment must be selected.'))
|
||||
return HttpResponseRedirect(
|
||||
request.META.get(
|
||||
'HTTP_REFERER', reverse(settings.LOGIN_REDIRECT_URL)
|
||||
|
||||
Reference in New Issue
Block a user