summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarie <marie@kaifa.ch>2024-02-03 18:49:41 +0100
committerMarie <marie@kaifa.ch>2024-02-03 18:49:41 +0100
commit65a1bc219997ff3ecb3fe0f400b255c3bb385af1 (patch)
tree44fcfd01edec492f53fa15137eb586ac7b87e2fe
parentupd: remove `https` (diff)
downloadsharkey-65a1bc219997ff3ecb3fe0f400b255c3bb385af1.tar.gz
sharkey-65a1bc219997ff3ecb3fe0f400b255c3bb385af1.tar.bz2
sharkey-65a1bc219997ff3ecb3fe0f400b255c3bb385af1.zip
upd: add i18n
-rw-r--r--locales/en-US.yml2
-rw-r--r--locales/index.d.ts8
-rw-r--r--locales/ja-JP.yml2
-rw-r--r--packages/frontend/src/pages/admin/external-services.vue4
4 files changed, 14 insertions, 2 deletions
diff --git a/locales/en-US.yml b/locales/en-US.yml
index 6c1cfc9940..62d092bd85 100644
--- a/locales/en-US.yml
+++ b/locales/en-US.yml
@@ -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"
diff --git a/locales/index.d.ts b/locales/index.d.ts
index 138c87b765..747e5a4ffe 100644
--- a/locales/index.d.ts
+++ b/locales/index.d.ts
@@ -2241,6 +2241,14 @@ export interface Locale extends ILocale {
*/
"s3ForcePathStyleDesc": string;
/**
+ * DeepLX-JS を使用する (認証キーなし)
+ */
+ "deeplFreeMode": string;
+ /**
+ * ヘルプが必要ですか? DeepLX-JSのセットアップ方法については、ドキュメントを参照してください。
+ */
+ "deeplFreeModeDescription": string;
+ /**
* サーバーログ
*/
"serverLogs": string;
diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml
index a154acca68..ab8d1d564f 100644
--- a/locales/ja-JP.yml
+++ b/locales/ja-JP.yml
@@ -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: "タイムライン上部に投稿フォームを表示する"
diff --git a/packages/frontend/src/pages/admin/external-services.vue b/packages/frontend/src/pages/admin/external-services.vue
index bfdf3f0939..27d732f560 100644
--- a/packages/frontend/src/pages/admin/external-services.vue
+++ b/packages/frontend/src/pages/admin/external-services.vue
@@ -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>