feat: automatically load cross-server content on home instance
This commit is contained in:
8 files changed
+149
-183
No files matched your search
@@ -342,8 +342,9 @@
|
||||
"switch": "Switch to an account on {{destInstance}}"
|
||||
},
|
||||
"automatic": {
|
||||
"title": "Locating post",
|
||||
"description": "That content does not originate on your account's server."
|
||||
"title": "Locating content",
|
||||
"description": "Locating that content on your home server...",
|
||||
"found": "Redirecting"
|
||||
}
|
||||
},
|
||||
"inbox": {
|
||||
@@ -981,7 +982,8 @@
|
||||
"unsupported": "That function is not supported by your account's server software.",
|
||||
"not_live_supported": "That server is not running supported software, or is offline.",
|
||||
"token_not_found": "That email verification link expired, or never existed.",
|
||||
"invalid_password": "Invalid password."
|
||||
"invalid_password": "Invalid password.",
|
||||
"cant_find_object": "That content couldn't be found on your home server."
|
||||
},
|
||||
"aria": {
|
||||
"pagination": {
|
||||
|
||||
@@ -1,15 +1,17 @@
|
||||
<script lang="ts">
|
||||
import type { Snippet } from 'svelte'
|
||||
import type { ClassValue } from 'svelte/elements'
|
||||
|
||||
interface Props {
|
||||
children: Snippet
|
||||
class?: ClassValue
|
||||
}
|
||||
|
||||
let { children }: Props = $props()
|
||||
let { children, class: clazz }: Props = $props()
|
||||
</script>
|
||||
|
||||
<div
|
||||
class="text-loader font-medium text-lg tracking-tight"
|
||||
class={['text-loader font-medium text-lg tracking-tight', clazz]}
|
||||
aria-busy="true"
|
||||
aria-live="polite"
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user