+ {i18N[locale].title}{' '} + + {notification.metadata.proposalTitle} + +
++ {i18N[locale].description(notification.metadata.link)} +
+ +) + +export default GovernanceNewCommentOnProjectUpdateNotification diff --git a/src/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.tsx b/src/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.tsx index f848a540..d1dc75f5 100644 --- a/src/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.tsx +++ b/src/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.tsx @@ -30,7 +30,7 @@ const i18N = { . > ), - title: 'Nuevo comentation en tu propuesta' + title: 'Nuevo comentario en tu propuesta' }, zh: { description: (link: string): React.ReactNode => ( diff --git a/src/components/Notifications/NotificationTypes/index.ts b/src/components/Notifications/NotificationTypes/index.ts index f2831cd2..e5becdf6 100644 --- a/src/components/Notifications/NotificationTypes/index.ts +++ b/src/components/Notifications/NotificationTypes/index.ts @@ -9,6 +9,7 @@ import GovernanceAnnouncementNotification from './Governance/GovernanceAnnouncem import GovernanceAuthoredProposalFinishedNotification from './Governance/GovernanceAuthoredProposalFinishedNotification' import GovernanceCoauthorRequestedNotification from './Governance/GovernanceCoauthorRequestedNotification' import GovernanceNewCommentOnProposalNotification from './Governance/GovernanceNewCommentOnProposalNotification' +import GovernanceNewCommentOnProjectUpdateNotification from './Governance/GovernanceNewCommentOnProjectUpdateNotification' import GovernanceProposalEnactedNotification from './Governance/GovernanceProposalEnactedNotification' import GovernanceVotingEndedVoterNotification from './Governance/GovernanceVotingEndedVoterNotification' import LandRentedNotification from './Land/LandRentedNotification' @@ -29,6 +30,7 @@ export { GovernanceAuthoredProposalFinishedNotification, GovernanceCoauthorRequestedNotification, GovernanceNewCommentOnProposalNotification, + GovernanceNewCommentOnProjectUpdateNotification, GovernanceProposalEnactedNotification, GovernanceVotingEndedVoterNotification, LandRentalEndedNotification, diff --git a/src/components/Notifications/Notifications.stories.tsx b/src/components/Notifications/Notifications.stories.tsx index cf88f07c..20b48c1b 100644 --- a/src/components/Notifications/Notifications.stories.tsx +++ b/src/components/Notifications/Notifications.stories.tsx @@ -10,6 +10,7 @@ import GovernanceAnnouncementNotification from './NotificationTypes/Governance/G import GovernanceAuthoredProposalFinishedNotification from './NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification' import GovernanceCoauthorRequestedNotification from './NotificationTypes/Governance/GovernanceCoauthorRequestedNotification' import GovernanceNewCommentOnProposalNotification from './NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification' +import GovernanceNewCommentOnProjectUpdateNotification from './NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification' import GovernanceVotingEndedVoterNotification from './NotificationTypes/Governance/GovernanceVotingEndedVoterNotification' import GovernanceProposalEnactedNotification from './NotificationTypes/Governance/GovernanceProposalEnactedNotification' import { @@ -441,6 +442,25 @@ storiesOf('Notifications Toggle', module) updated_at: '2023-11-29T12:51:00.600Z' }} /> +