-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(installer): Label field as username instead of login #49500
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: HB9HIL <[email protected]>
7acfa49
to
2b270af
Compare
This comment was marked as resolved.
This comment was marked as resolved.
@@ -40,7 +40,7 @@ | |||
<fieldset id="adminaccount"> | |||
<legend><?php print_unescaped($l->t('Create an <strong>admin account</strong>')); ?></legend> | |||
<p> | |||
<label for="adminlogin"><?php p($l->t('Login')); ?></label> | |||
<label for="adminlogin"><?php p($l->t('Username')); ?></label> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe "Account name" instead (to match LoginForm)?
server/core/src/components/login/LoginForm.vue
Lines 239 to 244 in e17f011
loginText() { | |
if (this.emailEnabled) { | |
return t('core', 'Account name or email') | |
} | |
return t('core', 'Account name') | |
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's up to you. I'd prefer "Username" as it's more intuitive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Account name" is what everything has been switched to as of v30 so let's go with that for consistency.
Good catch, @HB9HIL |
Summary
The intended username field in the installer is labeled "Login" which translates in many languages in a different meaning. It's better to label it Username.
Before:
After:
TODO
Nothing
Checklist