Skip to content

Revise headers and instructions#709

Merged
monfresh merged 4 commits intomasterfrom
liz/revise-headers-instructions
Nov 17, 2016
Merged

Revise headers and instructions#709
monfresh merged 4 commits intomasterfrom
liz/revise-headers-instructions

Conversation

@esgoodman
Copy link
Contributor

Why: To match our styleguide, to improve the clarity of instructions, and to make a better experience for people using screenreaders

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"?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of questions about variable names.

  1. Does _branded mean the same thing as with_sp?
  2. Would it be possible to change log_in to sign_in to match our styleguide? (Yes, this is nitpicky, I know.)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a very reasonable change to make, do you need help changing that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming all that's needed is a find-and-replace on log_in. In that case, we have two options:

  1. 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.
  2. Someone else can make the change.

Copy link
Contributor

@zachmargolis zachmargolis Nov 10, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is used as a link in the UI -- I think. Should it be in links/en.yml?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
Copy link
Contributor Author

@esgoodman esgoodman Nov 8, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@esgoodman
Copy link
Contributor Author

@theresaanna There is a merge conflict with #686. Would love some help resolving!

@hursey013
Copy link
Contributor

@esgoodman which translation string would you like to use?

To protect your account, we will send you a one-time passcode via text message or phone call every time you sign in.

or

Every time you log in, we will send you a one-time passcode via text message or phone call. This helps safeguard your account.

@esgoodman
Copy link
Contributor Author

@hursey013 The one from #686, which I believe is the second one.

**Why**: To match the styleguide and for better clarity
@hursey013 hursey013 force-pushed the liz/revise-headers-instructions branch from 5b3982c to e20c295 Compare November 10, 2016 17:42
**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
@hursey013
Copy link
Contributor

@esgoodman - tests are passing now, let me know if theres's anything else i can help with

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?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we address these questions in this PR? Who is/are the person(s) to answer this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeanninehunter will address when she has finished dealing with ATO documentation.

@hursey013 hursey013 removed their assignment Nov 14, 2016
**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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved as per our styleguide

@hursey013
Copy link
Contributor

@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"?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency, these should probably be sign_in_with_sp and sign_in_without_sp.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@monfresh I really want to close this PR -- file and issue ad do a pass at this later?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. I was just responding to your comment on line 13.

Copy link
Contributor

@monfresh monfresh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. will open new issues for remaining work.

@monfresh monfresh merged commit 2d0bfdf into master Nov 17, 2016
@monfresh monfresh deleted the liz/revise-headers-instructions branch November 17, 2016 22:18
jessieay added a commit that referenced this pull request Nov 18, 2016
**Why**:
* Few unfinished items

**What**:
* Make "with sp" and "without sp" locales consistent with others
* "Forget your password?" -> "Forgot your password?"
* Use smartquotes everywhere
jessieay added a commit that referenced this pull request Nov 18, 2016
**Why**:
* Few unfinished items

**What**:
* Make "with sp" and "without sp" locales consistent with others
* "Forget your password?" -> "Forgot your password?"
* Use smartquotes everywhere
amoose pushed a commit that referenced this pull request Dec 1, 2016
* 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.
amoose pushed a commit that referenced this pull request Dec 1, 2016
**Why**:
* Few unfinished items

**What**:
* Make "with sp" and "without sp" locales consistent with others
* "Forget your password?" -> "Forgot your password?"
* Use smartquotes everywhere
amoose pushed a commit that referenced this pull request Dec 1, 2016
* 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.
amoose pushed a commit that referenced this pull request Dec 1, 2016
**Why**:
* Few unfinished items

**What**:
* Make "with sp" and "without sp" locales consistent with others
* "Forget your password?" -> "Forgot your password?"
* Use smartquotes everywhere
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.

6 participants