Add regexp hint to ng_words, sensitive_words page
This commit is contained in:
parent
a976d7b889
commit
99fb562367
3 changed files with 5 additions and 2 deletions
|
@ -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')
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue