Skip to content

LG-12999: Fix Selfie Inline Error#10513

Merged
charleyf merged 12 commits intomainfrom
charley/lg-12999-fix-inline-errors-for-various-scenarios
May 2, 2024
Merged

LG-12999: Fix Selfie Inline Error#10513
charleyf merged 12 commits intomainfrom
charley/lg-12999-fix-inline-errors-for-various-scenarios

Conversation

@charleyf
Copy link
Contributor

@charleyf charleyf commented Apr 26, 2024

🎫 Ticket

https://cm-jira.usa.gov/browse/LG-12999

🛠 Summary of changes

This PR changes the text that appears over the selfie field to be the text we want.

📜 Testing Plan

Get a selfie failure, verify that the red inline error text over the selfie box is "We couldn’t verify the photo of yourself. Try taking a new picture."

selfie_error_chinese

@charleyf charleyf changed the title Change inline error LG-12999: Fix Selfie Inline Error Apr 26, 2024
no_liveness: Try taking new pictures.
selfie_failure: Try taking your photos again. Make sure all of your photos are
clear and in focus.
selfie_failure: We couldn’t verify the photo of yourself. Try taking a new picture.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kellular (or anyone) I'm not seeing translations? I'll keep looking.

Copy link

@kellular kellular Apr 29, 2024

Choose a reason for hiding this comment

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

@charleyf They might have been accidentally removed the last time we worked on this in-line error, I can't recall. But here are the DOS translations:

Spanish: No pudimos verificar su foto. Intente tomar una nueva foto.
French: Nous n’avons pas pu vérifier votre photo. Essayez de prendre une nouvelle photo.
Chinese Simplified (are we supposed to add these now?): 我们无法验证你自己的照片。请重拍一张。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! Added those, I don't see anywhere to put the simplified Chinese yet. I would expect a file like doc_auth/zh-CN.yml.

Copy link
Contributor

Choose a reason for hiding this comment

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

@charleyf , it's zh.yml.

Copy link
Contributor

Choose a reason for hiding this comment

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

@kellular yes, please include Chinese translations going forward

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added the chinese translation

Choose a reason for hiding this comment

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

@charleyf thanks for adding the chinese translation - could you please add a screenshot to the PR so I can submit this for DOS LQA approval?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Uploaded a screenshot to the PR description.

@charleyf charleyf marked this pull request as ready for review April 26, 2024 16:59
@charleyf charleyf requested review from a team, amirbey and night-jellyfish and removed request for a team April 26, 2024 17:12
@charleyf charleyf merged commit 2acb0cd into main May 2, 2024
@charleyf charleyf deleted the charley/lg-12999-fix-inline-errors-for-various-scenarios branch May 2, 2024 16:57
@charleyf
Copy link
Contributor Author

charleyf commented May 2, 2024

I would have waited a little longer, but Amir needs these tests for something he's working on.

@jmdembe jmdembe mentioned this pull request May 7, 2024
samathad2023 pushed a commit that referenced this pull request May 11, 2024
* Change inline error

* changelog: User-Facing Improvements, Selfie, Fix inline error text above selfie box

* Remove unusual line terminators (auto detected by VS Code)

* Change translations too

* Lint fix

* Add chinese translation

* Remove newly translated key from exception list

* Add tests for inline selfie errors

* Lint fixes

* Fix space (remove b/c odd whitespace character)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants