diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-13 12:35:10 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-13 12:35:10 +0100 |
| commit | 8c836de71b47744ec3e99cb8b3c853528fa66b52 (patch) | |
| tree | b4d1d0cf88b02457cfc4be7afd7586cc83b4ccfb /src/components/Branding/Branding.tsx | |
| parent | 4cae14b9f86609b8c1f74d97a033e7091af49cb4 (diff) | |
chore: load i18n translations using lingui provider
Diffstat (limited to 'src/components/Branding/Branding.tsx')
| -rw-r--r-- | src/components/Branding/Branding.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
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}> |
