From 729910c3834e53d265786292cebcbf6f4df05f92 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 30 Jun 2020 18:52:18 +0200 Subject: [PATCH] stages/*: minor string updates --- passbook/stages/otp_time/forms.py | 2 +- passbook/stages/otp_validate/forms.py | 2 +- passbook/stages/password/forms.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/passbook/stages/otp_time/forms.py b/passbook/stages/otp_time/forms.py index 633bc51b3..36052404d 100644 --- a/passbook/stages/otp_time/forms.py +++ b/passbook/stages/otp_time/forms.py @@ -27,7 +27,7 @@ class SetupForm(forms.Form): label=_("Scan this Code with your OTP App."), ) code = forms.CharField( - label=_("Code"), + label=_("Please enter the Token on your device."), validators=[OTP_CODE_VALIDATOR], widget=forms.TextInput( attrs={ diff --git a/passbook/stages/otp_validate/forms.py b/passbook/stages/otp_validate/forms.py index 44a1e1d09..f966e90af 100644 --- a/passbook/stages/otp_validate/forms.py +++ b/passbook/stages/otp_validate/forms.py @@ -18,7 +18,7 @@ class ValidationForm(forms.Form): user: User code = forms.CharField( - label=_("Code"), + label=_("Please enter the token from your device."), validators=[OTP_CODE_VALIDATOR], widget=forms.TextInput( attrs={ diff --git a/passbook/stages/password/forms.py b/passbook/stages/password/forms.py index 1ac9fadbb..4356778fe 100644 --- a/passbook/stages/password/forms.py +++ b/passbook/stages/password/forms.py @@ -28,6 +28,7 @@ class PasswordForm(forms.Form): widget=forms.HiddenInput(attrs={"autocomplete": "username"}), required=False ) password = forms.CharField( + label=_("Please enter your password."), widget=forms.PasswordInput( attrs={ "placeholder": _("Password"),