Add info about minimum password length to registration form

2022-03-24
Luca 3 years ago
parent 4c1396398c
commit aacd2ae83c

@ -356,7 +356,8 @@ function guest_register()
$enable_password || $enable_planned_arrival ? div('row', [ $enable_password || $enable_planned_arrival ? div('row', [
$enable_password ? div('col', [ $enable_password ? div('col', [
form_password('password', __('Password') . ' ' . entry_required()) form_password('password', __('Password') . ' ' . entry_required()),
form_info('', sprintf(__('Please use at least %s characters.'), $min_password_length)),
]) : '', ]) : '',
$enable_planned_arrival ? div('col', [ $enable_planned_arrival ? div('col', [

@ -1,8 +1,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Engelsystem\n" "Project-Id-Version: Engelsystem\n"
"POT-Creation-Date: 2022-04-10 17:15+0200\n" "POT-Creation-Date: 2022-04-10 17:31+0200\n"
"PO-Revision-Date: 2022-04-10 17:19+0200\n" "PO-Revision-Date: 2022-04-10 17:34+0200\n"
"Last-Translator: Luca <Luca@hackerspace-bamberg.de>\n" "Last-Translator: Luca <Luca@hackerspace-bamberg.de>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: de_DE\n" "Language: de_DE\n"
@ -315,7 +315,7 @@ msgstr "Credits"
#: resources/views/layouts/parts/navbar.twig:39 #: resources/views/layouts/parts/navbar.twig:39
#: resources/views/pages/login.twig:101 resources/views/pages/login.twig:105 #: resources/views/pages/login.twig:101 resources/views/pages/login.twig:105
#: includes/pages/guest_login.php:18 includes/pages/guest_login.php:403 #: includes/pages/guest_login.php:18 includes/pages/guest_login.php:404
msgid "Register" msgid "Register"
msgstr "Registrieren" msgstr "Registrieren"
@ -538,7 +538,7 @@ msgid "Password"
msgstr "Passwort" msgstr "Passwort"
#: resources/views/pages/password/reset-form.twig:11 #: resources/views/pages/password/reset-form.twig:11
#: includes/pages/guest_login.php:373 #: includes/pages/guest_login.php:374
msgid "Confirm password" msgid "Confirm password"
msgstr "Passwort wiederholen" msgstr "Passwort wiederholen"
@ -1759,7 +1759,7 @@ msgstr "Helfer*innenliste"
msgid "This user does not exist." msgid "This user does not exist."
msgstr "Benutzer existiert nicht" msgstr "Benutzer existiert nicht"
#: includes/pages/admin_user.php:71 includes/pages/guest_login.php:379 #: includes/pages/admin_user.php:71 includes/pages/guest_login.php:380
#: includes/view/User_view.php:116 #: includes/view/User_view.php:116
msgid "Please select..." msgid "Please select..."
msgstr "Bitte auswählen..." msgstr "Bitte auswählen..."
@ -1829,7 +1829,7 @@ msgstr "Deine Passwörter stimmen nicht überein."
#: includes/pages/guest_login.php:145 #: includes/pages/guest_login.php:145
#, php-format #, php-format
msgid "Your password is too short (please use at least %s characters)." msgid "Your password is too short (please use at least %s characters)."
msgstr "Dein Passwort ist zu kurz. Bitte nutze mindestens %s Zeichen." msgstr "Dein Passwort ist zu kurz. Bitte verwende mindestens %s Zeichen."
#: includes/pages/guest_login.php:156 includes/pages/guest_login.php:160 #: includes/pages/guest_login.php:156 includes/pages/guest_login.php:160
#: includes/pages/user_settings.php:58 #: includes/pages/user_settings.php:58
@ -1882,23 +1882,28 @@ msgstr ""
"Ich bin damit einverstanden, dass mir Benachrichtigungen per SMS zugeschickt " "Ich bin damit einverstanden, dass mir Benachrichtigungen per SMS zugeschickt "
"werden." "werden."
#: includes/pages/guest_login.php:365 includes/view/User_view.php:68 #: includes/pages/guest_login.php:360
#, php-format
msgid "Please use at least %s characters."
msgstr "Bitte verwende mindestens %s Zeichen."
#: includes/pages/guest_login.php:366 includes/view/User_view.php:68
msgid "Planned date of arrival" msgid "Planned date of arrival"
msgstr "Geplanter Ankunftstag" msgstr "Geplanter Ankunftstag"
#: includes/pages/guest_login.php:378 includes/view/User_view.php:113 #: includes/pages/guest_login.php:379 includes/view/User_view.php:113
msgid "Shirt size" msgid "Shirt size"
msgstr "T-Shirt-Größe" msgstr "T-Shirt-Größe"
#: includes/pages/guest_login.php:388 #: includes/pages/guest_login.php:389
msgid "What do you want to do?" msgid "What do you want to do?"
msgstr "Was möchtest du machen?" msgstr "Was möchtest du machen?"
#: includes/pages/guest_login.php:391 #: includes/pages/guest_login.php:392
msgid "Description of job types" msgid "Description of job types"
msgstr "Beschreibung der Aufgaben" msgstr "Beschreibung der Aufgaben"
#: includes/pages/guest_login.php:398 #: includes/pages/guest_login.php:399
msgid "" msgid ""
"Some angel types have to be confirmed later by a supporter at an " "Some angel types have to be confirmed later by a supporter at an "
"introduction meeting. You can change your selection in the options section." "introduction meeting. You can change your selection in the options section."

Loading…
Cancel
Save