Conversation
config/locales/headings/en.yml
Outdated
| log_in: Sign in | ||
| log_in_branded: Sign in to continue to %{sp} | ||
| choose_otp_delivery: Choose delivery method | ||
| log_in_branded: Sign in to continue to %{sp} #question about variable names -- "_branded" vs _"w_with_SP"? |
There was a problem hiding this comment.
A couple of questions about variable names.
- Does
_brandedmean the same thing aswith_sp? - Would it be possible to change
log_intosign_into match our styleguide? (Yes, this is nitpicky, I know.)
There was a problem hiding this comment.
Seems like a very reasonable change to make, do you need help changing that?
There was a problem hiding this comment.
I'm assuming all that's needed is a find-and-replace on log_in. In that case, we have two options:
- I can try to change it myself first, and then get help on the PR when I inevitably break something because I haven't written real code for the web since 2003.
- Someone else can make the change.
There was a problem hiding this comment.
I made the change in 1bba588 and pushed it to this branch
| change: Change your password | ||
| forgot: Forgot password | ||
| confirm: Confirm your password | ||
| forgot: Forget your password? #why is this here and not in links/en.yml? |
There was a problem hiding this comment.
This is used as a link in the UI -- I think. Should it be in links/en.yml?
There was a problem hiding this comment.
This is used as both the header on this page: https://idp.demo.login.gov/users/password/new, as well as a link on the home page. If they need to be different, then yes, we should add an entry in the links section. Also, shouldn't this be "Forgot your password?" instead of "Forget your password?".
| profile_info_tt: Why can’t I edit my profile information? | ||
| account_history: Account history | ||
| login_info: Login information | ||
| login_info: Account information |
There was a problem hiding this comment.
@jeanninehunter Changed for greater consistency in headers. Also because we decided to use "sign in" and not "log in"...and "Sign-in information" just didn't sound right.
| wrong_number: Entered the wrong phone number? %{link} | ||
| totp_intro_html: > | ||
| Please enter the code from your authenticator app. | ||
| Enter the code from your authenticator app. |
There was a problem hiding this comment.
Removed all the "pleases" as per http://www.ihearttechnicalwriting.com/write-error-messages/. Which maybe @jeanninehunter will disagree with 😨
| That passcode is invalid. You can try entering it again or request a new | ||
| one-time passcode. | ||
| invalid_recovery_code: Invalid recovery code. Please try again. | ||
| invalid_recovery_code: That recovery code is invalid. |
There was a problem hiding this comment.
@monfresh What next steps can we offer a user who (perhaps) had a typo in a recovery code? Obvs we can suggest that the user check that they correctly typed in the code and try again...anything else? Best practices in error message writing say that we should give some next steps.
There was a problem hiding this comment.
I can't think of anything else. Here is Apple's support article on the subject for any ideas: https://support.apple.com/en-us/HT202649
|
@theresaanna There is a merge conflict with #686. Would love some help resolving! |
|
@esgoodman which translation string would you like to use?
or
|
|
@hursey013 The one from #686, which I believe is the second one. |
**Why**: To match the styleguide and for better clarity
5b3982c to
e20c295
Compare
**Why**: Make the key names consistent with the language **How**: ``` git grep -l log_in_ | xargs perl -p -i -e 's/log_in_/sign_in_/g' -- ```
**Why**: Resolved issues caused by updated translation strings
|
@esgoodman - tests are passing now, let me know if theres's anything else i can help with |
config/locales/headings/en.yml
Outdated
| security_practices: Our Security Practices | ||
| privacy_practices: Our Privacy Practices | ||
| security_practices: Our Security Practices #should this be in sentence case? | ||
| privacy_practices: Our Privacy Practices #should this be in sentence case? |
There was a problem hiding this comment.
Can we address these questions in this PR? Who is/are the person(s) to answer this?
There was a problem hiding this comment.
@jeanninehunter will address when she has finished dealing with ATO documentation.
**Why**: To match our styleguide.
| security_practices: Our Security Practices | ||
| privacy_practices: Our Privacy Practices | ||
| privacy_act: Privacy Act statement | ||
| security_practices: Our security practices |
There was a problem hiding this comment.
Resolved as per our styleguide
|
@esgoodman since this is largely a content based PR, would you like another person familiar with the content styleguide to review it before merging? Or if you want to give it the thumbs up I can go ahead and merge it in as it. |
| log_in: Sign in | ||
| log_in_branded: Sign in to continue to %{sp} | ||
| choose_otp_delivery: Choose delivery method | ||
| sign_in_branded: Sign in to continue to %{sp} #question about variable names -- "_branded" vs _"w_with_SP"? |
There was a problem hiding this comment.
For consistency, these should probably be sign_in_with_sp and sign_in_without_sp.
There was a problem hiding this comment.
@monfresh I really want to close this PR -- file and issue ad do a pass at this later?
There was a problem hiding this comment.
Sounds good. I was just responding to your comment on line 13.
monfresh
left a comment
There was a problem hiding this comment.
lgtm. will open new issues for remaining work.
**Why**: * Few unfinished items **What**: * Make "with sp" and "without sp" locales consistent with others * "Forget your password?" -> "Forgot your password?" * Use smartquotes everywhere
**Why**: * Few unfinished items **What**: * Make "with sp" and "without sp" locales consistent with others * "Forget your password?" -> "Forgot your password?" * Use smartquotes everywhere
* Revise headers and instructions **Why**: To match the styleguide and for better clarity * Rename log_in keys to sign_in **Why**: Make the key names consistent with the language **How**: ``` git grep -l log_in_ | xargs perl -p -i -e 's/log_in_/sign_in_/g' -- ``` * Fix broken tests **Why**: Resolved issues caused by updated translation strings * Changes privacy headers to sentence case **Why**: To match our styleguide.
**Why**: * Few unfinished items **What**: * Make "with sp" and "without sp" locales consistent with others * "Forget your password?" -> "Forgot your password?" * Use smartquotes everywhere
* Revise headers and instructions **Why**: To match the styleguide and for better clarity * Rename log_in keys to sign_in **Why**: Make the key names consistent with the language **How**: ``` git grep -l log_in_ | xargs perl -p -i -e 's/log_in_/sign_in_/g' -- ``` * Fix broken tests **Why**: Resolved issues caused by updated translation strings * Changes privacy headers to sentence case **Why**: To match our styleguide.
**Why**: * Few unfinished items **What**: * Make "with sp" and "without sp" locales consistent with others * "Forget your password?" -> "Forgot your password?" * Use smartquotes everywhere
Why: To match our styleguide, to improve the clarity of instructions, and to make a better experience for people using screenreaders