real-enums
    Preparing search index...

    Interface Message

    A translatable string, per the msgid contract shared by Joe's libraries. Declared here structurally so real-enums needs no i18n dependency.

    interface Message {
        context?: string;
        description?: string;
        id: string;
        message: string;
        plural?: string;
    }
    Index
    context?: string

    gettext msgctxt: the enum's key, so equal labels in different enums stay apart.

    description?: string

    A note for translators.

    id: string

    Stable key: <i18n key>.<value>, e.g. orderState.pending.

    message: string

    English text, and the gettext msgid.

    plural?: string

    English plural, and the gettext msgid_plural. Enum labels never set it.