Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
Missing i18n (#325)
Luke Vellaa81584f37dbb
diff --git a/public/locales/en/app.json b/public/locales/en/app.jsonindex a8eccd1ac..9f3c1f668 100644--- a/public/locales/en/app.json+++ b/public/locales/en/app.json@@ -127,5 +127,6 @@"you": "You","yourDetails": "Your details","yourName": "Your name…",+ "yourProfile": "Your profile","yourPolls": "Your polls"}diff --git a/src/components/standard-layout.tsx b/src/components/standard-layout.tsxindex 7a73a801d..e468914c7 100644--- a/src/components/standard-layout.tsx+++ b/src/components/standard-layout.tsx@@ -202,10 +202,18 @@ const UserDropdown: React.VoidFunctionComponent</>) : null}{!user.isGuest ? (- <DropdownItem href="/profile" icon={User} label="Your profile" />+ <DropdownItem+ href="/profile"+ icon={User}+ label={t("app:yourProfile")}+ />) : null}{user.isGuest ? (- <DropdownItem icon={Login} label="Login" onClick={openLoginModal} />+ <DropdownItem+ icon={Login}+ label={t("app:login")}+ onClick={openLoginModal}+ />) : null}<DropdownItemicon={Logout}