Skip to content

Use translations for catalogue texts #3

Open
@timakro

Description

@timakro

The catalogue component takes some texts as props:

    /**
     * Initialize the catalogue text store with the given texts
     */
    let initializedTexts = {
        group: texts.group || "Group",
        collapseButtonTitle: texts.collapseButtonTitle || "Collapse Tree",
        expandButtonTitle: texts.expandButtonTitle || "Expand Tree",
        numberInput: {
            labelFrom: texts.numberInput?.labelFrom || "From",
            labelTo: texts.numberInput?.labelTo || "to",
        },
    };

These could be handled by the translations API instead.

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