i18n: localize frontpage's layout
This commit is contained in:
1 parent
d1a041ff56
commit
64107e51a0
13 files changed
+248
-90
No files matched your search
@@ -1,5 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { goto } from '$app/navigation'
|
||||
import { t } from '$lib/translations'
|
||||
import { TextInput } from 'mono-svelte'
|
||||
|
||||
let query: string = ''
|
||||
@@ -15,7 +16,7 @@
|
||||
<TextInput
|
||||
bind:value={query}
|
||||
class="w-full h-full {$$props.class}"
|
||||
placeholder="Search"
|
||||
placeholder={$t('nav.search')}
|
||||
autofocus
|
||||
/>
|
||||
</form>
|
||||
|
||||
Reference in new issue
Block a user