import React from 'react'
import {
CommonNotificationProps,
GovernanceVotedOnBehalfNotification as GovernanceVotedOnBehalfNotificationType
} from '../../types'
import NotificationItem from '../../NotificationItem'
import VotedOnBehalf from '../../../Icons/Notifications/VotedOnBehalf'
const i18N = {
en: {
description: (link: string): React.ReactNode => (
<>
See if their vote is aligned
with your vision. You can always override their decision by voting on
your own.
>
),
title: (proposalTitle: string): React.ReactNode => (
<>
Your delegate voted on the proposal "
{proposalTitle}
"
>
)
},
es: {
description: (link: string): React.ReactNode => (
<>
Verifica si su voto está alineado
con tu visión. Siempre puedes anular su decisión votando por tu cuenta.
>
),
title: (proposalTitle: string): React.ReactNode => (
<>
Tu delegado votó en la propuesta "
{proposalTitle}
"
>
)
},
zh: {
description: (link: string): React.ReactNode => (
<>
查看他们的投票是否符合您的愿景。
您始终可以通过自己投票来推翻他们的决定。
>
),
title: (proposalTitle: string): React.ReactNode => (
<>
您的委托人在提案"
{proposalTitle}
"上投了票
>
)
}
}
/**
* @deprecated Should start using the same component migrated to UI2.
*/
const GovernanceVotedOnBehalfNotification = ({
notification,
locale
}: CommonNotificationProps) => (
}}
timestamp={notification.timestamp}
isNew={!notification.read}
locale={locale}
>