about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorDarius Kazemi <darius@meedan.com>2023-01-13 08:14:39 -0800
committerGitHub <noreply@github.com>2023-01-13 17:14:39 +0100
commit507e1d22f580b23d47d8dc0cb47f6f0b3170fc56 (patch)
treef5e2812f5bc5e348333e03c34a21fe345a6bfc90 /config
parent745bdb11a0d81cc4aff3fe3bba5eecdb8671a632 (diff)
Allow admins to toggle public statistics API (#22833)
* Allow admins to toggle public statistics API

* Normalize i18n

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml1
-rw-r--r--config/locales/simple_form.en.yml2
2 files changed, 3 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index e5c7c0ea3..4f04430ee 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -715,6 +715,7 @@ en:
         profile_directory: Profile directory
         public_timelines: Public timelines
         publish_discovered_servers: Publish discovered servers
+        publish_statistics: Publish statistics
         title: Discovery
         trends: Trends
       domain_blocks:
diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml
index e9f4d3746..f66e12c4c 100644
--- a/config/locales/simple_form.en.yml
+++ b/config/locales/simple_form.en.yml
@@ -74,6 +74,7 @@ en:
           hide: Completely hide the filtered content, behaving as if it did not exist
           warn: Hide the filtered content behind a warning mentioning the filter's title
       form_admin_settings:
+        activity_api_enabled: Counts of locally published posts, active users, and new registrations in weekly buckets
         backups_retention_period: Keep generated user archives for the specified number of days.
         bootstrap_timeline_accounts: These accounts will be pinned to the top of new users' follow recommendations.
         closed_registrations_message: Displayed when sign-ups are closed
@@ -230,6 +231,7 @@ en:
           hide: Hide completely
           warn: Hide with a warning
       form_admin_settings:
+        activity_api_enabled: Publish aggregate statistics about user activity in the API
         backups_retention_period: User archive retention period
         bootstrap_timeline_accounts: Always recommend these accounts to new users
         closed_registrations_message: Custom message when sign-ups are not available