GUI: Translate the tooltip for EditMode menu

The tip text was extracted from the Wiki.
This commit is contained in:
Chris Hennes
2023-04-21 16:55:05 -05:00
parent bfd8e5d334
commit 273943a42c
4 changed files with 35 additions and 17 deletions

View File

@@ -1552,7 +1552,7 @@ PyObject* Application::sListUserEditModes(PyObject * /*self*/, PyObject *args)
return nullptr;
for (auto const &uem : Instance->listUserEditModes()) {
ret.append(Py::String(uem.second));
ret.append(Py::String(uem.second.first));
}
return Py::new_reference_to(ret);
@@ -1563,7 +1563,7 @@ PyObject* Application::sGetUserEditMode(PyObject * /*self*/, PyObject *args)
if (!PyArg_ParseTuple(args, ""))
return nullptr;
return Py::new_reference_to(Py::String(Instance->getUserEditModeName()));
return Py::new_reference_to(Py::String(Instance->getUserEditModeUIStrings().first));
}
PyObject* Application::sSetUserEditMode(PyObject * /*self*/, PyObject *args)