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

Unify way to provide locale #195

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Unify way to provide locale #195

wants to merge 3 commits into from

Conversation

LaChope
Copy link
Collaborator

@LaChope LaChope commented Nov 8, 2022

Resolves #193

@LaChope LaChope requested a review from blcham November 8, 2022 09:26
@netlify
Copy link

netlify bot commented Nov 8, 2022

Deploy Preview for s-forms-kbss ready!

Name Link
🔨 Latest commit a069307
🔍 Latest deploy log https://app.netlify.com/sites/s-forms-kbss/deploys/636a24d897c5570008ea2e03
😎 Deploy Preview https://deploy-preview-195--s-forms-kbss.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 settings.

Copy link
Collaborator

@blcham blcham left a comment

Choose a reason for hiding this comment

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

LGTM, except issue with i18n

id: "comment.form.placeholder",
})}
placeholder={
intl.locale !== "en"
Copy link
Collaborator

Choose a reason for hiding this comment

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

ufff ... this is not very nice, can we put it to a function? and call the function instead of having this?

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.

There are 2 ways how Intl is provided to forms
2 participants