diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json index 7cd1afce..9365aa7f 100644 --- a/src/lib/i18n/en.json +++ b/src/lib/i18n/en.json @@ -198,7 +198,8 @@ "users": "Users", "posts": "Posts", "comments": "Comments", - "communities": "Communities" + "communities": "Communities", + "instances": "Instances" }, "post": { "actions": { diff --git a/src/routes/profile/(local_user)/blocks/+page.svelte b/src/routes/profile/(local_user)/blocks/+page.svelte index 77a4489b..ff03b367 100644 --- a/src/routes/profile/(local_user)/blocks/+page.svelte +++ b/src/routes/profile/(local_user)/blocks/+page.svelte @@ -17,6 +17,7 @@ import Placeholder from '$lib/components/ui/Placeholder.svelte' import { Button } from 'mono-svelte' import Entity from '$lib/components/ui/Entity.svelte' + import { t } from '$lib/translations.js' // sveltekit doesn't feel like making types work right now export let data: PageData & { @@ -81,7 +82,7 @@ {#if data.community_blocks?.length > 0 || data.person_blocks?.length > 0 || (data.my_user?.instance_blocks?.length ?? 0) > 0} {#if data.my_user?.instance_blocks && (data.my_user?.instance_blocks?.length ?? 0) > 0}