Skip to content

A platform for community discussion. Free, open, simple.

DEV: Add upcoming change for events category setup (#39474)

Martin Brennan17ad781d93fb
diff --git a/plugins/discourse-calendar/config/locales/server.en.yml b/plugins/discourse-calendar/config/locales/server.en.yml
index c76524d8c45..f79a0b9197d 100644
--- a/plugins/discourse-calendar/config/locales/server.en.yml
+++ b/plugins/discourse-calendar/config/locales/server.en.yml
@@ -63,6 +63,7 @@ en:
event_participation_buttons: "List of event participation buttons users can use."
sidebar_show_upcoming_events: "Show upcoming events link in the sidebar under 'More'."
calendar_first_day_of_week: "Set the first day of the week for calendar display. Options are Saturday, Sunday, or Monday."
+ enable_events_category_type_setup: "Enables the Events category type option during category creation setup. Note that 'enable simplified category creation' must be enabled for this to take effect."
discourse_calendar:
calendar_subscriptions:
diff --git a/plugins/discourse-calendar/config/settings.yml b/plugins/discourse-calendar/config/settings.yml
index 9da9e552dbb..1f7f0f0aca4 100644
--- a/plugins/discourse-calendar/config/settings.yml
+++ b/plugins/discourse-calendar/config/settings.yml
@@ -131,3 +131,11 @@ discourse_calendar:
enum: "CalendarUpcomingEventsDefaultView"
default: month
client: true
+ enable_events_category_type_setup:
+ default: false
+ hidden: true
+ client: true
+ upcoming_change:
+ status: "experimental"
+ impact: "feature,staff"
+ learn_more_url: "https://meta.discourse.org/t/-/401309"