diff --git a/packages/ui/src/elements/SelectMany/index.tsx b/packages/ui/src/elements/SelectMany/index.tsx index 4ac67b0614e..0124705a130 100644 --- a/packages/ui/src/elements/SelectMany/index.tsx +++ b/packages/ui/src/elements/SelectMany/index.tsx @@ -1,7 +1,7 @@ import React from 'react' import { useSelection } from '../../providers/Selection/index.js' -// import { useTranslation } from '../../providers/Translation/index.js' +import { useTranslation } from '../../providers/Translation/index.js' import { Pill } from '../Pill/index.js' export const SelectMany: React.FC<{ @@ -10,7 +10,7 @@ export const SelectMany: React.FC<{ const { onClick } = props const { count, selected } = useSelection() - // const { t } = useTranslation() + const { t } = useTranslation() if (!selected || !count) { return null @@ -18,7 +18,6 @@ export const SelectMany: React.FC<{ return ( { if (typeof onClick === 'function') { onClick(selected) @@ -27,7 +26,7 @@ export const SelectMany: React.FC<{ pillStyle="white" size="small" > - {`Select ${count}`} + {t('general:select')} {count} ) }