From e9dd3146360e3f217c0fb9d847d9312ae91c5535 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=A9o?= <leopold.chappuis@savoirfairelinux.com>
Date: Thu, 13 Feb 2025 14:22:16 -0500
Subject: [PATCH] logoIcon: fix alt name

Change-Id: Ibf9d1a6826418979051d7253708291584a84aab9
---
 client/src/pages/AdminLogin.tsx   | 2 +-
 server/locale/en/translation.json | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/client/src/pages/AdminLogin.tsx b/client/src/pages/AdminLogin.tsx
index 13e71b3f..84e606ca 100644
--- a/client/src/pages/AdminLogin.tsx
+++ b/client/src/pages/AdminLogin.tsx
@@ -61,7 +61,7 @@ export default function AdminLogin() {
         <Box sx={isMobile ? { ...titleStyle, marginTop: '-20%' } : { ...titleStyle, marginTop: '-40%' }}>
           <img
             src={logoIcon}
-            alt="Jami logo"
+            alt={t('app_name')}
             style={{ width: '20%', height: 'auto', borderRadius: borderRadius, marginRight: '15px' }}
           />
           <Typography variant="h4" style={{ marginTop: 10, marginRight: '15px' }}>
diff --git a/server/locale/en/translation.json b/server/locale/en/translation.json
index 05cc3a56..732c244e 100644
--- a/server/locale/en/translation.json
+++ b/server/locale/en/translation.json
@@ -34,6 +34,7 @@
   "admin_page_setup_title": "Jami Web Admin Setup",
   "admin_page_welcome": "Jami Admin",
   "admin_password_changed_successfully": "Administrator password changed successfully.",
+  "app_name": "Jami",
   "are_composing_1": "{{member0}} is typing…",
   "are_composing_2": "{{member0}} and {{member1}} are typing…",
   "are_composing_3": "{{member0}}, {{member1}} and {{member2}} are typing…",
-- 
GitLab