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

@ -553,6 +553,8 @@ objectStorageUseProxy: "Connect over Proxy"
objectStorageUseProxyDesc: "Turn this off if you are not going to use a Proxy for API connections"
objectStorageSetPublicRead: "Set \"public-read\" on upload"
s3ForcePathStyleDesc: "If s3ForcePathStyle is enabled, the bucket name has to included in the path of the URL as opposed to the hostname of the URL. You may need to enable this setting when using services such as a self-hosted Minio instance."
deeplFreeMode: "Use DeepLX-JS (No Auth Key)"
deeplFreeModeDescription: "Need Help? Check our documentation to know how to setup DeepLX-JS."
serverLogs: "Server logs"
deleteAll: "Delete all"
showFixedPostForm: "Display the posting form at the top of the timeline"

8
locales/index.d.ts vendored
View File

@ -2240,6 +2240,14 @@ export interface Locale extends ILocale {
* s3ForcePathStyleを有効にするとURLのホスト名ではなくパスの一部として指定することを強制しますMinioなどの使用時に有効にする必要がある場合があります
*/
"s3ForcePathStyleDesc": string;
/**
* DeepLX-JS 使 ()
*/
"deeplFreeMode": string;
/**
* ? DeepLX-JSのセットアップ方法については
*/
"deeplFreeModeDescription": string;
/**
*
*/

View File

@ -556,6 +556,8 @@ objectStorageUseProxy: "Proxyを利用する"
objectStorageUseProxyDesc: "API接続にproxyを利用しない場合はオフにしてください"
objectStorageSetPublicRead: "アップロード時に'public-read'を設定する"
s3ForcePathStyleDesc: "s3ForcePathStyleを有効にすると、バケット名をURLのホスト名ではなくパスの一部として指定することを強制します。セルフホストされたMinioなどの使用時に有効にする必要がある場合があります。"
deeplFreeMode: "DeepLX-JS を使用する (認証キーなし)"
deeplFreeModeDescription: "ヘルプが必要ですか? DeepLX-JSのセットアップ方法については、ドキュメントを参照してください。"
serverLogs: "サーバーログ"
deleteAll: "全て削除"
showFixedPostForm: "タイムライン上部に投稿フォームを表示する"

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>