From 65a1bc219997ff3ecb3fe0f400b255c3bb385af1 Mon Sep 17 00:00:00 2001 From: Marie Date: Sat, 3 Feb 2024 18:49:41 +0100 Subject: [PATCH] upd: add i18n --- locales/en-US.yml | 2 ++ locales/index.d.ts | 8 ++++++++ locales/ja-JP.yml | 2 ++ packages/frontend/src/pages/admin/external-services.vue | 4 ++-- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index 6c1cfc994..62d092bd8 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 138c87b76..747e5a4ff 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -2240,6 +2240,14 @@ export interface Locale extends ILocale { * s3ForcePathStyleを有効にすると、バケット名をURLのホスト名ではなくパスの一部として指定することを強制します。セルフホストされたMinioなどの使用時に有効にする必要がある場合があります。 */ "s3ForcePathStyleDesc": string; + /** + * DeepLX-JS を使用する (認証キーなし) + */ + "deeplFreeMode": string; + /** + * ヘルプが必要ですか? DeepLX-JSのセットアップ方法については、ドキュメントを参照してください。 + */ + "deeplFreeModeDescription": string; /** * サーバーログ */ diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index a154acca6..ab8d1d564 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 bfdf3f093..27d732f56 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 - + - +