Skip to content

Allow to translate default items text #267

@totpero

Description

@totpero

Hi,
Please add the Zoom In and Zoom Out texts to the settings like this:

const contextmenu = new ContextMenu({
    width: 170,
    defaultItems: true, // defaultItems are (for now) Zoom In/Zoom Out
    zoomInText: "Zoom In",
    zoomOutText: "Zoom Out"
......

I want to translate this.
I know I can disable defaultItems and add this items manually but then no make sense the defaultItems integrated into the ContextMenu.
👍

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions