i18n: localize saved page
This commit is contained in:
1 parent
92c57db80b
commit
a488b8b118
5 files changed
+10
-6
No files matched your search
@@ -147,6 +147,7 @@
|
|||||||
"alt": "Search across the fediverse"
|
"alt": "Search across the fediverse"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"saved": "Saved",
|
||||||
"createPost": "Create Post",
|
"createPost": "Create Post",
|
||||||
"post": {
|
"post": {
|
||||||
"crosspostCount": "crossposts",
|
"crosspostCount": "crossposts",
|
||||||
|
|||||||
@@ -87,7 +87,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
<title>Accounts</title>
|
<title>{$t('routes.accounts')}</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
{#if debugging}
|
{#if debugging}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
<title>Profile</title>
|
<title>{$t('profile.profile')}</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<div class="flex flex-col gap-4 h-full z-0">
|
<div class="flex flex-col gap-4 h-full z-0">
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
import { page } from '$app/stores'
|
import { page } from '$app/stores'
|
||||||
import Placeholder from '$lib/components/ui/Placeholder.svelte'
|
import Placeholder from '$lib/components/ui/Placeholder.svelte'
|
||||||
import { Bookmark } from 'svelte-hero-icons'
|
import { Bookmark } from 'svelte-hero-icons'
|
||||||
|
import { t } from '$lib/translations.js'
|
||||||
|
import Header from '$lib/components/ui/layout/pages/Header.svelte'
|
||||||
|
|
||||||
export let data
|
export let data
|
||||||
|
|
||||||
@@ -17,10 +19,10 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
<title>Saved</title>
|
<title>{$t('routes.saved')}</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<h1 class="text-3xl font-bold">Saved</h1>
|
<Header>{$t('routes.saved')}</Header>
|
||||||
<div
|
<div
|
||||||
class="flex flex-col list-none my-4 divide-slate-200 dark:divide-zinc-800"
|
class="flex flex-col list-none my-4 divide-slate-200 dark:divide-zinc-800"
|
||||||
class:gap-4={$userSettings.view == 'card'}
|
class:gap-4={$userSettings.view == 'card'}
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
import { expoOut } from 'svelte/easing'
|
import { expoOut } from 'svelte/easing'
|
||||||
import { slide } from 'svelte/transition'
|
import { slide } from 'svelte/transition'
|
||||||
import { t } from '$lib/translations.js'
|
import { t } from '$lib/translations.js'
|
||||||
|
import Header from '$lib/components/ui/layout/pages/Header.svelte'
|
||||||
|
|
||||||
type Result = PostView | CommentView | PersonView | CommunityView
|
type Result = PostView | CommentView | PersonView | CommunityView
|
||||||
|
|
||||||
@@ -47,10 +48,10 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
<title>Search</title>
|
<title>{$t('routes.search.title')}</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<h1 class="font-bold text-3xl">Search</h1>
|
<Header>{$t('routes.search.title')}</Header>
|
||||||
<div class="flex flex-row flex-wrap items-center gap-4 mt-4">
|
<div class="flex flex-row flex-wrap items-center gap-4 mt-4">
|
||||||
<Select
|
<Select
|
||||||
bind:value={data.type}
|
bind:value={data.type}
|
||||||
|
|||||||
Reference in new issue
Block a user