From 8c836de71b47744ec3e99cb8b3c853528fa66b52 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Mon, 13 Dec 2021 12:35:10 +0100
Subject: chore: load i18n translations using lingui provider

---
 src/components/Branding/Branding.tsx | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

(limited to 'src/components/Branding/Branding.tsx')

diff --git a/src/components/Branding/Branding.tsx b/src/components/Branding/Branding.tsx
index e5565a4..a8adf9b 100644
--- a/src/components/Branding/Branding.tsx
+++ b/src/components/Branding/Branding.tsx
@@ -12,7 +12,14 @@ const Branding: BrandingReturn = ({ isHome = false }) => {
   return (
     <div className={styles.wrapper}>
       <div className={styles.logo}>
-        <Image src={photo} alt={t`${config.name} picture`} layout="intrinsic" />
+        <Image
+          src={photo}
+          alt={t({
+            message: `${config.name} picture`,
+            comment: 'Branding logo.',
+          })}
+          layout="intrinsic"
+        />
       </div>
       {isHome ? (
         <h1 className={styles.name}>
-- 
cgit v1.2.3

