about summary refs log tree commit diff
path: root/config/locales
diff options
context:
space:
mode:
authortrwnh <a@trwnh.com>2022-12-15 09:21:13 -0600
committerGitHub <noreply@github.com>2022-12-15 16:21:13 +0100
commitf0cebaee00f80270bef7a7ce8e03597dd118ad23 (patch)
tree931fd9e63dd046cd1b0d62f9447c94b33cf1b9a7 /config/locales
parentbaecdf28820b267aebe0c9fa92bdc85d929746e7 (diff)
Add localization for new admin scopes (#20979)
* Add localization for new admin scopes

* run bundle exec i18n-tasks normalize
Diffstat (limited to 'config/locales')
-rw-r--r--config/locales/doorkeeper.en.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/locales/doorkeeper.en.yml b/config/locales/doorkeeper.en.yml
index 5567724ae..2df0056c2 100644
--- a/config/locales/doorkeeper.en.yml
+++ b/config/locales/doorkeeper.en.yml
@@ -149,9 +149,19 @@ en:
     scopes:
       admin:read: read all data on the server
       admin:read:accounts: read sensitive information of all accounts
+      admin:read:canonical_email_blocks: read sensitive information of all canonical email blocks
+      admin:read:domain_allows: read sensitive information of all domain allows
+      admin:read:domain_blocks: read sensitive information of all domain blocks
+      admin:read:email_domain_blocks: read sensitive information of all email domain blocks
+      admin:read:ip_blocks: read sensitive information of all IP blocks
       admin:read:reports: read sensitive information of all reports and reported accounts
       admin:write: modify all data on the server
       admin:write:accounts: perform moderation actions on accounts
+      admin:write:canonical_email_blocks: perform moderation actions on canonical email blocks
+      admin:write:domain_allows: perform moderation actions on domain allows
+      admin:write:domain_blocks: perform moderation actions on domain blocks
+      admin:write:email_domain_blocks: perform moderation actions on email domain blocks
+      admin:write:ip_blocks: perform moderation actions on IP blocks
       admin:write:reports: perform moderation actions on reports
       crypto: use end-to-end encryption
       follow: modify account relationships