i18n: rename instance -> server
This commit is contained in:
7 files changed
+61
-60
No files matched your search
@@ -6,6 +6,7 @@
|
||||
import { t } from '$lib/app/i18n'
|
||||
import UserAutocomplete from '$lib/feature/user/UserAutocomplete.svelte'
|
||||
import Avatar from '$lib/ui/generic/Avatar.svelte'
|
||||
import Fixate from '$lib/ui/generic/Fixate.svelte'
|
||||
import Skeleton from '$lib/ui/generic/Skeleton.svelte'
|
||||
import Placeholder from '$lib/ui/info/Placeholder.svelte'
|
||||
import { CommonList, Header, Pageination } from '$lib/ui/layout'
|
||||
@@ -162,12 +163,12 @@
|
||||
</CommonList>
|
||||
|
||||
{#if res.private_messages.length == 50 || data.page != 1}
|
||||
<div class="mt-auto pb-4 mx-auto">
|
||||
<Fixate placement="bottom">
|
||||
<Pageination
|
||||
page={data.page}
|
||||
hasMore={res.private_messages.length == 50}
|
||||
href={(current) => `/inbox/messages?page=${current}`}
|
||||
/>
|
||||
</div>
|
||||
</Fixate>
|
||||
{/if}
|
||||
{/await}
|
||||
@@ -62,7 +62,7 @@
|
||||
<Placeholder
|
||||
icon={Check}
|
||||
title="No blocked instances"
|
||||
description="This instance likely has federation disabled."
|
||||
description="This instance does not block any others."
|
||||
/>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
<Placeholder
|
||||
icon={Check}
|
||||
title="No linked instances"
|
||||
description="This instance doesn't block any others."
|
||||
description="This instance does not federate with any others."
|
||||
/>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -158,8 +158,9 @@
|
||||
else data.client = { name: 'piefed', baseUrl: '/api/alpha' }
|
||||
}
|
||||
}
|
||||
class="border-y-0! border-r-0! rounded-none! border-l"
|
||||
class="border-y-0! border-r-0! rounded-none! border-l max-w-24"
|
||||
>
|
||||
<Option data-label="true" value="placeholder" disabled>{$t('form.instanceType')}</Option>
|
||||
<Option value="lemmyv3">Lemmy</Option>
|
||||
<Option value="piefedvalpha">Piefed</Option>
|
||||
</Select>
|
||||
|
||||
@@ -79,6 +79,8 @@
|
||||
pattern={DOMAIN_REGEX_FORMS}
|
||||
placeholder="example.com"
|
||||
class="flex-1 overflow-hidden"
|
||||
autocorrect="off"
|
||||
autocapitalize="none"
|
||||
>
|
||||
{#snippet suffix()}
|
||||
<Select
|
||||
|
||||
Reference in new issue
Block a user