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

View file

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