merge: fix: use i18n in SkSearchResultWindow (!622)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/622

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
This commit is contained in:
dakkar 2024-09-14 09:59:15 +00:00
commit 57ef186f98
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkWindow ref="window" :initialWidth="600" :initialHeight="450" :canResize="true" @closed="emit('closed')">
<template #header>
<i class="ph-magnifying-glass ph-bold ph-lg" style="margin-right: 0.5em;"></i>
<b>Result</b>
<b>{{ i18n.ts.searchResult }}</b>
</template>
<MkNotes :key="props.noteKey" :pagination="props.notePagination"/>
</MkWindow>
@ -18,6 +18,7 @@ import { } from 'vue';
import type { Paging } from '@/components/MkPagination.vue';
import MkNotes from '@/components/MkNotes.vue';
import MkWindow from '@/components/MkWindow.vue';
import { i18n } from '@/i18n.js';
const props = defineProps<{
noteKey: string | number | symbol | undefined;