Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
💬 Add missing i18n keys (#762)
Luke Vella06f8b98aae91
diff --git a/apps/web/public/locales/en/app.json b/apps/web/public/locales/en/app.jsonindex 51bc12d08..1ee87be96 100644--- a/apps/web/public/locales/en/app.json+++ b/apps/web/public/locales/en/app.json@@ -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."}diff --git a/apps/web/src/pages/polls.tsx b/apps/web/src/pages/polls.tsxindex c46ae0d50..1dbb4b574 100644--- a/apps/web/src/pages/polls.tsx+++ b/apps/web/src/pages/polls.tsx@@ -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}>