1
0
Fork 0

Merge pull request #6120 from BenJamesBen/account-social-i18n

fix(shared): Add translation keys for social media
This commit is contained in:
Joost De Cock 2024-02-22 17:51:23 +01:00 committed by GitHub
commit 13f492a6f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View file

@ -292,8 +292,14 @@ newDev: Design / Develop
generateANewThing: "Generate a new { thing }"
website: Website
linkedIdentities: Linked Identities
github: GitHub
instagram: Instagram
mastodon: Mastodon
reddit: Reddit
twitch: Twitch
tiktok: TikTok
website: Website
websiteTitle: Do you have a website or other URL you'd like to add?
platformTitle: Who are you on { platform }?

View file

@ -215,7 +215,7 @@ export const AccountLinks = () => {
<AccountLink href={`/account/${item}`} title={t(item)} key={item}>
<div className="flex flex-row items-center gap-3 font-medium">
{itemIcons[item]}
{capitalize(t(item))}
{t(item)}
</div>
<div className="">{itemPreviews[item]}</div>
</AccountLink>