LG-14049 Fix barcode info alert dates and content#11398
LG-14049 Fix barcode info alert dates and content#11398shanechesnutt-ft merged 1 commit intomainfrom
Conversation
config/locales/es.yml
Outdated
There was a problem hiding this comment.
should we use this for event date if the current one is wrong?
There was a problem hiding this comment.
Okay, I wasn't sure if the change should app wide or not which is why I created a new translation.
There was a problem hiding this comment.
I think it's worth considering. If the new translation is more correct and we're still using the old one in other places, we should probably lean towards updating the existing one unless there's a compelling reason not to.
There was a problem hiding this comment.
We have time.formats.full_date, time.formats.event_date, date.formats.long, which are all kind of similar to each other and time.formats.standard_long.
There are also other dates for IPP that use event_date, ex:
identity-idp/app/presenters/account_show_presenter.rb
Lines 77 to 79 in a534a34
event_date for this
There was a problem hiding this comment.
I agree I will update the time.format.event_date, but let me confirm with design to see if there is a compelling reason to not to update the format app wide.
8fe0f31 to
995d16d
Compare
There was a problem hiding this comment.
@shanechesnutt-ft thanks for all the screenshots, this LGTM! Can you please tag me or Kelli once this is merged, so we can send screenshots back to the State Dept? Thank you!
eileen-nava
left a comment
There was a problem hiding this comment.
Approved! I didn't manually test this, however, I'm comfortable approving it based on the automated tests and screenshots. Thanks for doing this.
config/locales/en.yml
Outdated
There was a problem hiding this comment.
This is super readable. 👍🏻
mitchellhenke
left a comment
There was a problem hiding this comment.
I think we should confirm whether we want to create a new format or update the existing one. I lean towards updating the existing one.
995d16d to
8de98cc
Compare
I updated the existing |
8de98cc to
6209200
Compare
There was a problem hiding this comment.
Sorta curious why this had to change from strftime to I18n.l, or was that more of a readability improvement / consistent change?
There was a problem hiding this comment.
That previous version wasn't displaying the months with the correct translated month name. The I18n.l or localize method will correctly translate the month names when formatting the date.
There was a problem hiding this comment.
I see the example follows what's in the ticket, but without any demarcations, how is someone supposed to differentiate dates like “2024112” between being January 12th or November 2nd?
There was a problem hiding this comment.
The Chinese Translation has been updated to be <year>年<month>月<day>日
e.g. January 12, 2024 would be 2024年1月12日
jennyverdeyen
left a comment
There was a problem hiding this comment.
Looks good! I tested the ready to verify page as well as the emails and all the content updates appear correct to me. Thanks for the screenshots of all the other areas!
150f3d4 to
8c04a54
Compare
8c04a54 to
a9b9856
Compare
a9b9856 to
6bde518
Compare
6bde518 to
0d70dde
Compare
eileen-nava
left a comment
There was a problem hiding this comment.
I did a second review. Good test coverage. Approved. (Caveat: I didn't manually test. I am comfortable approving this PR without manual testing, based on the automated tests.)
|
@shanechesnutt-ft the updated Chinese date format LGTM! I'll send to DOS for LQA as well :) |
changelog: User-Facing Improvements, In-person proofing, Fix barcode page due date format for spanish, french, and chinese translations; Improve spanish translation for information alert. This commit updates the time.formats.event_date for Spanish, French, and Chinese, so more than just EIPP/ID-IPP flows are affected by this change. See #11398 for the areas affected.
0d70dde to
4dc4492
Compare
changelog: User-Facing Improvements, In-person proofing, Fix barcode page due date format for Spanish, French, and Chinese translations; Improve Spanish translation for information alert.
🎫 Ticket
Link to the relevant ticket:
LG-14049
🛠 Summary of changes
Fixed barcode page due date format for Spanish (<day> de <month> de <year>), French (<day> <month> <year>), and Chinese (<year>年<month>]月<day>日) translations; Improved the Spanish translation for the information alert.
Note: This PR fixes the time.formats.event_date translation and will update other areas of the code found in the Other Areas of the screenshots section.
📜 Testing Plan
Provide a checklist of steps to confirm the changes.
👀 Screenshots
EIPP Ready to Verify Page
EIPP Ready to Verify Email
EIPP Ready to Verify Reminder Email
ID-IPP Ready to Verify Page
ID-IPP Ready to Verify Email
ID-IPP Ready to Verify Reminder Email
Other Areas
Account View - pending enrollment
Account View - date personal key was created
LG99 Screen
Verified Info Failure - Email
Verified Info Successfully - Email
Verify by mail - enter your verification code
Verify by mail - reminder email
Verify your information screen