-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
Component: AvatarGroupAvatarGroup component.AvatarGroup component.Status: FixedFixed in some PRFixed in some PRType: Bug 🐛
Description
Library
React Components / v9 (@fluentui/react-components)
System Info
any systemAre you reporting Accessibility issue?
no
Reproduction
v9 storybook
Bug Description
Actual Behavior
AvatarGroup strings have a simple replace method that transforms the default string and adds number to it.
This however does not allow a correct translation in languages that have different form of plurals depending on the amount
Expected Behavior
AvatarGroup should accept a callback to get the string, so that it can be used with standardized i18n libraries.
Logs
No response
Requested priority
Blocking
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: AvatarGroupAvatarGroup component.AvatarGroup component.Status: FixedFixed in some PRFixed in some PRType: Bug 🐛