-
Notifications
You must be signed in to change notification settings - Fork 260
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
fix(clerk-js,localizations,types): Add formFieldHintText__slug
key
#1811
fix(clerk-js,localizations,types): Add formFieldHintText__slug
key
#1811
Conversation
Enables you to translate the tooltip hint while creating an organization
🦋 Changeset detectedLatest commit: c6ff3ab The changes in this PR will be included in the next version bump. This PR includes changesets to release 12 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@@ -352,7 +352,7 @@ export const FormControl = forwardRef<HTMLInputElement, PropsWithChildren<FormCo | |||
const Icon = icon ? ( | |||
<Flex | |||
as={'span'} | |||
title='A slug is a human-readable ID that must be unique. It’s often used in URLs.' | |||
title={t(localizationKeys('formFieldHintText__slug'))} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about this instead ?
title={t(localizationKeys('formFieldHintText__slug'))} | |
title={t(localizationKeys('formFieldIconText__organizationSlug'))} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to reuse this in other places, hintText__slug
is more generic and appropriate than tying this specific to organizations. The text isn't mentioning Organizations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Enables you to translate the tooltip hint while creating an organization
Fixes #1795
Fixes ORG-239
Checklist
npm test
runs as expected.npm run build
runs as expected.Type of change
Packages affected
@clerk/clerk-js
@clerk/clerk-react
@clerk/nextjs
@clerk/remix
@clerk/types
@clerk/themes
@clerk/localizations
@clerk/clerk-expo
@clerk/backend
@clerk/clerk-sdk-node
@clerk/shared
@clerk/fastify
@clerk/chrome-extension
gatsby-plugin-clerk
build/tooling/chore