Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HB9HIL
Copy link

@HB9HIL HB9HIL commented Nov 26, 2024

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:

image

After:

image

TODO

Nothing

Checklist

@solracsf

This comment was marked as resolved.

@solracsf solracsf added this to the Nextcloud 31 milestone Nov 27, 2024
@HB9HIL

This comment was marked as resolved.

@solracsf solracsf changed the title Installer - Username field in installer should not labeled "Login" fix(installer): Label field as username instead of login Nov 27, 2024
@@ -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>
Copy link
Member

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)?

loginText() {
if (this.emailEnabled) {
return t('core', 'Account name or email')
}
return t('core', 'Account name')
},

Copy link
Author

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.

Copy link
Member

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.

@joshtrichards
Copy link
Member

Good catch, @HB9HIL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants