Translations (#225)

This commit is contained in:
Luke Vella 2022-07-17 17:11:56 +01:00 committed by GitHub
parent 9c61d34f24
commit bfb14b0e02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 342 additions and 275 deletions

View file

@ -26,7 +26,7 @@ const NotificationsToggle: React.VoidFunctionComponent = () => {
poll.notifications ? (
<div>
<div className="font-medium text-primary-300">
Notifications are on
{t("notificationsOn")}
</div>
<div className="max-w-sm">
<Trans
@ -44,10 +44,10 @@ const NotificationsToggle: React.VoidFunctionComponent = () => {
</div>
</div>
) : (
"Notifications are off"
t("notificationsOff")
)
) : (
"You need to verify your email to turn on notifications"
t("notificationsVerifyEmail")
)
}
>