Skip to content

Conversation

ToliaGuy
Copy link
Contributor

@ToliaGuy ToliaGuy commented Sep 5, 2025

Add back translations that were removed (by mistake) in my previous PR (#6316)

Summary by CodeRabbit

  • New Features

    • Expanded Czech (cs-CZ) localization with a combined sign-in subtitle for unified flows and a username input placeholder.
  • Bug Fixes

    • Restored and added many Czech error messages for form validation, identifiers, passwords, phone numbers, sessions and related user-facing errors.
  • Chores

    • Package metadata updated to publish the localization patch.

Add translations that were removed (by mistake) in my previous PR
Copy link

changeset-bot bot commented Sep 5, 2025

🦋 Changeset detected

Latest commit: 55abb34

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@clerk/localizations Patch
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch

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

Copy link

vercel bot commented Sep 5, 2025

@ToliaGuy is attempting to deploy a commit to the Clerk Production Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

coderabbitai bot commented Sep 5, 2025

Walkthrough

Added and updated Czech localization strings in cs-CZ: set a username input placeholder, added signIn.start.subtitleCombined, and populated many previously undefined unstable__errors keys (captcha, code, identifier exist/not found, param format/length/nil/value), password messages, username character rules, phone/session, and identification deletion. Two type-specific keys remain undefined.

Changes

Cohort / File(s) Summary
Localization updates (cs-CZ)
packages/localizations/src/cs-CZ.ts
Added signIn.start.subtitleCombined; defined formFieldInputPlaceholder__username; populated numerous unstable__errors keys (captcha_invalid, form_code_incorrect, form_identifier_exists__email_address, form_identifier_exists__phone_number, form_identifier_exists__username, form_identifier_not_found, form_param_format_invalid, form_param_format_invalid__email_address, form_param_format_invalid__phone_number, form_param_max_length_exceeded__first_name, form_param_max_length_exceeded__last_name, form_param_max_length_exceeded__name, form_param_nil, form_param_value_invalid, form_password_incorrect, form_password_length_too_short, form_password_size_in_bytes_exceeded, form_password_validation_failed, form_username_invalid_character, identification_deletion_failed, phone_number_exists, session_exists); replaced form_param_type_invalid with form_param_type_invalid__email_address and form_param_type_invalid__phone_number (those remain undefined in this diff).
Changeset metadata
.changeset/wild-pots-grab.md
New changeset added for @clerk/localizations (patch): "Add back removed cs-CZ translations for form field errors." No code changes besides metadata.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I twitch my whiskers at new lines,
Cz words stitched neat in friendly signs.
Captchas calm and usernames clear,
Translations hop so users hear.
I nibble typos, then bound away—🐇✨


📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 1da2ebf and 55abb34.

📒 Files selected for processing (1)
  • .changeset/wild-pots-grab.md (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • .changeset/wild-pots-grab.md
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (1)
packages/localizations/src/cs-CZ.ts (1)

844-844: Czech phrasing & consistency tweaks (optional)

Minor wording/hyphenation improvements for clarity and consistency with the rest of the file.

-    captcha_invalid: 'Registrace neúspěšná kvůli neúspěšným bezpečnostním validacím. Prosím, obnovte stránku a zkuste to znovu nebo kontaktujte podporu.',
+    captcha_invalid: 'Registrace se nezdařila kvůli selhání bezpečnostních ověření. Obnovte stránku a zkuste to znovu, nebo kontaktujte podporu.',

-    form_identifier_exists__email_address: 'Tato emailová adresa již byla použita.',
+    form_identifier_exists__email_address: 'Tato e-mailová adresa již byla použita.',

-    form_identifier_not_found: 'Nebyl nalezen účet s těmihle detaily.',
+    form_identifier_not_found: 'Nebyl nalezen účet s těmito údaji.',

-    form_param_format_invalid__email_address: 'Emailová adresa musí být platná.',
+    form_param_format_invalid__email_address: 'E-mailová adresa musí být platná.',

-    form_param_format_invalid__phone_number: 'Telefonní číslo musí být ve validním mezinárodním formátu.',
+    form_param_format_invalid__phone_number: 'Telefonní číslo musí být v platném mezinárodním formátu.',

-    form_password_size_in_bytes_exceeded: 'Vaše heslo překročilo maximální povolený počet bajtů, prosím zkrátit ho nebo odstranit některé speciální znaky.',
+    form_password_size_in_bytes_exceeded: 'Vaše heslo překročilo maximální povolený počet bajtů; prosím zkraťte jej nebo odstraňte některé speciální znaky.',

-    form_password_validation_failed: 'Nesprávné heslo',
+    form_password_validation_failed: 'Heslo nevyhovuje požadavkům.',

-    form_username_invalid_character: 'Uživatelské jméno může obsahovat pouze alfanumerické znaky a podtržítka.',
+    form_username_invalid_character: 'Uživatelské jméno smí obsahovat pouze alfanumerické znaky a podtržítka.',

-    phone_number_exists: 'Toto telefonní číslo se používá. Zkuste prosím jiný.',
+    phone_number_exists: 'Toto telefonní číslo je již používáno. Zkuste prosím jiné.',

-    session_exists: 'Jste již přihlášen.',
+    session_exists: 'Jste již přihlášeni.',

Also applies to: 848-848, 851-851, 853-854, 869-871, 895-897

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between e586dff and ad2b332.

📒 Files selected for processing (1)
  • packages/localizations/src/cs-CZ.ts (4 hunks)
🧰 Additional context used
📓 Path-based instructions (7)
**/*.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

**/*.{js,jsx,ts,tsx}: All code must pass ESLint checks with the project's configuration
Follow established naming conventions (PascalCase for components, camelCase for variables)
Maintain comprehensive JSDoc comments for public APIs
Use dynamic imports for optional features
All public APIs must be documented with JSDoc
Provide meaningful error messages to developers
Include error recovery suggestions where applicable
Log errors appropriately for debugging
Lazy load components and features when possible
Implement proper caching strategies
Use efficient data structures and algorithms
Profile and optimize critical paths
Validate all inputs and sanitize outputs
Implement proper logging with different levels

Files:

  • packages/localizations/src/cs-CZ.ts
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • packages/localizations/src/cs-CZ.ts
packages/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

TypeScript is required for all packages

Files:

  • packages/localizations/src/cs-CZ.ts
packages/**/*.{ts,tsx,d.ts}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Packages should export TypeScript types alongside runtime code

Files:

  • packages/localizations/src/cs-CZ.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use proper TypeScript error types

**/*.{ts,tsx}: Always define explicit return types for functions, especially public APIs
Use proper type annotations for variables and parameters where inference isn't clear
Avoid any type - prefer unknown when type is uncertain, then narrow with type guards
Use interface for object shapes that might be extended
Use type for unions, primitives, and computed types
Prefer readonly properties for immutable data structures
Use private for internal implementation details
Use protected for inheritance hierarchies
Use public explicitly for clarity in public APIs
Prefer readonly for properties that shouldn't change after construction
Prefer composition and interfaces over deep inheritance chains
Use mixins for shared behavior across unrelated classes
Implement dependency injection for loose coupling
Let TypeScript infer when types are obvious
Use const assertions for literal types: as const
Use satisfies operator for type checking without widening
Use mapped types for transforming object types
Use conditional types for type-level logic
Leverage template literal types for string manipulation
Use ES6 imports/exports consistently
Use default exports sparingly, prefer named exports
Use type-only imports: import type { ... } from ...
No any types without justification
Proper error handling with typed errors
Consistent use of readonly for immutable data
Proper generic constraints
No unused type parameters
Proper use of utility types instead of manual type construction
Type-only imports where possible
Proper tree-shaking friendly exports
No circular dependencies
Efficient type computations (avoid deep recursion)

Files:

  • packages/localizations/src/cs-CZ.ts
packages/localizations/**/*

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Localization files must be placed in 'packages/localizations/'.

Files:

  • packages/localizations/src/cs-CZ.ts
**/*.{js,ts,tsx,jsx}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Support multiple Clerk environment variables (CLERK_, NEXT_PUBLIC_CLERK_, etc.) for configuration.

Files:

  • packages/localizations/src/cs-CZ.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: semgrep-cloud-platform/scan
🔇 Additional comments (2)
packages/localizations/src/cs-CZ.ts (2)

225-225: Username placeholder added — LGTM

Good addition; consistent with existing placeholders.


715-715: Add signIn.start.subtitleCombined — LGTM

Matches subtitle; OK for combined UI.

ToliaGuy and others added 3 commits September 5, 2025 12:18
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
packages/localizations/src/cs-CZ.ts (1)

842-937: Remove duplicate form_param_value_invalid entry
The key is declared twice (line 858 with translation and line 861 set to undefined); remove the redundant undefined entry at line 861.

♻️ Duplicate comments (2)
packages/localizations/src/cs-CZ.ts (2)

855-855: Resolved: stray “+” removed

The trailing “+” previously reported is no longer present. Good catch-up.


858-861: Blocking: duplicate key form_param_value_invalid overrides the translated value

The later entry at Line 861 resets the key to undefined and violates ESLint no-dupe-keys. Keep the translated value at Line 858 and remove the duplicate.

-    form_param_value_invalid: undefined,
🧹 Nitpick comments (3)
packages/localizations/src/cs-CZ.ts (3)

872-872: Trim trailing whitespace

There’s a trailing space after the comma that Prettier/ESLint may flag.

-    identification_deletion_failed: 'Svůj poslední identifikační údaj nelze smazat.', 
+    identification_deletion_failed: 'Svůj poslední identifikační údaj nelze smazat.',

843-843: Polish a few Czech strings for consistency and tone (optional)

Minor language/style tweaks for consistency with existing strings (e‑mail hyphenation, neutral phrasing, clearer wording).

-    captcha_invalid: 'Registrace neúspěšná kvůli neúspěšným bezpečnostním validacím. Prosím, obnovte stránku a zkuste to znovu nebo kontaktujte podporu.',
+    captcha_invalid: 'Registrace se nezdařila kvůli neúspěšnému bezpečnostnímu ověření. Obnovte stránku a zkuste to znovu, nebo kontaktujte podporu.',
-    form_identifier_exists__email_address: 'Tato emailová adresa již byla použita.',
+    form_identifier_exists__email_address: 'Tato e-mailová adresa již byla použita.',
-    form_identifier_not_found: 'Nebyl nalezen účet s těmihle detaily.',
+    form_identifier_not_found: 'Nebyl nalezen účet s těmito údaji.',
-    form_param_format_invalid__phone_number: 'Telefonní číslo musí být ve validním mezinárodním formátu.',
+    form_param_format_invalid__phone_number: 'Telefonní číslo musí být v platném mezinárodním formátu.',
-    form_password_size_in_bytes_exceeded: 'Vaše heslo překročilo maximální povolený počet bajtů, prosím zkrátit ho nebo odstranit některé speciální znaky.',
+    form_password_size_in_bytes_exceeded: 'Vaše heslo překročilo maximální povolený počet bajtů; prosím zkraťte jej nebo odstraňte některé speciální znaky.',
-    form_password_validation_failed: 'Nesprávné heslo',
+    form_password_validation_failed: 'Ověření hesla selhalo.',
-    session_exists: 'Jste již přihlášen.',
+    session_exists: 'Jste již přihlášeni.',

Also applies to: 847-847, 850-850, 853-853, 869-869, 870-870, 896-896


859-860: Confirm intent: leave new type-specific keys undefined?

If fallback to generic messages is desired, leaving these undefined is fine. Otherwise, consider adding translations to avoid mixed-language UI.

I can propose Czech strings for these two keys if you want them included in this PR.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between ad2b332 and 9a90817.

📒 Files selected for processing (1)
  • packages/localizations/src/cs-CZ.ts (4 hunks)
🧰 Additional context used
📓 Path-based instructions (7)
**/*.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

**/*.{js,jsx,ts,tsx}: All code must pass ESLint checks with the project's configuration
Follow established naming conventions (PascalCase for components, camelCase for variables)
Maintain comprehensive JSDoc comments for public APIs
Use dynamic imports for optional features
All public APIs must be documented with JSDoc
Provide meaningful error messages to developers
Include error recovery suggestions where applicable
Log errors appropriately for debugging
Lazy load components and features when possible
Implement proper caching strategies
Use efficient data structures and algorithms
Profile and optimize critical paths
Validate all inputs and sanitize outputs
Implement proper logging with different levels

Files:

  • packages/localizations/src/cs-CZ.ts
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • packages/localizations/src/cs-CZ.ts
packages/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

TypeScript is required for all packages

Files:

  • packages/localizations/src/cs-CZ.ts
packages/**/*.{ts,tsx,d.ts}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Packages should export TypeScript types alongside runtime code

Files:

  • packages/localizations/src/cs-CZ.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use proper TypeScript error types

**/*.{ts,tsx}: Always define explicit return types for functions, especially public APIs
Use proper type annotations for variables and parameters where inference isn't clear
Avoid any type - prefer unknown when type is uncertain, then narrow with type guards
Use interface for object shapes that might be extended
Use type for unions, primitives, and computed types
Prefer readonly properties for immutable data structures
Use private for internal implementation details
Use protected for inheritance hierarchies
Use public explicitly for clarity in public APIs
Prefer readonly for properties that shouldn't change after construction
Prefer composition and interfaces over deep inheritance chains
Use mixins for shared behavior across unrelated classes
Implement dependency injection for loose coupling
Let TypeScript infer when types are obvious
Use const assertions for literal types: as const
Use satisfies operator for type checking without widening
Use mapped types for transforming object types
Use conditional types for type-level logic
Leverage template literal types for string manipulation
Use ES6 imports/exports consistently
Use default exports sparingly, prefer named exports
Use type-only imports: import type { ... } from ...
No any types without justification
Proper error handling with typed errors
Consistent use of readonly for immutable data
Proper generic constraints
No unused type parameters
Proper use of utility types instead of manual type construction
Type-only imports where possible
Proper tree-shaking friendly exports
No circular dependencies
Efficient type computations (avoid deep recursion)

Files:

  • packages/localizations/src/cs-CZ.ts
packages/localizations/**/*

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Localization files must be placed in 'packages/localizations/'.

Files:

  • packages/localizations/src/cs-CZ.ts
**/*.{js,ts,tsx,jsx}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Support multiple Clerk environment variables (CLERK_, NEXT_PUBLIC_CLERK_, etc.) for configuration.

Files:

  • packages/localizations/src/cs-CZ.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: semgrep-cloud-platform/scan
🔇 Additional comments (2)
packages/localizations/src/cs-CZ.ts (2)

225-225: LGTM: username placeholder added

Consistent with existing label and phrasing.


715-716: LGTM: subtitleCombined defined

Matches the primary subtitle for combined UI.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (9)
packages/localizations/src/cs-CZ.ts (9)

843-843: Polish the CAPTCHA error phrasing (more natural CZ)

Current phrasing repeats “neúspěšná/ neúspěšným … validacím” and sounds stiff.

-    captcha_invalid: 'Registrace neúspěšná kvůli neúspěšným bezpečnostním validacím. Prosím, obnovte stránku a zkuste to znovu nebo kontaktujte podporu.',
+    captcha_invalid: 'Registrace se nezdařila kvůli neúspěšným bezpečnostním kontrolám. Obnovte prosím stránku a zkuste to znovu, nebo kontaktujte podporu.',

847-847: Standardize “e‑mail(ová)” spelling and phone format wording

Keep hyphenated “e‑mail” consistently; tweak phone message to sound native.

-    form_identifier_exists__email_address: 'Tato emailová adresa již byla použita.',
+    form_identifier_exists__email_address: 'Tato e-mailová adresa již byla použita.',
-    form_param_format_invalid__email_address: 'Emailová adresa musí být platná.',
+    form_param_format_invalid__email_address: 'E-mailová adresa musí být platná.',
-    form_param_format_invalid__phone_number: 'Telefonní číslo musí být ve validním mezinárodním formátu.',
+    form_param_format_invalid__phone_number: 'Telefonní číslo musí být v platném mezinárodním formátu.',

Also applies to: 852-853


850-850: Use less colloquial wording for “not found”

“těmihle detaily” is informal; “těmito údaji” reads better.

-    form_identifier_not_found: 'Nebyl nalezen účet s těmihle detaily.',
+    form_identifier_not_found: 'Nebyl nalezen účet s těmito údaji.',

854-856: Differentiate “first name” vs “name”

Translate “first name” explicitly to avoid ambiguity with “name”.

-    form_param_max_length_exceeded__first_name: 'Jméno nesmí přesáhnout 256 znaků.',
+    form_param_max_length_exceeded__first_name: 'Křestní jméno nesmí přesáhnout 256 znaků.',

858-858: Indentation nit

One extra leading space before the key; let Prettier normalize or fix inline.

-     form_param_value_invalid: 'Tento parametr má neplatnou hodnotu.',
+    form_param_value_invalid: 'Tento parametr má neplatnou hodnotu.',

859-860: Fill in the type-specific messages or confirm fallback intent

These keys are defined but left undefined; suggest adding basic translations to avoid English fallback.

-     form_param_type_invalid__email_address: undefined,
-     form_param_type_invalid__phone_number: undefined,
+    form_param_type_invalid__email_address: 'Neplatný typ parametru: očekává se e-mailová adresa.',
+    form_param_type_invalid__phone_number: 'Neplatný typ parametru: očekává se telefonní číslo.',

If undefined is intentional to inherit a generic message, ignore this suggestion.


868-868: Clarify “validation failed” vs “incorrect password”

Avoid duplicating the “incorrect” meaning; make this about failing checks.

-    form_password_validation_failed: 'Nesprávné heslo',
+    form_password_validation_failed: 'Heslo nevyhovuje požadavkům.',

871-871: Strip trailing space

There’s a trailing space after the comma; Prettier should remove it.

-    identification_deletion_failed: 'Svůj poslední identifikační údaj nelze smazat.', 
+    identification_deletion_failed: 'Svůj poslední identifikační údaj nelze smazat.',

896-896: Gender‑neutral phrasing for “already signed in”

Use “přihlášeni” to address all genders.

-    session_exists: 'Jste již přihlášen.',
+    session_exists: 'Jste již přihlášeni.',
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 9a90817 and 1da2ebf.

📒 Files selected for processing (1)
  • packages/localizations/src/cs-CZ.ts (4 hunks)
🧰 Additional context used
📓 Path-based instructions (7)
**/*.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

**/*.{js,jsx,ts,tsx}: All code must pass ESLint checks with the project's configuration
Follow established naming conventions (PascalCase for components, camelCase for variables)
Maintain comprehensive JSDoc comments for public APIs
Use dynamic imports for optional features
All public APIs must be documented with JSDoc
Provide meaningful error messages to developers
Include error recovery suggestions where applicable
Log errors appropriately for debugging
Lazy load components and features when possible
Implement proper caching strategies
Use efficient data structures and algorithms
Profile and optimize critical paths
Validate all inputs and sanitize outputs
Implement proper logging with different levels

Files:

  • packages/localizations/src/cs-CZ.ts
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • packages/localizations/src/cs-CZ.ts
packages/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

TypeScript is required for all packages

Files:

  • packages/localizations/src/cs-CZ.ts
packages/**/*.{ts,tsx,d.ts}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Packages should export TypeScript types alongside runtime code

Files:

  • packages/localizations/src/cs-CZ.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use proper TypeScript error types

**/*.{ts,tsx}: Always define explicit return types for functions, especially public APIs
Use proper type annotations for variables and parameters where inference isn't clear
Avoid any type - prefer unknown when type is uncertain, then narrow with type guards
Use interface for object shapes that might be extended
Use type for unions, primitives, and computed types
Prefer readonly properties for immutable data structures
Use private for internal implementation details
Use protected for inheritance hierarchies
Use public explicitly for clarity in public APIs
Prefer readonly for properties that shouldn't change after construction
Prefer composition and interfaces over deep inheritance chains
Use mixins for shared behavior across unrelated classes
Implement dependency injection for loose coupling
Let TypeScript infer when types are obvious
Use const assertions for literal types: as const
Use satisfies operator for type checking without widening
Use mapped types for transforming object types
Use conditional types for type-level logic
Leverage template literal types for string manipulation
Use ES6 imports/exports consistently
Use default exports sparingly, prefer named exports
Use type-only imports: import type { ... } from ...
No any types without justification
Proper error handling with typed errors
Consistent use of readonly for immutable data
Proper generic constraints
No unused type parameters
Proper use of utility types instead of manual type construction
Type-only imports where possible
Proper tree-shaking friendly exports
No circular dependencies
Efficient type computations (avoid deep recursion)

Files:

  • packages/localizations/src/cs-CZ.ts
packages/localizations/**/*

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Localization files must be placed in 'packages/localizations/'.

Files:

  • packages/localizations/src/cs-CZ.ts
**/*.{js,ts,tsx,jsx}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Support multiple Clerk environment variables (CLERK_, NEXT_PUBLIC_CLERK_, etc.) for configuration.

Files:

  • packages/localizations/src/cs-CZ.ts
🔇 Additional comments (2)
packages/localizations/src/cs-CZ.ts (2)

225-225: LGTM: placeholder added

Username placeholder reads naturally and matches existing tone.


715-716: LGTM: combined subtitle added

Mirrors the standard subtitle; no placeholders missing.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (8)
packages/localizations/src/cs-CZ.ts (8)

843-846: Improve CAPTCHA error phrasing

More natural Czech and punctuation.

-    captcha_invalid: 'Registrace neúspěšná kvůli neúspěšným bezpečnostním validacím. Prosím, obnovte stránku a zkuste to znovu nebo kontaktujte podporu.',
+    captcha_invalid: 'Registrace nebyla úspěšná kvůli neúspěšnému bezpečnostnímu ověření. Prosím, obnovte stránku a zkuste to znovu, nebo kontaktujte podporu.',

848-853: Unify “e‑mail” spelling and adjust phone format wording

Use “e‑mail” consistently and prefer “správném” over “validním”.

-    form_identifier_exists__email_address: 'Tato emailová adresa již byla použita.',
+    form_identifier_exists__email_address: 'Tato e-mailová adresa již byla použita.',
-    form_param_format_invalid__email_address: 'Emailová adresa musí být platná.',
+    form_param_format_invalid__email_address: 'E-mailová adresa musí být platná.',
-    form_param_format_invalid__phone_number: 'Telefonní číslo musí být ve validním mezinárodním formátu.',
+    form_param_format_invalid__phone_number: 'Telefonní číslo musí být ve správném mezinárodním formátu.',

851-851: Natural phrasing for “identifier not found”

Current phrase sounds awkward; this reads better.

-    form_identifier_not_found: 'Nebyl nalezen účet s těmihle detaily.',
+    form_identifier_not_found: 'Účet se zadanými údaji nebyl nalezen.',

854-856: Use “Křestní jméno” for first name; keep “Jméno” for full name

Aligns with labels used elsewhere in this file.

-    form_param_max_length_exceeded__first_name: 'Jméno nesmí přesáhnout 256 znaků.',
+    form_param_max_length_exceeded__first_name: 'Křestní jméno nesmí přesáhnout 256 znaků.',

858-860: Fill missing type-specific error strings (avoid English fallback)

Providing localized text improves UX; also fixes minor indentation inconsistency.

-     form_param_value_invalid: 'Tento parametr má neplatnou hodnotu.',
-     form_param_type_invalid__email_address: undefined,
-     form_param_type_invalid__phone_number: undefined,
+    form_param_value_invalid: 'Tento parametr má neplatnou hodnotu.',
+    form_param_type_invalid__email_address: 'Hodnota musí být platná e-mailová adresa.',
+    form_param_type_invalid__phone_number: 'Hodnota musí být platné telefonní číslo.',

867-869: Tighten password error copy

More idiomatic Czech and clearer semantics for validation failure.

-    form_password_size_in_bytes_exceeded: 'Vaše heslo překročilo maximální povolený počet bajtů, prosím zkrátit ho nebo odstranit některé speciální znaky.',
-    form_password_validation_failed: 'Nesprávné heslo',
+    form_password_size_in_bytes_exceeded: 'Vaše heslo překročilo maximální povolenou velikost v bajtech. Prosím, zkraťte ho nebo odstraňte některé speciální znaky.',
+    form_password_validation_failed: 'Heslo nesplňuje požadavky.',

871-871: Remove stray space before comma and polish wording

There’s a space before the comma that Prettier would remove; wording also reads more naturally with “identifikátor”.

-    identification_deletion_failed: 'Svůj poslední identifikační údaj nelze smazat.', 
+    identification_deletion_failed: 'Svůj poslední identifikátor nelze smazat.',

894-895: Minor Czech fixes: “již” and plural agreement

Reflect “already” and agree with “Jste”.

-    phone_number_exists: 'Toto telefonní číslo se používá. Zkuste prosím jiný.',
+    phone_number_exists: 'Toto telefonní číslo se již používá. Zkuste prosím jiné.',
-    session_exists: 'Jste již přihlášen.',
+    session_exists: 'Jste již přihlášeni.',
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 9a90817 and 1da2ebf.

📒 Files selected for processing (1)
  • packages/localizations/src/cs-CZ.ts (4 hunks)
🧰 Additional context used
📓 Path-based instructions (7)
**/*.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

**/*.{js,jsx,ts,tsx}: All code must pass ESLint checks with the project's configuration
Follow established naming conventions (PascalCase for components, camelCase for variables)
Maintain comprehensive JSDoc comments for public APIs
Use dynamic imports for optional features
All public APIs must be documented with JSDoc
Provide meaningful error messages to developers
Include error recovery suggestions where applicable
Log errors appropriately for debugging
Lazy load components and features when possible
Implement proper caching strategies
Use efficient data structures and algorithms
Profile and optimize critical paths
Validate all inputs and sanitize outputs
Implement proper logging with different levels

Files:

  • packages/localizations/src/cs-CZ.ts
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • packages/localizations/src/cs-CZ.ts
packages/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

TypeScript is required for all packages

Files:

  • packages/localizations/src/cs-CZ.ts
packages/**/*.{ts,tsx,d.ts}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Packages should export TypeScript types alongside runtime code

Files:

  • packages/localizations/src/cs-CZ.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use proper TypeScript error types

**/*.{ts,tsx}: Always define explicit return types for functions, especially public APIs
Use proper type annotations for variables and parameters where inference isn't clear
Avoid any type - prefer unknown when type is uncertain, then narrow with type guards
Use interface for object shapes that might be extended
Use type for unions, primitives, and computed types
Prefer readonly properties for immutable data structures
Use private for internal implementation details
Use protected for inheritance hierarchies
Use public explicitly for clarity in public APIs
Prefer readonly for properties that shouldn't change after construction
Prefer composition and interfaces over deep inheritance chains
Use mixins for shared behavior across unrelated classes
Implement dependency injection for loose coupling
Let TypeScript infer when types are obvious
Use const assertions for literal types: as const
Use satisfies operator for type checking without widening
Use mapped types for transforming object types
Use conditional types for type-level logic
Leverage template literal types for string manipulation
Use ES6 imports/exports consistently
Use default exports sparingly, prefer named exports
Use type-only imports: import type { ... } from ...
No any types without justification
Proper error handling with typed errors
Consistent use of readonly for immutable data
Proper generic constraints
No unused type parameters
Proper use of utility types instead of manual type construction
Type-only imports where possible
Proper tree-shaking friendly exports
No circular dependencies
Efficient type computations (avoid deep recursion)

Files:

  • packages/localizations/src/cs-CZ.ts
packages/localizations/**/*

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Localization files must be placed in 'packages/localizations/'.

Files:

  • packages/localizations/src/cs-CZ.ts
**/*.{js,ts,tsx,jsx}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Support multiple Clerk environment variables (CLERK_, NEXT_PUBLIC_CLERK_, etc.) for configuration.

Files:

  • packages/localizations/src/cs-CZ.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: semgrep-cloud-platform/scan
🔇 Additional comments (4)
packages/localizations/src/cs-CZ.ts (4)

225-225: Add username placeholder — LGTM

Good addition and matches existing tone and terminology.


715-716: Add signIn.start.subtitleCombined — LGTM

Keeps copy consistent with subtitle. No issues.


843-870: Rest of translations — LGTM

The remaining updated strings in these ranges look consistent and correctly mapped to keys.

Also applies to: 894-895


842-896: Quick sanity check for duplicate keys and undefineds (optional)

Run this to ensure no duplicate keys and to list any remaining undefined values you may want to localize later.

#!/bin/bash
# List potential duplicate keys in the object (heuristic)
rg -nP '^\s{4,}[\w$][\w$]*\s*:' packages/localizations/src/cs-CZ.ts \
  | sed -E 's/^\s+//' | awk -F':' '{print $3}' | sed -E 's/\s*:\s*$//' \
  | sort | uniq -d

# Show any entries explicitly set to undefined in this file
rg -nP ':\s*undefined\s*,?\s*$' packages/localizations/src/cs-CZ.ts -n

Copy link

pkg-pr-new bot commented Sep 5, 2025

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@6713

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@6713

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@6713

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@6713

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@6713

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@6713

@clerk/elements

npm i https://pkg.pr.new/@clerk/elements@6713

@clerk/clerk-expo

npm i https://pkg.pr.new/@clerk/clerk-expo@6713

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@6713

@clerk/express

npm i https://pkg.pr.new/@clerk/express@6713

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@6713

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@6713

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@6713

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@6713

@clerk/clerk-react

npm i https://pkg.pr.new/@clerk/clerk-react@6713

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@6713

@clerk/remix

npm i https://pkg.pr.new/@clerk/remix@6713

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@6713

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@6713

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@6713

@clerk/themes

npm i https://pkg.pr.new/@clerk/themes@6713

@clerk/types

npm i https://pkg.pr.new/@clerk/types@6713

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@6713

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@6713

commit: 4c48ecd

@tmilewski tmilewski merged commit 465369b into clerk:main Sep 5, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants