diff --git a/002_source/cms/src/components/dashboard/layout/notifications-popover.tsx b/002_source/cms/src/components/dashboard/layout/notifications-popover.tsx index 94034af..b5c6153 100644 --- a/002_source/cms/src/components/dashboard/layout/notifications-popover.tsx +++ b/002_source/cms/src/components/dashboard/layout/notifications-popover.tsx @@ -15,6 +15,7 @@ import { ChatText as ChatTextIcon } from '@phosphor-icons/react/dist/ssr/ChatTex import { EnvelopeSimple as EnvelopeSimpleIcon } from '@phosphor-icons/react/dist/ssr/EnvelopeSimple'; import { User as UserIcon } from '@phosphor-icons/react/dist/ssr/User'; import { X as XIcon } from '@phosphor-icons/react/dist/ssr/X'; +import { useTranslation } from 'react-i18next'; import { dayjs } from '@/lib/dayjs'; @@ -73,6 +74,7 @@ export function NotificationsPopover({ onRemoveOne, open = false, }: NotificationsPopoverProps): React.JSX.Element { + const { t } = useTranslation(); return ( - Notifications - + {t('Notifications')} + @@ -92,7 +94,7 @@ export function NotificationsPopover({ {notifications.length === 0 ? ( - There are no notifications + {t('There are no notifications')} ) : (