feat: add polish localization

This commit is contained in:
2025-04-27 20:37:46 +00:00
parent 91d38b58c4
commit c59dbcc35c
4 changed files with 270 additions and 7 deletions

View File

@ -90,16 +90,16 @@ const importPick = async () => {
modal
:visible="exportVisible"
:closable="false /*this shit doesn't work */"
:header="`Export ${prf.current?.meta.name}`"
:header="`${t('profile.export')} ${prf.current?.meta.name}`"
:style="{ width: '300px', scale: client.scaleValue }"
>
<div class="flex flex-col gap-4">
<div class="flex flex-row">
<div class="grow">Export keychip</div>
<div class="grow">{{ t('profile.export') }} keychip</div>
<ToggleSwitch v-model="exportKeychip" />
</div>
<div class="flex flex-row" v-for="f in fileListCurrent">
<div class="grow">Export {{ f }}</div>
<div class="grow">{{ t('profile.export') }} {{ f }}</div>
<ToggleSwitch
:model-value="true"
@update:model-value="
@ -150,14 +150,14 @@ const importPick = async () => {
</div>
<div class="mt-4 flex flex-row flex-wrap align-middle gap-4">
<Button
:label="t('profile.import')"
:label="t('profile.importTemplate')"
icon="pi pi-file-import"
class="import-button profile-button"
@click="() => importPick()"
/>
<Button
:disabled="prf.current === null"
:label="t('profile.export')"
:label="t('profile.exportTemplate')"
icon="pi pi-file-export"
class="profile-button"
@click="() => openExportDialog()"