Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

File > Maya: Send to Maya, Get from Maya and Exchange folder... in the chosen language (the submenu showed action labels untranslated)

islandmedbf383ffe2a70
diff --git a/src/app/PanelMaya.cpp b/src/app/PanelMaya.cpp
index 99aea61d..733d311e 100644
--- a/src/app/PanelMaya.cpp
+++ b/src/app/PanelMaya.cpp
@@ -39,7 +39,7 @@ void menuAction(App& app, const char* id) {
const Action* a = app.actions().find(id);
if (!a) return;
const std::string shortcut = app.actions().shortcutText(id);
- const std::string label = a->label + "##" + a->id;
+ const std::string label = std::string(trAction(a->id, a->label)) + "##" + a->id; // (the label in the chosen language)
if (ImGui::MenuItem(label.c_str(), shortcut.empty() ? nullptr : shortcut.c_str(), false, !a->enabled || a->enabled()) &&
a->run) {
app.actions().touch(a->id);