diff --git a/app/views/admin/ng_words/show.html.haml b/app/views/admin/ng_words/show.html.haml index be8b56ac40..d76757e4c0 100644 --- a/app/views/admin/ng_words/show.html.haml +++ b/app/views/admin/ng_words/show.html.haml @@ -8,7 +8,7 @@ = render 'shared/error_messages', object: @admin_settings .fields-group - = f.input :ng_words, wrapper: :with_label, as: :text, input_html: { rows: 12 }, label: t('admin.ng_words.keywords') + = f.input :ng_words, wrapper: :with_label, as: :text, input_html: { rows: 12 }, label: t('admin.ng_words.keywords'), hint: t('admin.ng_words.keywords_hint') .fields-group = f.input :post_hash_tags_max, wrapper: :with_label, as: :integer, label: t('admin.ng_words.post_hash_tags_max') diff --git a/config/locales/en.yml b/config/locales/en.yml index 9f87e2c6c4..3a4a53d1d6 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -600,6 +600,7 @@ en: enable_block_emoji_reaction_settings: Enable block emoji reactions settings for users hide_local_users_for_anonymous: Hide timeline local user posts from anonymous keywords: Reject keywords + keywords_hint: The first character of the line is "?". to use regular expressions post_hash_tags_max: Hash tags max for posts test_error: Testing is returned any errors title: NG words and against spams @@ -780,6 +781,7 @@ en: hint: This keywords is applied to public posts only.. keywords: Sensitive keywords keywords_for_all: Sensitive keywords (Contains CW alert) + keywords_for_all_hint: The first character of the line is "?". to use regular expressions title: Sensitive words and moderation options settings: about: diff --git a/config/locales/ja.yml b/config/locales/ja.yml index f219a97112..4176170227 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -598,6 +598,7 @@ ja: enable_block_emoji_reaction_settings: 各ユーザーにスタンプ機能のブロック設定項目を解放する hide_local_users_for_anonymous: ログインしていない状態でローカルユーザーの投稿をタイムラインから取得できないようにする keywords: 投稿できないキーワード + keywords_hint: 行を「?」で始めると、正規表現が使えます post_hash_tags_max: 投稿に設定可能なハッシュタグの最大数 test_error: NGワードのテストに失敗しました。正規表現のミスが含まれているかもしれません title: NGワードとスパム @@ -775,7 +776,7 @@ ja: hint: センシティブなキーワードの設定は、当サーバーのローカルユーザーによる公開範囲「公開」「ローカル公開」「ログインユーザーのみ」に対して適用されます。 keywords: センシティブなキーワード(警告文は除外) keywords_for_all: センシティブなキーワード(警告文にも適用) - keywords_for_all_hint: ここで指定したキーワードを含む投稿は強制的にCWになります。警告文にも含まれていればCWになります + keywords_for_all_hint: ここで指定したキーワードを含む投稿は強制的にCWになります。警告文にも含まれていればCWになります。行が「?」で始まっていれば正規表現が使えます keywords_hint: ここで指定したキーワードを含む投稿は強制的にCWになります。ただし警告文に使用していた場合は無視されます title: センシティブ単語と設定 settings: