Skip to content

Rename the featured activities page to Online Activities - #3660

Merged
bernardhanna merged 1 commit into
masterfrom
feature/rename-online-activities
Sep 14, 2026
Merged

bernardhanna merged 1 commit into
masterfrom
feature/rename-online-activities

Conversation

@bernardhanna

Copy link
Copy Markdown
Collaborator

Summary

  • Move the page from /featured-activities to /online-activities, with a 301 redirect from the old URL
  • Rename the heading, breadcrumb, meta title and description to Online Activities
  • Rename the route from featured_activities to online_activities and update its three call sites
  • Update the navigation label, reusing each locale's existing translation where one exists

Why

The page no longer shows a curated selection; it lists every upcoming open online activity, so "featured" was misleading.

Menu translations

menu.online_events already holds a human translation of exactly this phrase, so rather than leaving 29 locales reading "Featured…", the label now reuses it. That covers 17 locales:

bg, cs, da, de, el, fi, hr, it, lt, lv, pl, ro, sk, sl, sv, tr, ua — for example German shows Online-Aktivitäten and Italian Attività online.

Needs translator input: al, ba, es, et, fr, hu, me, mk, mt, nl, pt, rs have no existing translation of the phrase, so they keep their current wording (French still reads Activités en vedette, Spanish Actividades destacadas). Changing those would mean inventing translations, so I left them.

Note on translation keys

The keys menu.featured_activities, snippets.featured-activities and snippets.no-featured-activities keep their names. Renaming them would touch 30 locale files plus a generated bundle for no user-visible benefit, and risks missing-key fallbacks.

Test plan

  • php artisan test tests/Feature/OnlineEventsWorkflowTest.php — 16 passed
  • New test: /featured-activities returns 301 to /online-activities
  • Verified locally: old URL redirects, new URL returns 200, title/heading/breadcrumb/menu all read "Online Activities", no stale "Featured" text
  • Verified locally that de and it render the reused translation

Made with Cursor

The page lists every upcoming open online activity rather than a curated
selection, so "featured" no longer describes it.

Move it to /online-activities and permanently redirect the old URL. For the
menu label, reuse each locale's existing translation of "Online Activities"
where one exists; twelve locales have none and keep their old wording until
translators supply one.

Co-authored-by: Cursor <cursoragent@cursor.com>
@bernardhanna
bernardhanna merged commit c5d6b77 into master Sep 14, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant