Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/L3-410 Chinese translations fixes #46

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

justinelliottcobb
Copy link
Collaborator

Closes #L3-410

Summary

  • Adding overlooked email labels to i18n

Change List (describe the changes made to the files)

  • emaiLabel
  • emailLinkLabel
  • emailToggleLabel
  • New default text for previewToggleLabel

Acceptance Test (how to verify the PR)

  • New previewToggleLabel should read "Additional Hours"
  • Email labels should accept new i18n values

Things to look for during review

  • Make sure all references to phillips class prefix is using the prefix variable
  • All major areas have a data-testid attribute.
  • All strings should be translatable.
  • Unit test should be written and should have a coverage of 90% or higher in all areas.
  • Changes or new components should either write new or update existing documentation.
  • PR should link and close out an existing issue
  • Make sure all commits messages follow convention and are appropriate for the changes

Copy link

netlify bot commented Mar 12, 2024

Deploy Preview for phillips-seldon ready!

Name Link
🔨 Latest commit 1940c3d
🔍 Latest deploy log https://app.netlify.com/sites/phillips-seldon/deploys/65f0d049292b8a0008d468e8
😎 Deploy Preview https://deploy-preview-46--phillips-seldon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks great. Will we be updating this file for all features and bug fixes going forward?

@@ -56,6 +60,9 @@ export const i18n = {
viewingDatesLabel: '_viewingDatesLabel_',
viewingHours1Label: '_viewingHours1Label_',
viewingHours2Label: '_viewingHours2Label_',
emailLabel: '_emailLabel_',
Copy link
Collaborator

Choose a reason for hiding this comment

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

For these i18n constants what is the purpose of the leading and trailing underscores?

Copy link
Collaborator

Choose a reason for hiding this comment

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

To differentiate between the normal text and a "translated" text.

Copy link
Collaborator

@adietrich3074 adietrich3074 left a comment

Choose a reason for hiding this comment

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

Looks great to me. No issues. Just curiosity on my part 😆

@davidicus davidicus merged commit 7d3a2e4 into main Mar 14, 2024
8 checks passed
@davidicus davidicus deleted the feature/L3-410-chinese-translations-fixes branch March 14, 2024 16:26
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.

3 participants