Add: #883 管理者の設定したカスタムCSSをユーザー単位で無効にするオプション (#902)

* Add: #883 管理者の設定したカスタムCSSをユーザー単位で無効にするオプション

* ラベル変更
This commit is contained in:
KMY(雪あすか) 2024-11-01 12:09:24 +09:00 committed by GitHub
parent b30086dc6b
commit 943db145e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 56 additions and 14 deletions

View file

@ -329,9 +329,10 @@ en:
setting_trends: Show today's trends
setting_unfollow_modal: Show confirmation dialog before unfollowing someone
setting_use_blurhash: Show colorful gradients for hidden media
setting_use_custom_css: Enable custom CSS
setting_use_custom_css: Enable custom CSS set by yourself
setting_use_pending_items: Slow mode
setting_use_public_index: Include permitted accounts post to results of search
setting_use_server_css: Enable server CSS set by the administrator
severity: Severity
sign_in_token_attempt: Security code
title: Title

View file

@ -329,9 +329,10 @@ ja:
setting_trends: 本日のトレンドタグを表示する
setting_unfollow_modal: フォローを解除する前に確認ダイアログを表示する
setting_use_blurhash: 非表示のメディアを色付きのぼかしで表示する
setting_use_custom_css: カスタムCSSを有効にする
setting_use_custom_css: あなた自身が設定する以下のカスタムCSSを有効にする
setting_use_pending_items: 手動更新モード
setting_use_public_index: Mastodonの標準設定によって検索が許可されたアカウントの公開投稿を検索結果に含める
setting_use_server_css: 管理者の設定したカスタムCSSを有効にする
severity: 重大性
sign_in_token_attempt: セキュリティコード
title: タイトル

View file

@ -94,6 +94,7 @@ Rails.application.routes.draw do
get 'manifest', to: 'manifests#show', defaults: { format: 'json' }
get 'intent', to: 'intents#show'
get 'custom.css', to: 'custom_css#show', as: :custom_css
get 'system.css', to: 'system_css#show', as: :system_css
get 'user_custom.css', to: 'user_custom_css#show', as: :user_custom_css
get 'remote_interaction_helper', to: 'remote_interaction_helper#index'