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
Fixes #8525 - Rename "Mail" to "Email" in user preferences #2010
Conversation
[test] |
Thanks! A few comments:
@ohadlevy @domcleal I think we're almost consistent on the use of 'mail' across the whole UI, and most of the code uses Mail, so I can't say I understand the usefulness of this issue. Your thoughts? @ShimShtein please hold off making further changes until more people comment on this, at first glance it seems like a non-issue and we should actually turn the few 'email' to 'mail', but it might just be me! |
I don't think the code versus the UI is particularly important, but it should be consistent within the UI, either way. I suppose I'd have preferred to stick with "email" as that was already in use before 3a36bdf introduced a second term, but perhaps "mail" would be simpler at this stage. Editing the en .po file is fine in order to override the default attribute labels in the UI, or add a :label to app/views/users/_form.html.erb. |
I didn't want to break translations, so I changed the .po file.
|
@ShimShtein @domcleal @stbenjam ping. At this point I guess if this goes in we'll have to change all the UI for mail notifications to email notifications right? Otherwise this PR is not really keeping it consistent. I do prefer 'email' too but 'mail' would take way less effort. |
@elobato ping? |
@@ -34,7 +34,7 @@ | |||
<%= text_f f, :attr_login, :help_inline => _("e.g. uid") %> | |||
<%= text_f f, :attr_firstname, :help_inline => _("e.g. givenName") %> | |||
<%= text_f f, :attr_lastname, :help_inline => _("e.g. sn") %> | |||
<%= text_f f, :attr_mail, :help_inline => _("e.g. mail") %> | |||
<%= text_f f, :attr_mail, :help_inline => _("e.g. email") %> |
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.
don't change this, it's the name of a standard LDAP attribute
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.
Thanks @domcleal, reverted the change in the latest commit.
So I think this is okay by me, the only inconsistencies that remain are a) internal stuff, or b) the API. Hopefully when somebody gets around to implementing this in Hammer they can paper over the latter. @elobato did you have any further concerns? |
Merged as 416a0ae, thanks @ShimShtein! |
No description provided.