-
Notifications
You must be signed in to change notification settings - Fork 2k
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
People: Ensures form header strings are translated properly #369
Conversation
6511de0
to
22750aa
Compare
Thanks for the ping! I think this is the good sort of verbose with separate complete sentences for the different roles. Nice one :) You could streamline some of the calls a bit by moving the |
|
||
getLoggedInTitleForInvite() { | ||
let title = ''; | ||
let siteLink = ( |
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.
this could be a const
f23b70e
to
0cf9899
Compare
cc @rickybanister for a wording review. I based the wording off of the Summary of Roles in the .org codex. |
Code-wise this looks great. I agree with @deBhal. The verbose strings make this very easy to understand. Tested, and works like a charm. LGTM. |
Will we deal with the header text in an other PR? |
Yessir. I plan on addressing the strings in |
LGTM |
🚢 |
0cf9899
to
a71ac9f
Compare
People: Ensures form header strings are translated properly
Addresses part of #138
Previously, the form header title and description were incorrect for a role. The title did not take into account the user of
a
oran
and the explanation was the same for every role.This PR changes that.
Currently, it is quite verbose, so ping @deBhal for advice on trimming it down a bit.
To test:
update/invite-translations
branchUsers > Invite New
inwp-admin
/accept-invite/$site/$invite_key
when you are both logged in and outwp-admin
cc @lezama for an early review