mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-23 13:56:18 +02:00
Missing i18n (#325)
This commit is contained in:
parent
2c6f64bdc3
commit
a81584f37d
2 changed files with 11 additions and 2 deletions
|
@ -127,5 +127,6 @@
|
||||||
"you": "You",
|
"you": "You",
|
||||||
"yourDetails": "Your details",
|
"yourDetails": "Your details",
|
||||||
"yourName": "Your name…",
|
"yourName": "Your name…",
|
||||||
|
"yourProfile": "Your profile",
|
||||||
"yourPolls": "Your polls"
|
"yourPolls": "Your polls"
|
||||||
}
|
}
|
||||||
|
|
|
@ -202,10 +202,18 @@ const UserDropdown: React.VoidFunctionComponent<
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
{!user.isGuest ? (
|
{!user.isGuest ? (
|
||||||
<DropdownItem href="/profile" icon={User} label="Your profile" />
|
<DropdownItem
|
||||||
|
href="/profile"
|
||||||
|
icon={User}
|
||||||
|
label={t("app:yourProfile")}
|
||||||
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
{user.isGuest ? (
|
{user.isGuest ? (
|
||||||
<DropdownItem icon={Login} label="Login" onClick={openLoginModal} />
|
<DropdownItem
|
||||||
|
icon={Login}
|
||||||
|
label={t("app:login")}
|
||||||
|
onClick={openLoginModal}
|
||||||
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
<DropdownItem
|
<DropdownItem
|
||||||
icon={Logout}
|
icon={Logout}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue