Make Home link description translateable

This commit is contained in:
David Baker 2022-11-07 12:33:06 +00:00
parent 5c8562088d
commit e5feba8c26
2 changed files with 5 additions and 1 deletions

View file

@ -29,6 +29,7 @@
"Confirm password": "Confirm password", "Confirm password": "Confirm password",
"Connection lost": "Connection lost", "Connection lost": "Connection lost",
"Copied!": "Copied!", "Copied!": "Copied!",
"Copy": "Copy",
"Copy and share this call link": "Copy and share this call link", "Copy and share this call link": "Copy and share this call link",
"Create account": "Create account", "Create account": "Create account",
"Debug log": "Debug log", "Debug log": "Debug log",
@ -38,6 +39,7 @@
"Developer": "Developer", "Developer": "Developer",
"Display name": "Display name", "Display name": "Display name",
"Download debug logs": "Download debug logs", "Download debug logs": "Download debug logs",
"Element Call Home": "Element Call Home",
"Entering room…": "Entering room…", "Entering room…": "Entering room…",
"Exit full screen": "Exit full screen", "Exit full screen": "Exit full screen",
"Fetching group call timed out.": "Fetching group call timed out.", "Fetching group call timed out.": "Fetching group call timed out.",

View file

@ -88,11 +88,13 @@ interface HeaderLogoProps {
} }
export function HeaderLogo({ className }: HeaderLogoProps) { export function HeaderLogo({ className }: HeaderLogoProps) {
const { t } = useTranslation();
return ( return (
<Link <Link
className={classNames(styles.headerLogo, className)} className={classNames(styles.headerLogo, className)}
to="/" to="/"
aria-label="Element Call Home" aria-label={t("Element Call Home")}
> >
<Logo /> <Logo />
</Link> </Link>