Skip to content

introduce function registry #3841

Description

@samuelstroschein

Context

Fink and paraglide started using functions like plural. The signature between both implementations needs to be identical.

Proposal

Introduce a function registry with v2 to avoid chaos.

  • remove plural logic from ui components
	private _getPluralCategories = (): string[] | undefined => {
		return this.message?.locale
			? [...new Intl.PluralRules(this.message.locale).resolvedOptions().pluralCategories, "*"]
			: undefined
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions