diff --git a/src/lib/components/lemmy/community/CommunityCard.svelte b/src/lib/components/lemmy/community/CommunityCard.svelte index 16bfbef5..7c967d68 100644 --- a/src/lib/components/lemmy/community/CommunityCard.svelte +++ b/src/lib/components/lemmy/community/CommunityCard.svelte @@ -46,6 +46,7 @@ import ShieldIcon from '../moderation/ShieldIcon.svelte' import ItemList from '../generic/ItemList.svelte' import { communityLink, userLink } from '$lib/lemmy/generic' + import { t } from '$lib/translations' export let community_view: CommunityView export let moderators: CommunityModeratorView[] = [] @@ -224,23 +225,25 @@ > - About + + {$t('cards.site.about')} - Stats + + {$t('cards.site.stats')}
@@ -250,7 +253,8 @@ {#if moderators && moderators.length > 0} - Moderators + + {$t('cards.community.moderators')} ({ diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json index f7b0d996..80fdcee1 100644 --- a/src/lib/i18n/en.json +++ b/src/lib/i18n/en.json @@ -137,6 +137,10 @@ "about": "About", "stats": "Stats", "admins": "Admins" + }, + "community": { + "members": "Members", + "moderators": "Moderators" } }, "content": {