From e5feba8c26040109ffe281f533706337c1150aa3 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 7 Nov 2022 12:33:06 +0000 Subject: [PATCH] Make Home link description translateable --- public/locales/en-GB/app.json | 2 ++ src/Header.tsx | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/public/locales/en-GB/app.json b/public/locales/en-GB/app.json index 6297b43..61c3ad5 100644 --- a/public/locales/en-GB/app.json +++ b/public/locales/en-GB/app.json @@ -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.", diff --git a/src/Header.tsx b/src/Header.tsx index 842b695..9be8c80 100644 --- a/src/Header.tsx +++ b/src/Header.tsx @@ -88,11 +88,13 @@ interface HeaderLogoProps { } export function HeaderLogo({ className }: HeaderLogoProps) { + const { t } = useTranslation(); + return (