Skip to content

[pull] main from patternfly:main#26

Merged
pull[bot] merged 1 commit into
rhamilto:mainfrom
patternfly:main
Apr 1, 2026
Merged

[pull] main from patternfly:main#26
pull[bot] merged 1 commit into
rhamilto:mainfrom
patternfly:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Mar 31, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Adds optional props for customizing all user-facing strings in BulkSelect
to support internationalization and custom terminology. All changes are
backward compatible with sensible English defaults.

New props:
- selectNoneLabel: Custom label for "Select none" option
- selectPageLabel: Function receiving pageCount to format "Select page" label
- selectAllLabel: Function receiving totalCount to format "Select all" label
- selectedLabel: Function receiving selectedCount to format the displayed count

Implementation details:
- Default label functions are hoisted to module level for stable references
- Label functions are called inside useMemo to prevent unnecessary re-renders
- Optimized for performance with expensive operations like pseudolocalization
- Parameter names avoid i18n reserved keywords (e.g., 'count' for pluralization)

Fixes #895

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Mar 31, 2026
@pull pull Bot added the ⤵️ pull label Mar 31, 2026
@pull pull Bot merged commit fcdf86f into rhamilto:main Apr 1, 2026
5 of 6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant