fix: use i18n in SkSearchResultWindow
This commit is contained in:
parent
3f37db1a13
commit
bd586c86ec
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<MkWindow ref="window" :initialWidth="600" :initialHeight="450" :canResize="true" @closed="emit('closed')">
|
<MkWindow ref="window" :initialWidth="600" :initialHeight="450" :canResize="true" @closed="emit('closed')">
|
||||||
<template #header>
|
<template #header>
|
||||||
<i class="ph-magnifying-glass ph-bold ph-lg" style="margin-right: 0.5em;"></i>
|
<i class="ph-magnifying-glass ph-bold ph-lg" style="margin-right: 0.5em;"></i>
|
||||||
<b>Result</b>
|
<b>{{ i18n.ts.searchResult }}</b>
|
||||||
</template>
|
</template>
|
||||||
<MkNotes :key="props.noteKey" :pagination="props.notePagination"/>
|
<MkNotes :key="props.noteKey" :pagination="props.notePagination"/>
|
||||||
</MkWindow>
|
</MkWindow>
|
||||||
|
@ -18,6 +18,7 @@ import { } from 'vue';
|
||||||
import type { Paging } from '@/components/MkPagination.vue';
|
import type { Paging } from '@/components/MkPagination.vue';
|
||||||
import MkNotes from '@/components/MkNotes.vue';
|
import MkNotes from '@/components/MkNotes.vue';
|
||||||
import MkWindow from '@/components/MkWindow.vue';
|
import MkWindow from '@/components/MkWindow.vue';
|
||||||
|
import { i18n } from '@/i18n.js';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
noteKey: string | number | symbol | undefined;
|
noteKey: string | number | symbol | undefined;
|
||||||
|
|
Loading…
Reference in a new issue