https://github.com/FreeCAD/FreeCAD/blob ... k.cpp#L245
Code: Select all
sMenuText = QT_TR_NOOP("Draw circle center lines");
Code: Select all
arc1->setText(QApplication::translate("TechDraw_Extension", "Add Centerlines to Circles"));
The first string (automatically I think) uses the command name "CmdTechDrawExtensionCircleCenterLines" as the context, the second "TechDraw_Extension".