diff --git a/packages/editor/src/components/collaborators-presence/index.tsx b/packages/editor/src/components/collaborators-presence/index.tsx index 69d68812056ea3..37d9ae65a56531 100644 --- a/packages/editor/src/components/collaborators-presence/index.tsx +++ b/packages/editor/src/components/collaborators-presence/index.tsx @@ -4,6 +4,7 @@ import { privateApis, type PostEditorAwarenessState, } from '@wordpress/core-data'; +import { __, sprintf } from '@wordpress/i18n'; import { Avatar } from './avatar'; import { CollaboratorsList } from './list'; @@ -64,7 +65,11 @@ export function CollaboratorsPresence( { onClick={ () => setIsPopoverVisible( ! isPopoverVisible ) } isPressed={ isPopoverVisible } ref={ setPopoverAnchor } - aria-label={ `Collaborators list, ${ otherActiveUsers.length } online` } + aria-label={ sprintf( + // translators: %d: number of online collaborators. + __( 'Collaborators list, %d online' ), + otherActiveUsers.length + ) } > { visibleUsers.map( ( userState ) => (