mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 07:18:38 +00:00
describe Login Name limitations on Registration form and Add Local Auth form (#9896)
* describe Login Name limitations on registration form and Add Local Auth form
* adjust text in response to this change: c69687f935
* update max length
This commit is contained in:
parent
f302d15bc4
commit
c1e264955f
3 changed files with 3 additions and 0 deletions
|
|
@ -118,6 +118,7 @@
|
|||
hr
|
||||
div(v-if='!user.auth.local.username')
|
||||
p {{ $t('addLocalAuth') }}
|
||||
p {{ $t('usernameLimitations') }}
|
||||
.form(name='localAuth', novalidate)
|
||||
//-.alert.alert-danger(ng-messages='changeUsername.$error && changeUsername.submitted') {{ $t('fillAll') }}
|
||||
.form-group
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
.strike
|
||||
span {{$t('or')}}
|
||||
.form(@keyup.enter="register()")
|
||||
p.form-text {{$t('usernameLimitations')}}
|
||||
input.form-control(type='text', placeholder='Login Name', v-model='username', :class='{"input-valid": username.length > 3}')
|
||||
input.form-control(type='email', placeholder='Email', v-model='email', :class='{"input-invalid": emailInvalid, "input-valid": emailValid}')
|
||||
input.form-control(type='password', placeholder='Password', v-model='password', :class='{"input-valid": password.length > 3}')
|
||||
|
|
|
|||
|
|
@ -298,6 +298,7 @@
|
|||
"signUpWithSocial": "Sign up with <%= social %>",
|
||||
"loginWithSocial": "Log in with <%= social %>",
|
||||
"confirmPassword": "Confirm Password",
|
||||
"usernameLimitations": "Login Name must be 1 to 20 characters long, containing only letters a to z, or numbers 0 to 9, or hyphens, or underscores.",
|
||||
"usernamePlaceholder": "e.g., HabitRabbit",
|
||||
"emailPlaceholder": "e.g., rabbit@example.com",
|
||||
"passwordPlaceholder": "e.g., ******************",
|
||||
|
|
|
|||
Loading…
Reference in a new issue