From d5ea0dd9936fe141f6f37b6870356244c777a77c Mon Sep 17 00:00:00 2001 From: jdbit Date: Tue, 4 Oct 2022 11:10:20 +0300 Subject: [PATCH] Change field names and placeholders I'm not a native speaker, but the field name "mail" sounds a bit confusing, I think it should be "email". --- django_comments_ink/forms.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/django_comments_ink/forms.py b/django_comments_ink/forms.py index efe044c..031e913 100644 --- a/django_comments_ink/forms.py +++ b/django_comments_ink/forms.py @@ -28,13 +28,13 @@ def __init__(self, *args, **kwargs): self.fields["name"].label = _("Name") self.fields["name"].widget = forms.TextInput( - attrs={"placeholder": _("name"), "class": "form-control"} + attrs={"placeholder": _("Your name"), "class": "form-control"} ) - self.fields["email"].label = _("Mail") + self.fields["email"].label = _("Email") self.fields["email"].help_text = _("Required for comment verification") self.fields["email"].widget = forms.TextInput( - attrs={"placeholder": _("mail address"), "class": "form-control"} + attrs={"placeholder": _("Email address"), "class": "form-control"} ) self.fields["url"].label = _("Link")