-
Notifications
You must be signed in to change notification settings - Fork 359
chore(clerk-js,localizations): align en-US strings for danger zone with other translations #5800
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
base: main
Are you sure you want to change the base?
Conversation
|
@joschi is attempting to deploy a commit to the Clerk Production Team on Vercel. A member of the Team first needs to authorize it. |
Hello 👋 We currently close PRs after 60 days of inactivity. It's been 50 days since the last update here. If we missed this PR, please reply here. Otherwise, we'll close this PR in 10 days. Thanks for being a part of the Clerk community! 🙏 |
📝 WalkthroughWalkthroughThe update modifies string values within the 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (4)`**/*.{js,ts,tsx,jsx}`: All code must pass ESLint checks with the project's configuration. Use Prettier for consistent code formatting.
📄 Source: CodeRabbit Inference Engine (.cursor/rules/development.mdc) List of files the instruction was applied to:
`**/*.{ts,tsx}`: Maintain comprehensive JSDoc comments for public APIs.
📄 Source: CodeRabbit Inference Engine (.cursor/rules/development.mdc) List of files the instruction was applied to:
`packages/**`: All publishable packages under the @clerk namespace must be located in the packages/ directory.
📄 Source: CodeRabbit Inference Engine (.cursor/rules/global.mdc) List of files the instruction was applied to:
`**/*.ts`: Always define explicit return types for functions, especially public ...
📄 Source: CodeRabbit Inference Engine (.cursor/rules/typescript.mdc) List of files the instruction was applied to:
🧠 Learnings (2)📓 Common learnings
packages/localizations/src/utils/enUS_v4.ts (1)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Reply. 🤷 |
…th other translations The action description for `organizationProfile.profilePage.dangerSection.deleteOrganization`, `organizationProfile.profilePage.dangerSection.leaveOrganization`, and `userProfile.deletePage` wasn't aligned with any other translation which put the organization name or the phrase to type into the confirmation field in double quotes. https://github.com/clerk/javascript/blob/62692cb5af643ab1369421a2b961f32c701a70e3/packages/localizations/src/en-GB.ts#L215-L229 https://github.com/clerk/javascript/blob/62692cb5af643ab1369421a2b961f32c701a70e3/packages/localizations/src/en-GB.ts#L757-L763 https://github.com/clerk/javascript/blob/62692cb5af643ab1369421a2b961f32c701a70e3/packages/localizations/src/en-US.ts#L209-L223 https://github.com/clerk/javascript/blob/62692cb5af643ab1369421a2b961f32c701a70e3/packages/localizations/src/en-US.ts#L753-L759
Description
The action description for
organizationProfile.profilePage.dangerSection.deleteOrganization
,organizationProfile.profilePage.dangerSection.leaveOrganization
, anduserProfile.deletePage
wasn't aligned with any other translation which put the organization name or the phrase to type into the confirmation field in double quotes.Examples from
en-GB
and the existingen-US
localizations:javascript/packages/localizations/src/en-GB.ts
Lines 215 to 229 in 62692cb
javascript/packages/localizations/src/en-GB.ts
Lines 757 to 763 in 62692cb
javascript/packages/localizations/src/en-US.ts
Lines 209 to 223 in 62692cb
javascript/packages/localizations/src/en-US.ts
Lines 753 to 759 in 62692cb
Checklist
pnpm test
runs as expected.pnpm build
runs as expected.Type of change
Summary by CodeRabbit