Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
⏪️ Show plan in user nav item
Luke Vellae94eed373d68
diff --git a/apps/web/public/locales/en/app.json b/apps/web/public/locales/en/app.jsonindex ca4c6bf58..d33df96c2 100644--- a/apps/web/public/locales/en/app.json+++ b/apps/web/public/locales/en/app.json@@ -126,6 +126,7 @@"createdTime": "Created {relativeTime}","permissionDeniedParticipant": "If you are not the poll creator, you should go to the Invite Page.","goToInvite": "Go to Invite Page",+ "planFree": "Free","planPro": "Pro","Billing": "Billing","becomeATranslator": "Help translate",diff --git a/apps/web/src/app/[locale]/(space)/components/sidebar/space-sidebar.tsx b/apps/web/src/app/[locale]/(space)/components/sidebar/space-sidebar.tsxindex 1680eb175..536dd657a 100644--- a/apps/web/src/app/[locale]/(space)/components/sidebar/space-sidebar.tsx+++ b/apps/web/src/app/[locale]/(space)/components/sidebar/space-sidebar.tsx@@ -121,7 +121,11 @@ export async function SpaceSidebar({name={user.name}image={user.image}plan={- <span className="capitalize">{activeSpace.role.toLowerCase()}</span>+ user.isPro ? (+ <Trans i18nKey="planPro" defaults="Pro" />+ ) : (+ <Trans i18nKey="planFree" defaults="Free" />+ )}/></SidebarFooter>