Skip to content

Use i18n pluralization to avoid ignored string#7667

Merged
aduth merged 1 commit intomainfrom
aduth-idv-failure-strings
Jan 20, 2023
Merged

Use i18n pluralization to avoid ignored string#7667
aduth merged 1 commit intomainfrom
aduth-idv-failure-strings

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Jan 20, 2023

🛠 Summary of changes

Updates ReviewIssuesStep use of localization to use pluralization feature.

Follow-up to #7638 where upgraded i18n-tasks detected the direct reference to pluralized string keys as being unused.

ReviewIssuesStep predates the introduction of pluralization to the JavaScript implementation in #5950, hence why it was implemented the way it was.

Related Slack discussion: https://gsa-tts.slack.com/archives/C04GA9WQ85B/p1674170306847209

📜 Testing Plan

  • yarn mocha spec/javascripts/packages/document-capture/components/review-issues-step-spec.jsx

@aduth aduth merged commit 8d34187 into main Jan 20, 2023
@aduth aduth deleted the aduth-idv-failure-strings branch January 20, 2023 16:10
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.

2 participants