Text string tweaks as per translation discussions. Thanks to Berny.

This commit is contained in:
Roberto Rosario
2015-08-20 14:41:00 -04:00
parent 75764fd482
commit 93553e84c2
7 changed files with 20 additions and 14 deletions
+2 -1
View File
@@ -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')
+1 -1
View File
@@ -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)