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

feat: translate web-components from header to inputs #2468

Merged
merged 7 commits into from
Sep 18, 2024

Conversation

flagrede
Copy link
Collaborator

@flagrede flagrede commented Sep 10, 2024

Description

translate web-components from header to inputs

Note for reviewers:
This commit is important as it extracts all the validation logic of forms that was in web-components.


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • provided a link to the relevant issue or specification
  • provided instructions on how to test
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

How to test

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items
.

I have...

  • confirmed all author checklist items have been addressed
  • reviewed code correctness and readability
  • verified React components follow DRY principles
  • reviewed documentation is accurate
  • reviewed tests
  • manually tested (if applicable)

Copy link

netlify bot commented Sep 10, 2024

Deploy Preview for regen-website ready!

Name Link
🔨 Latest commit 5f4a4f8
🔍 Latest deploy log https://app.netlify.com/sites/regen-website/deploys/66e986a9a2dbbc0008a4b3e2
😎 Deploy Preview https://deploy-preview-2468--regen-website.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.

@flagrede flagrede force-pushed the feat-translate-web-components-part3 branch from 5115cd6 to 20a4c7a Compare September 12, 2024 08:57
@flagrede flagrede changed the title feat: translate web-components from header to inputs/new feat: translate web-components from header to inputs Sep 12, 2024
Copy link
Contributor

@wgardiner wgardiner left a comment

Choose a reason for hiding this comment

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

Looks good overall, just one typo in a variable name to fix, and a few missing translations.

@@ -70,6 +74,8 @@ const EmailSubmitSection = ({ altContent, sharedNewsletterData }: Props) => {
</Body>
</>
}
requiredMessage={REQUIRED_MESSAGE}
Copy link
Contributor

Choose a reason for hiding this comment

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

needs translation with _(...)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

web-www/lib/constants/shared.constants.ts Show resolved Hide resolved
web-www/pages/contact.tsx Show resolved Hide resolved
@flagrede flagrede force-pushed the feat-translate-web-components-part3 branch from c720077 to 4fcfcbb Compare September 16, 2024 12:59
@flagrede flagrede force-pushed the feat-translate-web-components-part3 branch from 4fcfcbb to 5f4a4f8 Compare September 17, 2024 13:39
@flagrede flagrede merged commit 1813741 into dev Sep 18, 2024
14 checks passed
@flagrede flagrede deleted the feat-translate-web-components-part3 branch September 18, 2024 07:21
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