import React from 'react' import { CommonNotificationProps, GovernancePitchPassedNotification as GovernancePitchPassedNotificationType } from '../../types' import NotificationItem from '../../NotificationItem' import PitchIcon from '../../../Icons/Notifications/PitchIcon' const i18N = { en: { description: (link: string): React.ReactNode => ( <> Help to advance this idea by proposing potential solutions{' '} here . ), title: (proposalTitle: string): React.ReactNode => ( <> The Pitch " {proposalTitle} " can now receive Tenders ) }, es: { description: (link: string): React.ReactNode => ( <> Ayuda a avanzar esta idea proponiendo soluciones potenciales{' '} aquí . ), title: (proposalTitle: string): React.ReactNode => ( <> La Convocatoria " {proposalTitle} " ahora puede recibir licitaciones ) }, zh: { description: (link: string): React.ReactNode => ( <> 通过提出可能的解决方案来帮助推进这个想法{' '} 这里 . ), title: (proposalTitle: string): React.ReactNode => ( <> 投标邀请 " {proposalTitle} " 现在可以接收投标 ) } } /** * @deprecated Should start using the same component migrated to UI2. */ const GovernancePitchPassedNotification = ({ notification, locale }: CommonNotificationProps) => ( }} timestamp={notification.timestamp} isNew={!notification.read} locale={locale} >

{i18N[locale].title(notification.metadata.proposalTitle)}

{i18N[locale].description(notification.metadata.link)}

) export default GovernancePitchPassedNotification