💬 Add missing i18n keys (#762)

This commit is contained in:
Luke Vella 2023-07-16 15:12:56 +01:00 committed by GitHub
parent 1898f44c9f
commit 06f8b98aae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View file

@ -201,5 +201,7 @@
"plan_finalizePolls": "Finalize polls",
"plan_extendedPollLife": "Keep polls indefinitely",
"plan_prioritySupport": "Priority support",
"becomeATranslator": "Help translate"
"becomeATranslator": "Help translate",
"noPolls": "No polls",
"noPollsDescription": "Get started by creating a new poll."
}

View file

@ -35,10 +35,13 @@ const EmptyState = () => {
<InboxIcon className="inline-block h-10 w-10 text-gray-500" />
</div>
<h3>
<Trans defaults="No polls" />
<Trans i18nKey="noPolls" defaults="No polls" />
</h3>
<p>
<Trans defaults="Get started by creating a new poll." />
<Trans
i18nKey="noPollsDescription"
defaults="Get started by creating a new poll."
/>
</p>
<div className="mt-6">
<Button variant="primary" asChild={true}>