Skip to content

[scheduler] Move the translations inside useEventCalendar() and EventCalendarContext #19293

@flaviendelangle

Description

@flaviendelangle

Right now, only <EventCalendar /> has a translations prop.
We can add support for it on the standalone views by moving it to useEventCalendar() and dropping the translation context.
See if we want to add it to store.state.translations or as a new root property on the EventCalendarContext

ON HOLD: Not sure we want to do it. We need to decide if the l10n is on the headless package

Metadata

Metadata

Assignees

No one assigned

    Labels

    on holdThere is a blocker, we need to wait.scope: schedulerChanges related to the scheduler.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions