From a220e5b46d6a3a31e3b5bfe57989282227941d01 Mon Sep 17 00:00:00 2001 From: KMY Date: Mon, 9 Oct 2023 12:17:17 +0900 Subject: [PATCH] =?UTF-8?q?Add:=20=E3=83=95=E3=83=AC=E3=83=B3=E3=83=89?= =?UTF-8?q?=E3=82=B5=E3=83=BC=E3=83=90=E3=83=BC=E8=A8=AD=E5=AE=9A=E3=81=AE?= =?UTF-8?q?=E4=B8=80=E9=83=A8=E6=B3=A8=E9=87=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/admin/friend_servers/_friend_fields.html.haml | 4 ++-- config/locales/en.yml | 2 ++ config/locales/ja.yml | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/views/admin/friend_servers/_friend_fields.html.haml b/app/views/admin/friend_servers/_friend_fields.html.haml index b3e56f75c2..f2de4a1f60 100644 --- a/app/views/admin/friend_servers/_friend_fields.html.haml +++ b/app/views/admin/friend_servers/_friend_fields.html.haml @@ -11,10 +11,10 @@ = f.input :available, as: :boolean, wrapper: :with_label, label: t('admin.friend_servers.edit.available') .fields-group - = f.input :pseudo_relay, as: :boolean, wrapper: :with_label, label: t('admin.friend_servers.edit.pseudo_relay') + = f.input :pseudo_relay, as: :boolean, wrapper: :with_label, label: t('admin.friend_servers.edit.pseudo_relay'), hint: t('admin.friend_servers.edit.pseudo_relay_hint') .fields-group = f.input :unlocked, as: :boolean, wrapper: :with_label, label: t('admin.friend_servers.edit.unlocked') .fields-group - = f.input :allow_all_posts, as: :boolean, wrapper: :with_label, label: t('admin.friend_servers.edit.allow_all_posts') + = f.input :allow_all_posts, as: :boolean, wrapper: :with_label, label: t('admin.friend_servers.edit.allow_all_posts'), hint: t('admin.friend_servers.edit.allow_all_posts_hint') diff --git a/config/locales/en.yml b/config/locales/en.yml index c86c0a89b8..2185f933cb 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -509,12 +509,14 @@ en: domain: Domain edit: allow_all_posts: Receive all posts + allow_all_posts_hint: 通常は自分のサーバーの誰もフォローしていないアカウントの投稿は例外を除き受け入れがブロックされます。そのブロックを解除します。スパムが発生した場合など、いつでもブロックを再開できます。 available: Available description: フレンドサーバーは、登録と同時に相手方のサーバーへ申請されます。 domain: Domain inbox_url: Friend server inbox URL inbox_url_hint: Default value is https://domain/inbox if you input empty (For example, https://example.com/inbox) pseudo_relay: Send all public or searchable posts + pseudo_relay_hint: お互いに有効で、かつ相手側で「このサーバーからの投稿を無条件で受け入れる」が有効になっている必要があります unlocked: Approve automatically receiving new request edit_friend: Edit enabled: Enabled diff --git a/config/locales/ja.yml b/config/locales/ja.yml index f1a32ede38..61189de940 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -503,13 +503,15 @@ ja: disabled: 無効 domain: ドメイン edit: - allow_all_posts: このサーバーからの全ての投稿を受け入れる + allow_all_posts: このサーバーからの投稿を無条件で受け入れる + allow_all_posts_hint: 通常は自分のサーバーの誰もフォローしていないアカウントの投稿は例外を除き受け入れがブロックされます。そのブロックを解除します。スパムが発生した場合など、いつでもブロックを再開できます。 available: 有効にする description: フレンドサーバーは、登録と同時に相手方のサーバーへ申請されます。 domain: ドメイン inbox_url: フレンドサーバーの inbox URL inbox_url_hint: 空欄にした場合、自動で「https://ドメイン名/inbox」に設定されます。(例:https://example.com/inbox)相手のサーバーがinbox URLを特別に指定している場合、入力してください。 pseudo_relay: 全ての公開・ローカル公開・非収載かつ検索可能な投稿を送信する + pseudo_relay_hint: お互いに有効で、かつ相手側で「このサーバーからの投稿を無条件で受け入れる」が有効になっている必要があります unlocked: このサーバーからの申請を自動で承認する edit_friend: 編集 enabled: 有効