fix: localization fixes

This commit is contained in:
2025-04-27 20:30:22 +00:00
parent 240f60b283
commit 91d38b58c4
10 changed files with 99 additions and 77 deletions

View File

@ -27,6 +27,9 @@ import {
usePrfStore,
} from '../stores';
import { messageSplit, shouldPreferDark } from '../util';
import { useI18n } from 'vue-i18n';
const { t } = useI18n();
document.documentElement.classList.toggle('use-dark-mode', shouldPreferDark());
@ -257,7 +260,7 @@ listen<DownloadingStatus>('download-progress', (event) => {
style="min-width: 0; width: 25dvw"
class="self-center"
size="small"
placeholder="Search"
:placeholder="t('search')"
v-model="general.cfgSearchTerm"
/>
<InputText
@ -265,7 +268,7 @@ listen<DownloadingStatus>('download-progress', (event) => {
style="min-width: 0; width: 25dvw"
class="self-center"
size="small"
placeholder="Search"
:placeholder="t('search')"
v-model="pkgSearchTerm"
/>
</div>