Fixed translation.

This commit is contained in:
Tatiana Lopaeva 2024-06-03 19:04:03 +03:00
parent 1f0323bf9c
commit f794931693

View File

@ -71,30 +71,20 @@ const DeletePortalDialog = () => {
<ModalDialog.Body className="">
<Trans
i18nKey="DeletePortalText"
t={t}
domain={domain}
displayName={displayName}
email={email}
portalName={PORTAL}
>
Please note: only the owner is able to delete the selected
{{ portalName: PORTAL }}. The owner of <strong>{{ domain }}</strong>
is
<strong>{{ displayName }}</strong>
<Link
className="email-link"
type="page"
href={`mailto:${email}`}
noHover
color={currentColorScheme?.main?.accent}
title={email}
>
{{ email }}
</Link>
. If you are not the owner, you will not be able to access the
{{ portalName: PORTAL }} deletion settings by clicking the DELETE
button and will be redirected to the Rooms section.
</Trans>
values={{ portalName: PORTAL, displayName, email, domain }}
components={{
1: <strong />,
5: (
<Link
className="email-link"
href={`mailto:${email}`}
noHover
color={currentColorScheme?.main?.accent}
title={email}
/>
),
}}
/>
</ModalDialog.Body>
<ModalDialog.Footer>
<Button