Commit ba922239 authored by ImaCrea's avatar ImaCrea
Browse files

fix helper

- reviewed username lenght
- updated wording
parent ab282352
Pipeline #679 passed with stage
in 6 seconds
......@@ -3,7 +3,7 @@ doRegisterNow=Confirm
loginTitle=Log in to {0}
usernamePlaceholder=CamilleLila
usernameHelper=This is how other members will be able to identify you. Attention this choice is definitive, it is recommended to opt for a username under the form ''firstnamelastname''. Special characters are not allowed.
usernameValidationHelper=Username may not contain spaces, accents, or special characters. Only letters, numbers, periods, dashes. Thanks
usernameValidationHelper=Username can only contain letters, numbers, dots, hyphens and be between 3 and 25 characters long. Thank you
firstNamePlaceholder=Camille
lastNamePlaceholder=Lila
emailPlaceholder=c.lila@mail.com
......
......@@ -7,7 +7,7 @@ username=Pseudo
usernameOrEmail=Pseudo ou courriel
usernamePlaceholder=CamilleLila
usernameHelper=C''est ainsi que les autres membres pourront vous identifier. Attention ce choix est d\u00e9finitif, il est recommand\u00e9 d''opter pour un pseudo sous la forme ''prenomnom''. <b>Les caract\u00e9res sp\u00e9ciaux et accents ne sont pas autoris\u00e9s</b>.
usernameValidationHelper=Les pseudos ne peuvent pas contenir d''espace, ni d''accents, ni de caract\u00e8res sp\u00e9ciaux. Uniquement des lettres, des nombres, points, tirets. Merci
usernameValidationHelper=Les pseudos ne peuvent contenir que des lettres, des nombres, points, tirets et faire entre 3 et 25 caract\u00e8res. Merci
firstNamePlaceholder=Camille
lastNamePlaceholder=Lila
emailPlaceholder=c.lila@mail.com
......
......@@ -37,7 +37,7 @@
<label for="username" class="${properties.kcLabelClass!}">${msg("username")}</label>
</div>
<div class="${properties.kcInputWrapperClass!}">
<input type="text" id="username" pattern="[a-zA-Z][a-zA-Z0-9-_.@]{5,24}" class="${properties.kcInputClass!}" name="username" value="${(register.formData.username!'')}" autocomplete="username" title="${msg("usernameValidationHelper")}" placeholder="${msg("usernamePlaceholder")}"/>
<input type="text" id="username" pattern="[a-zA-Z][a-zA-Z0-9-_.@]{2,24}" class="${properties.kcInputClass!}" name="username" value="${(register.formData.username!'')}" autocomplete="username" title="${msg("usernameValidationHelper")}" placeholder="${msg("usernamePlaceholder")}"/>
</div>
<div class="${properties.kcLabelWrapperClass!}">
<p class="${properties.kcLabelHelperClass!}">${msg("usernameHelper")?no_esc}</p>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment