diff --git a/bartenders/forms.py b/bartenders/forms.py index 965675b..960b028 100644 --- a/bartenders/forms.py +++ b/bartenders/forms.py @@ -25,7 +25,7 @@ class Meta: def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - self.fields["captcha"].help_text = _("Hjemmesiden er sikret med reCAPTCHAv2") + self.fields["captcha"].help_text = "Hjemmesiden er sikret med reCAPTCHAv2" self.fields["tshirt_size"].widget.attrs.update({"class": "form-control"}) for name in self.fields: self.fields[name].required = name != "info" diff --git a/udlejning/forms.py b/udlejning/forms.py index f806f1f..21bac0d 100644 --- a/udlejning/forms.py +++ b/udlejning/forms.py @@ -28,7 +28,7 @@ class Meta: def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - self.fields["captcha"].help_text = _("Hjemmesiden er sikret med reCAPTCHAv2") + self.fields["captcha"].help_text = "Hjemmesiden er sikret med reCAPTCHAv2" self.fields["paymentType"].widget.attrs.update({"class": "form-control"}) for name in self.fields: self.fields[name].required = name not in ["EANnumber", "comments"] diff --git a/web/forms.py b/web/forms.py index 0ce6127..3fb9e94 100644 --- a/web/forms.py +++ b/web/forms.py @@ -18,7 +18,7 @@ class LoginForm(forms.Form): email = forms.EmailField() captcha = ReCaptchaField(widget=ReCaptchaV2Invisible) - captcha.help_text = _("Hjemmesiden er sikret med reCAPTCHAv2") + captcha.help_text = "Hjemmesiden er sikret med reCAPTCHAv2" def clean_email(self): email = self.cleaned_data["email"]