Solved: Rename: Part_ImportCAD to Part_Import

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Solved: Rename: Part_ImportCAD to Part_Import

Post by vocx »

Please move Part_ImportCAD to Part_Import, and Part_ExportCAD to Part_Export.

In the source, these are the official names.

https://github.com/FreeCAD/FreeCAD/blob ... d.cpp#L986

The name of the page in the wiki must match the sWhatsThis value.

Code: Select all

DEF_STD_CMD_A(CmdPartImport)

CmdPartImport::CmdPartImport()
  :Command("Part_Import")
{
    sAppModule    = "Part";
    sGroup        = QT_TR_NOOP("Part");
    sMenuText     = QT_TR_NOOP("Import CAD...");
    sToolTipText  = QT_TR_NOOP("Imports a CAD file");
    sWhatsThis    = "Part_Import";
    sStatusTip    = sToolTipText;
    sPixmap       = "Part_Import";
}
Last edited by vocx on Fri Oct 04, 2019 6:38 pm, edited 1 time in total.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Rename: Part_ImportCAD to Part_Import

Post by vocx »

This was already done.

I just wanted to document it instead of leaving it in the other thread, Wrong name in Wiki: Part_CreateSimpleCopy
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Post Reply