Commit c9083ec1 authored by ImaCrea's avatar ImaCrea
Browse files

a bit more help

- added tooltip helper
parent 6697493f
Pipeline #676 passed with stage
in 6 seconds
......@@ -3,6 +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
firstNamePlaceholder=Camille
lastNamePlaceholder=Lila
emailPlaceholder=c.lila@mail.com
......
......@@ -7,6 +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
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" placeholder="${msg("usernamePlaceholder")}"/>
<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")}"/>
</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