import React from 'react' import { CommonNotificationProps, GovernanceTenderPassedNotification as GovernanceTenderPassedNotificationType } from '../../types' import NotificationItem from '../../NotificationItem' import TenderIcon from '../../../Icons/Notifications/TenderIcon' const i18N = { en: { description: (link: string): React.ReactNode => ( <> If think you can tackle this solution, propose a Project and get funding from the DAO{' '} here . ), title: (proposalTitle: string): React.ReactNode => ( <> The Tender " {proposalTitle} " can now receive Bid Projects ) }, es: { description: (link: string): React.ReactNode => ( <> Si crees que puedes abordar esta solución, propón un proyecto y obtén financiación del DAO{' '} aquí . ), title: (proposalTitle: string): React.ReactNode => ( <> La Licitación " {proposalTitle} " ahora puede recibir Proyectos de Oferta ) }, zh: { description: (link: string): React.ReactNode => ( <> 如果你认为可以解决这个问题,提出一个项目并从DAO获得资金支持{' '} 这里 . ), title: (proposalTitle: string): React.ReactNode => ( <> 投标 " {proposalTitle} " 现在可以接收项目投标 ) } } /** * @deprecated Should start using the same component migrated to UI2. */ const GovernanceTenderPassedNotification = ({ 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 GovernanceTenderPassedNotification