parent
0ca2a73fd2
commit
7421c89431
19 changed files with 262 additions and 17 deletions
|
@ -642,6 +642,7 @@ en:
|
|||
title: Media attachments
|
||||
ng_words:
|
||||
hide_local_users_for_anonymous: Hide timeline local user posts from anonymous
|
||||
history_hint: We recommend that you regularly check your NG words to make sure that you have not specified the NG words incorrectly.
|
||||
keywords: Reject keywords
|
||||
keywords_for_stranger_mention: Reject keywords when mention/reply from strangers
|
||||
keywords_for_stranger_mention_hint: Currently this words are checked posts from other servers only.
|
||||
|
@ -651,6 +652,13 @@ en:
|
|||
stranger_mention_from_local_ng_hint: サーバーの登録が承認制でない場合、あなたのサーバーにもスパムが入り込む可能性があります
|
||||
test_error: Testing is returned any errors
|
||||
title: NG words and against spams
|
||||
ngword_histories:
|
||||
back_to_ng_words: NG words and against spams
|
||||
target_types:
|
||||
account_name: Account name
|
||||
account_note: Account note
|
||||
status: Post
|
||||
title: NG words history
|
||||
relationships:
|
||||
title: "%{acct}'s relationships"
|
||||
relays:
|
||||
|
|
|
@ -635,6 +635,7 @@ ja:
|
|||
title: 投稿された画像
|
||||
ng_words:
|
||||
hide_local_users_for_anonymous: ログインしていない状態でローカルユーザーの投稿をタイムラインから取得できないようにする
|
||||
history_hint: 設定されたNGワードによって実際に拒否された投稿などは、履歴より確認できます。NGワードの指定に誤りがないか定期的に確認することをおすすめします。
|
||||
keywords: 投稿できないキーワード
|
||||
keywords_for_stranger_mention: フォローしていないアカウントへのメンションで利用できないキーワード
|
||||
keywords_for_stranger_mention_hint: フォローしていないアカウントへのメンションにのみ適用されます。現状は外部サーバーから来た投稿のみに適用されます
|
||||
|
@ -644,6 +645,13 @@ ja:
|
|||
stranger_mention_from_local_ng_hint: サーバーの登録が承認制でない場合、あなたのサーバーにもスパムが入り込む可能性があります
|
||||
test_error: NGワードのテストに失敗しました。正規表現のミスが含まれているかもしれません
|
||||
title: NGワードとスパム
|
||||
ngword_histories:
|
||||
back_to_ng_words: NGワードとスパム
|
||||
target_types:
|
||||
account_name: アカウントの名前
|
||||
account_note: アカウントの説明文
|
||||
status: 投稿
|
||||
title: NGワード検出履歴
|
||||
relationships:
|
||||
title: "%{acct} さんのフォロー・フォロワー"
|
||||
relays:
|
||||
|
|
|
@ -49,7 +49,7 @@ SimpleNavigation::Configuration.run do |navigation|
|
|||
n.item :moderation, safe_join([fa_icon('gavel fw'), t('moderation.title')]), nil, if: -> { current_user.can?(:manage_reports, :view_audit_log, :manage_users, :manage_invites, :manage_taxonomies, :manage_federation, :manage_blocks, :manage_ng_words, :manage_sensitive_words) && !self_destruct } do |s|
|
||||
s.item :reports, safe_join([fa_icon('flag fw'), t('admin.reports.title')]), admin_reports_path, highlights_on: %r{/admin/reports}, if: -> { current_user.can?(:manage_reports) }
|
||||
s.item :accounts, safe_join([fa_icon('users fw'), t('admin.accounts.title')]), admin_accounts_path(origin: 'local'), highlights_on: %r{/admin/accounts|/admin/pending_accounts|/admin/disputes|/admin/users}, if: -> { current_user.can?(:manage_users) }
|
||||
s.item :ng_words, safe_join([fa_icon('list fw'), t('admin.ng_words.title')]), admin_ng_words_path, highlights_on: %r{/admin/ng_words}, if: -> { current_user.can?(:manage_ng_words) }
|
||||
s.item :ng_words, safe_join([fa_icon('list fw'), t('admin.ng_words.title')]), admin_ng_words_path, highlights_on: %r{/admin/(ng_words|ngword_histories)}, if: -> { current_user.can?(:manage_ng_words) }
|
||||
s.item :sensitive_words, safe_join([fa_icon('list fw'), t('admin.sensitive_words.title')]), admin_sensitive_words_path, highlights_on: %r{/admin/sensitive_words}, if: -> { current_user.can?(:manage_sensitive_words) }
|
||||
s.item :invites, safe_join([fa_icon('user-plus fw'), t('admin.invites.title')]), admin_invites_path, if: -> { current_user.can?(:manage_invites) }
|
||||
s.item :follow_recommendations, safe_join([fa_icon('user-plus fw'), t('admin.follow_recommendations.title')]), admin_follow_recommendations_path, highlights_on: %r{/admin/follow_recommendations}, if: -> { current_user.can?(:manage_taxonomies) }
|
||||
|
|
|
@ -33,6 +33,7 @@ namespace :admin do
|
|||
resources :action_logs, only: [:index]
|
||||
resources :warning_presets, except: [:new, :show]
|
||||
resource :ng_words, only: [:show, :create]
|
||||
resources :ngword_histories, only: [:index]
|
||||
resource :sensitive_words, only: [:show, :create]
|
||||
resource :special_instances, only: [:show, :create]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue