• Build the localized change-type label map for the change mode dropdown from Foundry's ActiveEffect.CHANGE_TYPES registry. Each entry is localized by its label, falling back to the registry key when it has none.

    Parameters

    • changeTypes: undefined | null | Record<string, undefined | { label?: string }>

      The ActiveEffect.CHANGE_TYPES registry, or nullish.

    Returns Record<string, string>

    A map of change-type key → localized label.