upd: add i18n

This commit is contained in:
Marie 2024-02-03 18:49:41 +01:00
parent 469c3f3f1a
commit 65a1bc2199
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
4 changed files with 14 additions and 2 deletions

View file

@ -20,12 +20,12 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #label>Pro account</template>
</MkSwitch>
<MkSwitch v-model="deeplFreeMode">
<template #label>Use DeepLX-JS (No Auth Key)</template>
<template #label>{{ i18n.ts.deeplFreeMode }}</template>
</MkSwitch>
<MkInput v-if="deeplFreeMode" v-model="deeplFreeInstance" :placeholder="'example.com/translate'">
<template #prefix><i class="ph-globe-simple ph-bold ph-lg"></i></template>
<template #label>DeepLX-JS URL</template>
<template #caption>Need Help? Check our documentation to know how to setup DeepLX-JS.</template>
<template #caption>{{ i18n.ts.deeplFreeModeDescription }}</template>
</MkInput>
</div>
</FormSection>