Skip to content

Problem translating lists #1959

Description

@JipeB

Hello,
Since version bCNC-0.9.14, list-type variables are no longer translated. (Windows 11 or ARM64 on Raspberry PI)

#PROBE_CMD = [
_("G38.2 stop on contact else error"),
_("G38.3 stop on contact"),
_("G38.4 stop on loss contact else error"),
_("G38.5 stop on loss contact"),
]

TOOL_POLICY = [
_("Send M6 commands"), # 0
_("Ignore M6 commands"), # 1
_("Manual Tool Change (WCS)"), # 2
_("Manual Tool Change (TLO)"), # 3
_("Manual Tool Change (NoProbe)"), # 4
]

TOOL_WAIT = [_("ONLY before probing"), _("BEFORE & AFTER probing")]

It's confusing when the display language is different from English to see that the combobox drop-down menus aren't translated.
This issue has been reported in the past, but no fix has been made to date.

Do you have any idea what the source of the problem is?
JP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions