") + QT_TR_NOOP("Toggles freeze state of the selected objects. A frozen object is not recomputed when its parents change.") + "
"; @@ -221,7 +221,7 @@ StdCmdSendToPythonConsole::StdCmdSendToPythonConsole() sMenuText = QT_TR_NOOP("&Send to Python Console"); sToolTipText = QT_TR_NOOP("Sends the selected object to the Python console"); sWhatsThis = "Std_SendToPythonConsole"; - sStatusTip = QT_TR_NOOP("Sends the selected object to the Python console"); + sStatusTip = sToolTipText; sPixmap = "applications-python"; sAccel = "Ctrl+Shift+P"; } diff --git a/src/Gui/CommandLink.cpp b/src/Gui/CommandLink.cpp index 4eea6d8b81..111609a6f9 100644 --- a/src/Gui/CommandLink.cpp +++ b/src/Gui/CommandLink.cpp @@ -76,8 +76,8 @@ StdCmdLinkMakeGroup::StdCmdLinkMakeGroup() : Command("Std_LinkMakeGroup") { sGroup = "Link"; - sMenuText = QT_TR_NOOP("Make link group"); - sToolTipText = QT_TR_NOOP("Create a group of links"); + sMenuText = QT_TR_NOOP("Link Group"); + sToolTipText = QT_TR_NOOP("Creates a group of links"); sWhatsThis = "Std_LinkMakeGroup"; sStatusTip = sToolTipText; eType = AlterDoc; @@ -96,11 +96,11 @@ Action * StdCmdLinkMakeGroup::createAction() // add the action items QAction* action = nullptr; - action = pcAction->addAction(QObject::tr("Simple group")); + action = pcAction->addAction(QObject::tr("Simple Group")); action->setWhatsThis(QString::fromLatin1(getWhatsThis())); - action = pcAction->addAction(QObject::tr("Group with links")); + action = pcAction->addAction(QObject::tr("Group With Links")); action->setWhatsThis(QString::fromLatin1(getWhatsThis())); - action = pcAction->addAction(QObject::tr("Group with transform links")); + action = pcAction->addAction(QObject::tr("Group With Transform Links")); action->setWhatsThis(QString::fromLatin1(getWhatsThis())); return pcAction; } @@ -113,9 +113,9 @@ void StdCmdLinkMakeGroup::languageChange() return; auto pcAction = qobject_cast") - + QT_TR_NOOP("Toggles transparency of the selected objects. You can also fine tune transparency " - "value in the Appearance taskbox (right click an object in the tree, Appearance).") + + QT_TR_NOOP("Toggles the transparency of the selected objects. Transparency " + "can be fine-tuned in the appearance task dialog") + "
"; sToolTipText = toolTip.c_str(); sStatusTip = sToolTipText; @@ -1007,9 +1007,9 @@ StdCmdToggleSelectability::StdCmdToggleSelectability() : Command("Std_ToggleSelectability") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Toggle se&lectability"); - sToolTipText = QT_TR_NOOP("Toggles the property of the objects to get selected in the 3D-View"); - sStatusTip = QT_TR_NOOP("Toggles the property of the objects to get selected in the 3D-View"); + sMenuText = QT_TR_NOOP("Toggle Se&lectability"); + sToolTipText = QT_TR_NOOP("Toggles the property of the objects to get selected in the 3D view"); + sStatusTip = sToolTipText; sWhatsThis = "Std_ToggleSelectability"; sPixmap = "view-unselectable"; eType = Alter3DView; @@ -1059,9 +1059,9 @@ StdCmdShowSelection::StdCmdShowSelection() : Command("Std_ShowSelection") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Sho&w selection"); - sToolTipText = QT_TR_NOOP("Show all selected objects"); - sStatusTip = QT_TR_NOOP("Show all selected objects"); + sMenuText = QT_TR_NOOP("Sho&w Selection"); + sToolTipText = QT_TR_NOOP("Shows all selected objects"); + sStatusTip = sToolTipText; sWhatsThis = "Std_ShowSelection"; sPixmap = "Std_ShowSelection"; eType = Alter3DView; @@ -1087,9 +1087,9 @@ StdCmdHideSelection::StdCmdHideSelection() : Command("Std_HideSelection") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("&Hide selection"); - sToolTipText = QT_TR_NOOP("Hide all selected objects"); - sStatusTip = QT_TR_NOOP("Hide all selected objects"); + sMenuText = QT_TR_NOOP("&Hide Selection"); + sToolTipText = QT_TR_NOOP("Hides all selected objects"); + sStatusTip = sToolTipText; sWhatsThis = "Std_HideSelection"; sPixmap = "Std_HideSelection"; eType = Alter3DView; @@ -1115,9 +1115,9 @@ StdCmdSelectVisibleObjects::StdCmdSelectVisibleObjects() : Command("Std_SelectVisibleObjects") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("&Select visible objects"); - sToolTipText = QT_TR_NOOP("Select visible objects in the active document"); - sStatusTip = QT_TR_NOOP("Select visible objects in the active document"); + sMenuText = QT_TR_NOOP("&Select Visible Objects"); + sToolTipText = QT_TR_NOOP("Selects all visible objects in the active document"); + sStatusTip = sToolTipText; sWhatsThis = "Std_SelectVisibleObjects"; sPixmap = "Std_SelectVisibleObjects"; eType = Alter3DView; @@ -1157,9 +1157,9 @@ StdCmdToggleObjects::StdCmdToggleObjects() : Command("Std_ToggleObjects") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("To&ggle all objects"); - sToolTipText = QT_TR_NOOP("Toggles visibility of all objects in the active document"); - sStatusTip = QT_TR_NOOP("Toggles visibility of all objects in the active document"); + sMenuText = QT_TR_NOOP("To&ggle all Objects"); + sToolTipText = QT_TR_NOOP("Toggles the visibility of all objects in the active document"); + sStatusTip = sToolTipText; sWhatsThis = "Std_ToggleObjects"; sPixmap = "Std_ToggleObjects"; eType = Alter3DView; @@ -1198,9 +1198,9 @@ StdCmdShowObjects::StdCmdShowObjects() : Command("Std_ShowObjects") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Show &all objects"); - sToolTipText = QT_TR_NOOP("Show all objects in the document"); - sStatusTip = QT_TR_NOOP("Show all objects in the document"); + sMenuText = QT_TR_NOOP("Show &all Objects"); + sToolTipText = QT_TR_NOOP("Shows all objects in the document"); + sStatusTip = sToolTipText; sWhatsThis = "Std_ShowObjects"; sPixmap = "Std_ShowObjects"; eType = Alter3DView; @@ -1235,9 +1235,9 @@ StdCmdHideObjects::StdCmdHideObjects() : Command("Std_HideObjects") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Hide all &objects"); - sToolTipText = QT_TR_NOOP("Hide all objects in the document"); - sStatusTip = QT_TR_NOOP("Hide all objects in the document"); + sMenuText = QT_TR_NOOP("Hide all &Objects"); + sToolTipText = QT_TR_NOOP("Hides all objects in the document"); + sStatusTip = sToolTipText; sWhatsThis = "Std_HideObjects"; sPixmap = "Std_HideObjects"; eType = Alter3DView; @@ -1273,9 +1273,9 @@ StdCmdViewHome::StdCmdViewHome() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("&Home"); - sToolTipText = QT_TR_NOOP("Set to default home view"); + sToolTipText = QT_TR_NOOP("Sets the camera to the default home view"); sWhatsThis = "Std_ViewHome"; - sStatusTip = QT_TR_NOOP("Set to default home view"); + sStatusTip = sToolTipText; sPixmap = "Std_ViewHome"; sAccel = "Home"; eType = Alter3DView; @@ -1301,9 +1301,9 @@ StdCmdViewBottom::StdCmdViewBottom() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("&5 Bottom"); - sToolTipText = QT_TR_NOOP("Set to bottom view"); + sToolTipText = QT_TR_NOOP("Sets the camera to the bottom view"); sWhatsThis = "Std_ViewBottom"; - sStatusTip = QT_TR_NOOP("Set to bottom view"); + sStatusTip = sToolTipText; sPixmap = "view-bottom"; sAccel = "5"; eType = Alter3DView; @@ -1325,9 +1325,9 @@ StdCmdViewFront::StdCmdViewFront() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("&1 Front"); - sToolTipText = QT_TR_NOOP("Set to front view"); + sToolTipText = QT_TR_NOOP("Sets the camera to the front view"); sWhatsThis = "Std_ViewFront"; - sStatusTip = QT_TR_NOOP("Set to front view"); + sStatusTip = sToolTipText; sPixmap = "view-front"; sAccel = "1"; eType = Alter3DView; @@ -1349,9 +1349,9 @@ StdCmdViewLeft::StdCmdViewLeft() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("&6 Left"); - sToolTipText = QT_TR_NOOP("Set to left view"); + sToolTipText = QT_TR_NOOP("Sets the camera to the left view"); sWhatsThis = "Std_ViewLeft"; - sStatusTip = QT_TR_NOOP("Set to left view"); + sStatusTip = sToolTipText; sPixmap = "view-left"; sAccel = "6"; eType = Alter3DView; @@ -1373,9 +1373,9 @@ StdCmdViewRear::StdCmdViewRear() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("&4 Rear"); - sToolTipText = QT_TR_NOOP("Set to rear view"); + sToolTipText = QT_TR_NOOP("Sets the camera to the rear view"); sWhatsThis = "Std_ViewRear"; - sStatusTip = QT_TR_NOOP("Set to rear view"); + sStatusTip = sToolTipText; sPixmap = "view-rear"; sAccel = "4"; eType = Alter3DView; @@ -1397,9 +1397,9 @@ StdCmdViewRight::StdCmdViewRight() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("&3 Right"); - sToolTipText = QT_TR_NOOP("Set to right view"); + sToolTipText = QT_TR_NOOP("Sets the camera to the right view"); sWhatsThis = "Std_ViewRight"; - sStatusTip = QT_TR_NOOP("Set to right view"); + sStatusTip = sToolTipText; sPixmap = "view-right"; sAccel = "3"; eType = Alter3DView; @@ -1421,9 +1421,9 @@ StdCmdViewTop::StdCmdViewTop() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("&2 Top"); - sToolTipText = QT_TR_NOOP("Set to top view"); + sToolTipText = QT_TR_NOOP("Sets the camera to the top view"); sWhatsThis = "Std_ViewTop"; - sStatusTip = QT_TR_NOOP("Set to top view"); + sStatusTip = sToolTipText; sPixmap = "view-top"; sAccel = "2"; eType = Alter3DView; @@ -1444,13 +1444,13 @@ DEF_3DV_CMD(StdCmdViewIsometric) StdCmdViewIsometric::StdCmdViewIsometric() : Command("Std_ViewIsometric") { - sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("&Isometric"); - sToolTipText= QT_TR_NOOP("Set to isometric view"); - sWhatsThis = "Std_ViewIsometric"; - sStatusTip = QT_TR_NOOP("Set to isometric view"); - sPixmap = "view-axonometric"; - sAccel = "0"; + sGroup = "Standard-View"; + sMenuText = QT_TR_NOOP("&Isometric"); + sToolTipText = QT_TR_NOOP("Sets the camera to the isometric view"); + sWhatsThis = "Std_ViewIsometric"; + sStatusTip = sToolTipText; + sPixmap = "view-axonometric"; + sAccel = "0"; eType = Alter3DView; } @@ -1468,11 +1468,11 @@ DEF_3DV_CMD(StdCmdViewDimetric) StdCmdViewDimetric::StdCmdViewDimetric() : Command("Std_ViewDimetric") { - sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("&Dimetric"); - sToolTipText= QT_TR_NOOP("Set to dimetric view"); - sWhatsThis = "Std_ViewDimetric"; - sStatusTip = QT_TR_NOOP("Set to dimetric view"); + sGroup = "Standard-View"; + sMenuText = QT_TR_NOOP("&Dimetric"); + sToolTipText = QT_TR_NOOP("Sets the camera to the dimetric view"); + sWhatsThis = "Std_ViewDimetric"; + sStatusTip = sToolTipText; sPixmap = "Std_ViewDimetric"; eType = Alter3DView; } @@ -1491,11 +1491,11 @@ DEF_3DV_CMD(StdCmdViewTrimetric) StdCmdViewTrimetric::StdCmdViewTrimetric() : Command("Std_ViewTrimetric") { - sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("&Trimetric"); - sToolTipText= QT_TR_NOOP("Set to trimetric view"); - sWhatsThis = "Std_ViewTrimetric"; - sStatusTip = QT_TR_NOOP("Set to trimetric view"); + sGroup = "Standard-View"; + sMenuText = QT_TR_NOOP("&Trimetric"); + sToolTipText = QT_TR_NOOP("Sets the camera to the trimetric view"); + sWhatsThis = "Std_ViewTrimetric"; + sStatusTip = sToolTipText; sPixmap = "Std_ViewTrimetric"; eType = Alter3DView; } @@ -1516,9 +1516,9 @@ StdCmdViewRotateLeft::StdCmdViewRotateLeft() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("Rotate &Left"); - sToolTipText = QT_TR_NOOP("Rotate the view by 90\xc2\xb0 counter-clockwise"); + sToolTipText = QT_TR_NOOP("Rotates the view by 90\xc2\xb0 counter-clockwise"); sWhatsThis = "Std_ViewRotateLeft"; - sStatusTip = QT_TR_NOOP("Rotate the view by 90\xc2\xb0 counter-clockwise"); + sStatusTip = sToolTipText; sPixmap = "view-rotate-left"; sAccel = "Shift+Left"; eType = Alter3DView; @@ -1540,10 +1540,10 @@ StdCmdViewRotateRight::StdCmdViewRotateRight() : Command("Std_ViewRotateRight") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Rotate &Right"); - sToolTipText = QT_TR_NOOP("Rotate the view by 90\xc2\xb0 clockwise"); + sMenuText = QT_TR_NOOP("Rotates &Right"); + sToolTipText = QT_TR_NOOP("Rotates the view by 90\xc2\xb0 clockwise"); sWhatsThis = "Std_ViewRotateRight"; - sStatusTip = QT_TR_NOOP("Rotate the view by 90\xc2\xb0 clockwise"); + sStatusTip = sToolTipText; sPixmap = "view-rotate-right"; sAccel = "Shift+Right"; eType = Alter3DView; @@ -1565,10 +1565,10 @@ StdCmdViewFitAll::StdCmdViewFitAll() : Command("Std_ViewFitAll") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("&Fit all"); - sToolTipText = QT_TR_NOOP("Fits the whole content on the screen"); + sMenuText = QT_TR_NOOP("&Fit All"); + sToolTipText = QT_TR_NOOP("Fits all content into the 3D view"); sWhatsThis = "Std_ViewFitAll"; - sStatusTip = QT_TR_NOOP("Fits the whole content on the screen"); + sStatusTip = sToolTipText; sPixmap = "zoom-all"; sAccel = "V, F"; eType = Alter3DView; @@ -1596,10 +1596,10 @@ StdCmdViewFitSelection::StdCmdViewFitSelection() : Command("Std_ViewFitSelection") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Fit &selection"); - sToolTipText = QT_TR_NOOP("Fits the selected content on the screen"); + sMenuText = QT_TR_NOOP("Fit &Selection"); + sToolTipText = QT_TR_NOOP("Fits the selected content into the 3D view"); sWhatsThis = "Std_ViewFitSelection"; - sStatusTip = QT_TR_NOOP("Fits the selected content on the screen"); + sStatusTip = sToolTipText; sAccel = "V, S"; sPixmap = "zoom-selection"; eType = Alter3DView; @@ -1626,9 +1626,9 @@ public: : GroupCommand("Std_ViewGroup") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Standard &views"); - sToolTipText = QT_TR_NOOP("Change to a standard view"); - sStatusTip = QT_TR_NOOP("Change to a standard view"); + sMenuText = QT_TR_NOOP("Standard &Views"); + sToolTipText = QT_TR_NOOP("Changes to a standard view"); + sStatusTip = sToolTipText; sWhatsThis = "Std_ViewGroup"; sPixmap = "view-isometric"; eType = Alter3DView; @@ -1666,9 +1666,9 @@ StdViewDock::StdViewDock() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("&Docked"); - sToolTipText = QT_TR_NOOP("Display the active view either in fullscreen, in undocked or docked mode"); + sToolTipText = QT_TR_NOOP("Displays the active view either in fullscreen, undocked, or docked mode"); sWhatsThis = "Std_ViewDock"; - sStatusTip = QT_TR_NOOP("Display the active view either in fullscreen, in undocked or docked mode"); + sStatusTip = sToolTipText; sAccel = "V, D"; eType = Alter3DView; bCanLog = false; @@ -1695,9 +1695,9 @@ StdViewUndock::StdViewUndock() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("&Undocked"); - sToolTipText = QT_TR_NOOP("Display the active view either in fullscreen, in undocked or docked mode"); + sToolTipText = QT_TR_NOOP("Displays the active view either in fullscreen, undocked, or docked mode"); sWhatsThis = "Std_ViewUndock"; - sStatusTip = QT_TR_NOOP("Display the active view either in fullscreen, in undocked or docked mode"); + sStatusTip = sToolTipText; sAccel = "V, U"; eType = Alter3DView; bCanLog = false; @@ -1724,9 +1724,9 @@ StdMainFullscreen::StdMainFullscreen() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("Fullscreen"); - sToolTipText = QT_TR_NOOP("Display the main window in fullscreen mode"); + sToolTipText = QT_TR_NOOP("Displays the main window in fullscreen mode"); sWhatsThis = "Std_MainFullscreen"; - sStatusTip = QT_TR_NOOP("Display the main window in fullscreen mode"); + sStatusTip = sToolTipText; sPixmap = "view-fullscreen"; sAccel = "Alt+F11"; eType = Alter3DView; @@ -1756,9 +1756,9 @@ StdViewFullscreen::StdViewFullscreen() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("&Fullscreen"); - sToolTipText = QT_TR_NOOP("Display the active view either in fullscreen, in undocked or docked mode"); + sToolTipText = QT_TR_NOOP("Displays the active view either in fullscreen, undocked, or docked mode"); sWhatsThis = "Std_ViewFullscreen"; - sStatusTip = QT_TR_NOOP("Display the active view either in fullscreen, in undocked or docked mode"); + sStatusTip = sToolTipText; sPixmap = "view-fullscreen"; sAccel = "F11"; eType = Alter3DView; @@ -1785,10 +1785,10 @@ StdViewDockUndockFullscreen::StdViewDockUndockFullscreen() : Command("Std_ViewDockUndockFullscreen") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("D&ocument window"); - sToolTipText = QT_TR_NOOP("Display the active view either in fullscreen, in undocked or docked mode"); + sMenuText = QT_TR_NOOP("D&ocument Window"); + sToolTipText = QT_TR_NOOP("Displays the active view either in fullscreen, undocked, or docked mode"); sWhatsThis = "Std_ViewDockUndockFullscreen"; - sStatusTip = QT_TR_NOOP("Display the active view either in fullscreen, in undocked or docked mode"); + sStatusTip = sToolTipText; eType = Alter3DView; CommandManager &rcCmdMgr = Application::Instance->commandManager(); @@ -1892,10 +1892,10 @@ StdCmdViewVR::StdCmdViewVR() : Command("Std_ViewVR") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("FreeCAD-VR"); - sToolTipText = QT_TR_NOOP("Extend the FreeCAD 3D Window to a Oculus Rift"); + sMenuText = QT_TR_NOOP("FreeCAD VR"); + sToolTipText = QT_TR_NOOP("Extends the FreeCAD 3D Window to a VR device"); sWhatsThis = "Std_ViewVR"; - sStatusTip = QT_TR_NOOP("Extend the FreeCAD 3D Window to a Oculus Rift"); + sStatusTip = sToolTipText; eType = Alter3DView; } @@ -1921,10 +1921,10 @@ StdViewScreenShot::StdViewScreenShot() : Command("Std_ViewScreenShot") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Save &image..."); + sMenuText = QT_TR_NOOP("Save &Image…"); sToolTipText= QT_TR_NOOP("Creates a screenshot of the active view"); sWhatsThis = "Std_ViewScreenShot"; - sStatusTip = QT_TR_NOOP("Creates a screenshot of the active view"); + sStatusTip = sToolTipText; sPixmap = "Std_ViewScreenShot"; eType = Alter3DView; } @@ -1962,7 +1962,7 @@ void StdViewScreenShot::activated(int iMsg) FileOptionsDialog fd(getMainWindow(), Qt::WindowFlags()); fd.setFileMode(QFileDialog::AnyFile); fd.setAcceptMode(QFileDialog::AcceptSave); - fd.setWindowTitle(QObject::tr("Save image")); + fd.setWindowTitle(QObject::tr("Save Image")); fd.setNameFilters(filter); if (!selFilter.isEmpty()) fd.selectNameFilter(selFilter); @@ -2089,10 +2089,10 @@ StdViewLoadImage::StdViewLoadImage() : Command("Std_ViewLoadImage") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("&Load image..."); + sMenuText = QT_TR_NOOP("&Load Image…"); sToolTipText= QT_TR_NOOP("Loads an image"); sWhatsThis = "Std_ViewLoadImage"; - sStatusTip = QT_TR_NOOP("Loads an image"); + sStatusTip = sToolTipText; sPixmap = "image-open"; eType = 0; } @@ -2110,7 +2110,7 @@ void StdViewLoadImage::activated(int iMsg) // Reading an image QFileDialog dialog(Gui::getMainWindow()); - dialog.setWindowTitle(QObject::tr("Choose an image file to open")); + dialog.setWindowTitle(QObject::tr("Choose an Image File to Open")); dialog.setMimeTypeFilters(mimeTypeFilters); dialog.selectMimeTypeFilter(QStringLiteral("image/png")); dialog.setDefaultSuffix(QStringLiteral("png")); @@ -2135,10 +2135,10 @@ StdCmdViewCreate::StdCmdViewCreate() : Command("Std_ViewCreate") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Create new view"); - sToolTipText= QT_TR_NOOP("Creates a new view window for the active document"); + sMenuText = QT_TR_NOOP("New 3D View"); + sToolTipText= QT_TR_NOOP("Opens a new 3D view window for the active document"); sWhatsThis = "Std_ViewCreate"; - sStatusTip = QT_TR_NOOP("Creates a new view window for the active document"); + sStatusTip = sToolTipText; sPixmap = "window-new"; eType = Alter3DView; } @@ -2164,9 +2164,9 @@ StdCmdToggleNavigation::StdCmdToggleNavigation() : Command("Std_ToggleNavigation") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Toggle navigation/&Edit mode"); - sToolTipText = QT_TR_NOOP("Toggle between navigation and edit mode"); - sStatusTip = QT_TR_NOOP("Toggle between navigation and edit mode"); + sMenuText = QT_TR_NOOP("Toggle Navigation/&Edit Mode"); + sToolTipText = QT_TR_NOOP("Toggles between navigation and edit mode"); + sStatusTip = sToolTipText; sWhatsThis = "Std_ToggleNavigation"; //iAccel = Qt::SHIFT+Qt::Key_Space; sAccel = "Esc"; @@ -2213,9 +2213,9 @@ StdCmdAxisCross::StdCmdAxisCross() : Command("Std_AxisCross") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Toggle a&xis cross"); - sToolTipText = QT_TR_NOOP("Turns on or off the axis cross at the origin"); - sStatusTip = QT_TR_NOOP("Turns on or off the axis cross at the origin"); + sMenuText = QT_TR_NOOP("Toggle A&xis Cross"); + sToolTipText = QT_TR_NOOP("Toggles the axis cross at the origin"); + sStatusTip = sToolTipText; sWhatsThis = "Std_AxisCross"; sPixmap = "Std_AxisCross"; sAccel = "A,C"; @@ -2259,10 +2259,10 @@ StdCmdViewExample1::StdCmdViewExample1() : Command("Std_ViewExample1") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Inventor example #1"); + sMenuText = QT_TR_NOOP("Inventor Example #1"); sToolTipText = QT_TR_NOOP("Shows a 3D texture with manipulator"); sWhatsThis = "Std_ViewExample1"; - sStatusTip = QT_TR_NOOP("Shows a 3D texture with manipulator"); + sStatusTip = sToolTipText; sPixmap = "Std_Tool1"; eType = Alter3DView; } @@ -2287,10 +2287,10 @@ StdCmdViewExample2::StdCmdViewExample2() : Command("Std_ViewExample2") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Inventor example #2"); + sMenuText = QT_TR_NOOP("Inventor Example #2"); sToolTipText = QT_TR_NOOP("Shows spheres and drag-lights"); sWhatsThis = "Std_ViewExample2"; - sStatusTip = QT_TR_NOOP("Shows spheres and drag-lights"); + sStatusTip = sToolTipText; sPixmap = "Std_Tool2"; eType = Alter3DView; } @@ -2315,10 +2315,10 @@ StdCmdViewExample3::StdCmdViewExample3() : Command("Std_ViewExample3") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Inventor example #3"); - sToolTipText = QT_TR_NOOP("Shows a animated texture"); + sMenuText = QT_TR_NOOP("Inventor Example #3"); + sToolTipText = QT_TR_NOOP("Shows an animated texture"); sWhatsThis = "Std_ViewExample3"; - sStatusTip = QT_TR_NOOP("Shows a animated texture"); + sStatusTip = sToolTipText; sPixmap = "Std_Tool3"; eType = Alter3DView; } @@ -2345,9 +2345,9 @@ StdCmdViewIvStereoOff::StdCmdViewIvStereoOff() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("Stereo &Off"); - sToolTipText = QT_TR_NOOP("Switch stereo viewing off"); + sToolTipText = QT_TR_NOOP("Switches stereo viewing off"); sWhatsThis = "Std_ViewIvStereoOff"; - sStatusTip = QT_TR_NOOP("Switch stereo viewing off"); + sStatusTip = sToolTipText; sPixmap = "Std_ViewIvStereoOff"; eType = Alter3DView; } @@ -2373,10 +2373,10 @@ StdCmdViewIvStereoRedGreen::StdCmdViewIvStereoRedGreen() : Command("Std_ViewIvStereoRedGreen") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Stereo re&d/cyan"); - sToolTipText = QT_TR_NOOP("Switch stereo viewing to red/cyan"); + sMenuText = QT_TR_NOOP("Stereo Re&d/Cyan"); + sToolTipText = QT_TR_NOOP("Switches stereo viewing to red/cyan"); sWhatsThis = "Std_ViewIvStereoRedGreen"; - sStatusTip = QT_TR_NOOP("Switch stereo viewing to red/cyan"); + sStatusTip = sToolTipText; sPixmap = "Std_ViewIvStereoRedGreen"; eType = Alter3DView; } @@ -2401,10 +2401,10 @@ StdCmdViewIvStereoQuadBuff::StdCmdViewIvStereoQuadBuff() : Command("Std_ViewIvStereoQuadBuff") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Stereo &quad buffer"); - sToolTipText = QT_TR_NOOP("Switch stereo viewing to quad buffer"); + sMenuText = QT_TR_NOOP("Stereo &Quad Buffer"); + sToolTipText = QT_TR_NOOP("Switches stereo viewing to quad buffer"); sWhatsThis = "Std_ViewIvStereoQuadBuff"; - sStatusTip = QT_TR_NOOP("Switch stereo viewing to quad buffer"); + sStatusTip = sToolTipText; sPixmap = "Std_ViewIvStereoQuadBuff"; eType = Alter3DView; } @@ -2430,9 +2430,9 @@ StdCmdViewIvStereoInterleavedRows::StdCmdViewIvStereoInterleavedRows() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("Stereo Interleaved &Rows"); - sToolTipText = QT_TR_NOOP("Switch stereo viewing to Interleaved Rows"); + sToolTipText = QT_TR_NOOP("Switches stereo viewing to interleaved rows"); sWhatsThis = "Std_ViewIvStereoInterleavedRows"; - sStatusTip = QT_TR_NOOP("Switch stereo viewing to Interleaved Rows"); + sStatusTip = sToolTipText; sPixmap = "Std_ViewIvStereoInterleavedRows"; eType = Alter3DView; } @@ -2458,9 +2458,9 @@ StdCmdViewIvStereoInterleavedColumns::StdCmdViewIvStereoInterleavedColumns() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("Stereo Interleaved &Columns"); - sToolTipText = QT_TR_NOOP("Switch stereo viewing to Interleaved Columns"); + sToolTipText = QT_TR_NOOP("Switches stereo viewing to interleaved columns"); sWhatsThis = "Std_ViewIvStereoInterleavedColumns"; - sStatusTip = QT_TR_NOOP("Switch stereo viewing to Interleaved Columns"); + sStatusTip = sToolTipText; sPixmap = "Std_ViewIvStereoInterleavedColumns"; eType = Alter3DView; } @@ -2486,10 +2486,10 @@ StdCmdViewIvIssueCamPos::StdCmdViewIvIssueCamPos() : Command("Std_ViewIvIssueCamPos") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Issue camera &position"); - sToolTipText = QT_TR_NOOP("Issue the camera position to the console and to a macro, to easily recall this position"); + sMenuText = QT_TR_NOOP("Issue Camera &Position"); + sToolTipText = QT_TR_NOOP("Issues the camera position to the console and to a macro, to easily recall this position"); sWhatsThis = "Std_ViewIvIssueCamPos"; - sStatusTip = QT_TR_NOOP("Issue the camera position to the console and to a macro, to easily recall this position"); + sStatusTip = sToolTipText; sPixmap = "Std_ViewIvIssueCamPos"; eType = Alter3DView; } @@ -2537,9 +2537,9 @@ StdViewZoomIn::StdViewZoomIn() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("Zoom &In"); - sToolTipText = QT_TR_NOOP("Increase the zoom factor by a fixed amount"); + sToolTipText = QT_TR_NOOP("Increases the zoom factor by a fixed amount"); sWhatsThis = "Std_ViewZoomIn"; - sStatusTip = QT_TR_NOOP("Increase the zoom factor by a fixed amount"); + sStatusTip = sToolTipText; sPixmap = "zoom-in"; sAccel = keySequenceToAccel(QKeySequence::ZoomIn); eType = Alter3DView; @@ -2566,9 +2566,9 @@ StdViewZoomOut::StdViewZoomOut() { sGroup = "Standard-View"; sMenuText = QT_TR_NOOP("Zoom &Out"); - sToolTipText = QT_TR_NOOP("Decrease the zoom factor by a fixed amount"); + sToolTipText = QT_TR_NOOP("Decreases the zoom factor by a fixed amount"); sWhatsThis = "Std_ViewZoomOut"; - sStatusTip = QT_TR_NOOP("Decrease the zoom factor by a fixed amount"); + sStatusTip = sToolTipText; sPixmap = "zoom-out"; sAccel = keySequenceToAccel(QKeySequence::ZoomOut); eType = Alter3DView; @@ -2708,10 +2708,10 @@ StdViewBoxZoom::StdViewBoxZoom() : Command("Std_ViewBoxZoom") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("&Box zoom"); - sToolTipText = QT_TR_NOOP("Activate the box zoom tool"); + sMenuText = QT_TR_NOOP("&Box Zoom"); + sToolTipText = QT_TR_NOOP("Activates the box zoom tool"); sWhatsThis = "Std_ViewBoxZoom"; - sStatusTip = QT_TR_NOOP("Activate the box zoom tool"); + sStatusTip = sToolTipText; sPixmap = "zoom-border"; sAccel = "Ctrl+B"; eType = Alter3DView; @@ -2742,10 +2742,10 @@ StdBoxSelection::StdBoxSelection() : Command("Std_BoxSelection") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("&Box selection"); - sToolTipText = QT_TR_NOOP("Activate the box selection tool"); + sMenuText = QT_TR_NOOP("&Box Selection"); + sToolTipText = QT_TR_NOOP("Activates the box selection tool"); sWhatsThis = "Std_BoxSelection"; - sStatusTip = QT_TR_NOOP("Activate the box selection tool"); + sStatusTip = sToolTipText; sPixmap = "edit-select-box"; sAccel = "Shift+B"; eType = AlterSelection; @@ -2968,10 +2968,10 @@ StdBoxElementSelection::StdBoxElementSelection() : Command("Std_BoxElementSelection") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Bo&x element selection"); - sToolTipText = QT_TR_NOOP("Box element selection"); + sMenuText = QT_TR_NOOP("Bo&x Element Selection"); + sToolTipText = QT_TR_NOOP("Activates box element selection"); sWhatsThis = "Std_BoxElementSelection"; - sStatusTip = QT_TR_NOOP("Box element selection"); + sStatusTip = sToolTipText; sPixmap = "edit-element-select-box"; sAccel = "Shift+E"; eType = AlterSelection; @@ -3013,10 +3013,10 @@ StdTreeSelection::StdTreeSelection() : Command("Std_TreeSelection") { sGroup = "TreeView"; - sMenuText = QT_TR_NOOP("&Go to selection"); - sToolTipText = QT_TR_NOOP("Scroll to first selected item"); + sMenuText = QT_TR_NOOP("&Go to Selection"); + sToolTipText = QT_TR_NOOP("Scrolls to the first selected item"); sWhatsThis = "Std_TreeSelection"; - sStatusTip = QT_TR_NOOP("Scroll to first selected item"); + sStatusTip = sToolTipText; eType = Alter3DView; sPixmap = "tree-goto-sel"; sAccel = "T,G"; @@ -3038,10 +3038,10 @@ StdCmdTreeCollapse::StdCmdTreeCollapse() : Command("Std_TreeCollapse") { sGroup = "View"; - sMenuText = QT_TR_NOOP("Collapse selected item"); - sToolTipText = QT_TR_NOOP("Collapse currently selected tree items"); + sMenuText = QT_TR_NOOP("Collapse Selected Items"); + sToolTipText = QT_TR_NOOP("Collapses the currently selected tree items"); sWhatsThis = "Std_TreeCollapse"; - sStatusTip = QT_TR_NOOP("Collapse currently selected tree items"); + sStatusTip = sToolTipText; eType = Alter3DView; } @@ -3063,10 +3063,10 @@ StdCmdTreeExpand::StdCmdTreeExpand() : Command("Std_TreeExpand") { sGroup = "View"; - sMenuText = QT_TR_NOOP("Expand selected item"); - sToolTipText = QT_TR_NOOP("Expand currently selected tree items"); + sMenuText = QT_TR_NOOP("Expand Selected Items"); + sToolTipText = QT_TR_NOOP("Expands the currently selected tree items"); sWhatsThis = "Std_TreeExpand"; - sStatusTip = QT_TR_NOOP("Expand currently selected tree items"); + sStatusTip = sToolTipText; eType = Alter3DView; } @@ -3088,10 +3088,10 @@ StdCmdTreeSelectAllInstances::StdCmdTreeSelectAllInstances() : Command("Std_TreeSelectAllInstances") { sGroup = "View"; - sMenuText = QT_TR_NOOP("Select all instances"); - sToolTipText = QT_TR_NOOP("Select all instances of the current selected object"); + sMenuText = QT_TR_NOOP("Select all Instances"); + sToolTipText = QT_TR_NOOP("Selects all instances of the currently selected object"); sWhatsThis = "Std_TreeSelectAllInstances"; - sStatusTip = QT_TR_NOOP("Select all instances of the current selected object"); + sStatusTip = sToolTipText; sPixmap = "sel-instance"; eType = AlterSelection; } @@ -3141,10 +3141,10 @@ StdCmdSceneInspector::StdCmdSceneInspector() { // setting the sGroup = "Tools"; - sMenuText = QT_TR_NOOP("Scene i&nspector..."); - sToolTipText = QT_TR_NOOP("Scene inspector"); + sMenuText = QT_TR_NOOP("Scene I&nspector…"); + sToolTipText = QT_TR_NOOP("Opens the scene inspector"); sWhatsThis = "Std_SceneInspector"; - sStatusTip = QT_TR_NOOP("Scene inspector"); + sStatusTip = sToolTipText; eType = Alter3DView; sPixmap = "Std_SceneInspector"; } @@ -3174,10 +3174,10 @@ StdCmdTextureMapping::StdCmdTextureMapping() { // setting the sGroup = "Tools"; - sMenuText = QT_TR_NOOP("Text&ure mapping..."); - sToolTipText = QT_TR_NOOP("Texture mapping"); + sMenuText = QT_TR_NOOP("Text&ure Mapping…"); + sToolTipText = QT_TR_NOOP("Maps textures to shapes"); sWhatsThis = "Std_TextureMapping"; - sStatusTip = QT_TR_NOOP("Texture mapping"); + sStatusTip = sToolTipText; sPixmap = "Std_TextureMapping"; eType = Alter3DView; } @@ -3201,10 +3201,10 @@ StdCmdDemoMode::StdCmdDemoMode() : Command("Std_DemoMode") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("View &turntable..."); - sToolTipText = QT_TR_NOOP("View turntable"); + sMenuText = QT_TR_NOOP("View &Turntable…"); + sToolTipText = QT_TR_NOOP("Opens a turntable view"); sWhatsThis = "Std_DemoMode"; - sStatusTip = QT_TR_NOOP("View turntable"); + sStatusTip = sToolTipText; eType = Alter3DView; sPixmap = "Std_DemoMode"; } @@ -3230,10 +3230,10 @@ StdCmdSelBack::StdCmdSelBack() :Command("Std_SelBack") { sGroup = "View"; - sMenuText = QT_TR_NOOP("Selection &back"); + sMenuText = QT_TR_NOOP("Selection &Back"); static std::string toolTip = std::string("") - + QT_TR_NOOP("Restore the previous Tree view selection. " - "Only works if Tree RecordSelection mode is switched on.") + + QT_TR_NOOP("Restores the previous tree view selection. " + "Only works if tree RecordSelection mode is switched on.") + "
"; sToolTipText = toolTip.c_str(); sWhatsThis = "Std_SelBack"; @@ -3264,10 +3264,10 @@ StdCmdSelForward::StdCmdSelForward() :Command("Std_SelForward") { sGroup = "View"; - sMenuText = QT_TR_NOOP("Selection &forward"); + sMenuText = QT_TR_NOOP("Selection &Forward"); static std::string toolTip = std::string("") - + QT_TR_NOOP("Restore the next Tree view selection. " - "Only works if Tree RecordSelection mode is switched on.") + + QT_TR_NOOP("Restores the next tree view selection. " + "Only works if tree RecordSelection mode is switched on.") + "
"; sToolTipText = toolTip.c_str(); sWhatsThis = "Std_SelForward"; @@ -3318,10 +3318,10 @@ StdTreeSingleDocument::StdTreeSingleDocument() : Command("Std_TreeSingleDocument") { sGroup = "TreeView"; - sMenuText = QT_TR_NOOP("&Single document"); - sToolTipText = QT_TR_NOOP("Only display the active document in the tree view"); + sMenuText = QT_TR_NOOP("&Single Document"); + sToolTipText = QT_TR_NOOP("Displays only the active document in the tree view"); sWhatsThis = "Std_TreeSingleDocument"; - sStatusTip = QT_TR_NOOP("Only display the active document in the tree view"); + sStatusTip = sToolTipText; sPixmap = "tree-doc-single"; eType = 0; } @@ -3335,10 +3335,10 @@ StdTreeMultiDocument::StdTreeMultiDocument() : Command("Std_TreeMultiDocument") { sGroup = "TreeView"; - sMenuText = QT_TR_NOOP("&Multi document"); - sToolTipText = QT_TR_NOOP("Display all documents in the tree view"); + sMenuText = QT_TR_NOOP("&Multi Document"); + sToolTipText = QT_TR_NOOP("Displays all documents in the tree view"); sWhatsThis = "Std_TreeMultiDocument"; - sStatusTip = QT_TR_NOOP("Display all documents in the tree view"); + sStatusTip = sToolTipText; sPixmap = "tree-doc-multi"; eType = 0; } @@ -3353,9 +3353,9 @@ StdTreeCollapseDocument::StdTreeCollapseDocument() { sGroup = "TreeView"; sMenuText = QT_TR_NOOP("Collapse/E&xpand"); - sToolTipText = QT_TR_NOOP("Expand active document and collapse all others"); + sToolTipText = QT_TR_NOOP("Expands the active document and collapses all others"); sWhatsThis = "Std_TreeCollapseDocument"; - sStatusTip = QT_TR_NOOP("Expand active document and collapse all others"); + sStatusTip = sToolTipText; sPixmap = "tree-doc-collapse"; eType = 0; } @@ -3391,8 +3391,8 @@ StdTreeSyncView::StdTreeSyncView() : Command("Std_TreeSyncView") { sGroup = "TreeView"; - sMenuText = QT_TR_NOOP("&1 Sync view"); - sToolTipText = QT_TR_NOOP("Auto switch to the 3D view containing the selected item"); + sMenuText = QT_TR_NOOP("&1 Sync View"); + sToolTipText = QT_TR_NOOP("Switches to the 3D view containing the selected item from the tree view"); sStatusTip = sToolTipText; sWhatsThis = "Std_TreeSyncView"; sPixmap = "tree-sync-view"; @@ -3409,8 +3409,8 @@ StdTreeSyncSelection::StdTreeSyncSelection() : Command("Std_TreeSyncSelection") { sGroup = "TreeView"; - sMenuText = QT_TR_NOOP("&2 Sync selection"); - sToolTipText = QT_TR_NOOP("Auto expand tree item when the corresponding object is selected in 3D view"); + sMenuText = QT_TR_NOOP("&2 Sync Selection"); + sToolTipText = QT_TR_NOOP("Expands the tree item when the corresponding object is selected in the 3D view"); sStatusTip = sToolTipText; sWhatsThis = "Std_TreeSyncSelection"; sPixmap = "tree-sync-sel"; @@ -3427,8 +3427,8 @@ StdTreeSyncPlacement::StdTreeSyncPlacement() : Command("Std_TreeSyncPlacement") { sGroup = "TreeView"; - sMenuText = QT_TR_NOOP("&3 Sync placement"); - sToolTipText = QT_TR_NOOP("Auto adjust placement on drag and drop objects across coordinate systems"); + sMenuText = QT_TR_NOOP("&3 Sync Placement"); + sToolTipText = QT_TR_NOOP("Adjusts the placement on drag-and-drop of objects across coordinate systems (e.g. in part containers)"); sStatusTip = sToolTipText; sWhatsThis = "Std_TreeSyncPlacement"; sPixmap = "tree-sync-pla"; @@ -3446,7 +3446,7 @@ StdTreePreSelection::StdTreePreSelection() { sGroup = "TreeView"; sMenuText = QT_TR_NOOP("&4 Preselection"); - sToolTipText = QT_TR_NOOP("Preselect the object in 3D view when hovering the cursor over the tree item"); + sToolTipText = QT_TR_NOOP("Pre-selects the object in 3D view when hovering the cursor over the tree item"); sStatusTip = sToolTipText; sWhatsThis = "Std_TreePreSelection"; sPixmap = "tree-pre-sel"; @@ -3463,8 +3463,8 @@ StdTreeRecordSelection::StdTreeRecordSelection() : Command("Std_TreeRecordSelection") { sGroup = "TreeView"; - sMenuText = QT_TR_NOOP("&5 Record selection"); - sToolTipText = QT_TR_NOOP("Record selection in tree view in order to go back/forward using navigation button"); + sMenuText = QT_TR_NOOP("&5 Record Selection"); + sToolTipText = QT_TR_NOOP("Records the selection in the tree view in order to go back/forward using the navigation buttons"); sStatusTip = sToolTipText; sWhatsThis = "Std_TreeRecordSelection"; sPixmap = "tree-rec-sel"; @@ -3481,8 +3481,8 @@ StdTreeDrag::StdTreeDrag() : Command("Std_TreeDrag") { sGroup = "TreeView"; - sMenuText = QT_TR_NOOP("Initiate &dragging"); - sToolTipText = QT_TR_NOOP("Initiate dragging of current selected tree items"); + sMenuText = QT_TR_NOOP("Initiate &Dragging"); + sToolTipText = QT_TR_NOOP("Initiates dragging of the currently selected tree items"); sStatusTip = sToolTipText; sWhatsThis = "Std_TreeDrag"; sPixmap = "tree-item-drag"; @@ -3514,10 +3514,10 @@ public: :GroupCommand("Std_TreeViewActions") { sGroup = "TreeView"; - sMenuText = QT_TR_NOOP("TreeView actions"); - sToolTipText = QT_TR_NOOP("TreeView behavior options and actions"); + sMenuText = QT_TR_NOOP("Tree View Actions"); + sToolTipText = QT_TR_NOOP("Tree view behavior options and actions"); sWhatsThis = "Std_TreeViewActions"; - sStatusTip = QT_TR_NOOP("TreeView behavior options and actions"); + sStatusTip = sToolTipText; eType = 0; bCanLog = false; @@ -3556,10 +3556,10 @@ StdCmdSelBoundingBox::StdCmdSelBoundingBox() :Command("Std_SelBoundingBox") { sGroup = "View"; - sMenuText = QT_TR_NOOP("&Bounding box"); - sToolTipText = QT_TR_NOOP("Show selection bounding box"); + sMenuText = QT_TR_NOOP("&Bounding Box"); + sToolTipText = QT_TR_NOOP("Shows selection bounding box"); sWhatsThis = "Std_SelBoundingBox"; - sStatusTip = QT_TR_NOOP("Show selection bounding box"); + sStatusTip = sToolTipText; sPixmap = "sel-bbox"; eType = Alter3DView; } @@ -3601,8 +3601,8 @@ StdCmdDockOverlayAll::StdCmdDockOverlayAll() :Command("Std_DockOverlayAll") { sGroup = "View"; - sMenuText = QT_TR_NOOP("Toggle overl&ay for all"); - sToolTipText = QT_TR_NOOP("Toggle overlay mode for all docked windows"); + sMenuText = QT_TR_NOOP("Toggle Overl&ay for all Panels"); + sToolTipText = QT_TR_NOOP("Toggled overlay mode for all docked panels"); sWhatsThis = "Std_DockOverlayAll"; sStatusTip = sToolTipText; sAccel = "F4"; @@ -3625,9 +3625,9 @@ StdCmdDockOverlayTransparentAll::StdCmdDockOverlayTransparentAll() :Command("Std_DockOverlayTransparentAll") { sGroup = "View"; - sMenuText = QT_TR_NOOP("Toggle tra&nsparent for all"); - sToolTipText = QT_TR_NOOP("Toggle transparent mode for all docked overlay windows.\n" - "This makes the docked windows stay transparent at all times."); + sMenuText = QT_TR_NOOP("Toggle Tra&nsparent Panels"); + sToolTipText = QT_TR_NOOP("Toggles transparent mode for all docked overlay panels.\n" + "This makes the docked panels stay transparent at all times."); sWhatsThis = "Std_DockOverlayTransparentAll"; sStatusTip = sToolTipText; sAccel = "SHIFT+F4"; @@ -3650,8 +3650,8 @@ StdCmdDockOverlayToggle::StdCmdDockOverlayToggle() :Command("Std_DockOverlayToggle") { sGroup = "View"; - sMenuText = QT_TR_NOOP("Toggle &overlay"); - sToolTipText = QT_TR_NOOP("Toggle overlay mode for the docked window under the cursor"); + sMenuText = QT_TR_NOOP("Toggle &Overlay"); + sToolTipText = QT_TR_NOOP("Toggles overlay mode for the docked window under the cursor"); sWhatsThis = "Std_DockOverlayToggle"; sStatusTip = sToolTipText; sAccel = "F3"; @@ -3674,9 +3674,9 @@ StdCmdDockOverlayToggleTransparent::StdCmdDockOverlayToggleTransparent() :Command("Std_DockOverlayToggleTransparent") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Toggle tran&sparent mode"); - sToolTipText = QT_TR_NOOP("Toggle transparent mode for the docked window under cursor.\n" - "This makes the docked window stay transparent at all times."); + sMenuText = QT_TR_NOOP("Toggle Tran&sparent Mode"); + sToolTipText = QT_TR_NOOP("Toggles transparent mode for the docked panel under cursor.\n" + "This makes the docked panel stay transparent at all times."); sWhatsThis = "Std_DockOverlayToggleTransparent"; sStatusTip = sToolTipText; sAccel = "SHIFT+F3"; @@ -3699,8 +3699,8 @@ StdCmdDockOverlayToggleLeft::StdCmdDockOverlayToggleLeft() :Command("Std_DockOverlayToggleLeft") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Toggle &left"); - sToolTipText = QT_TR_NOOP("Show/hide left overlay panel"); + sMenuText = QT_TR_NOOP("Toggle &Left"); + sToolTipText = QT_TR_NOOP("Toggles the visibility of the left overlay panel"); sWhatsThis = "Std_DockOverlayToggleLeft"; sStatusTip = sToolTipText; sAccel = "Ctrl+Left"; @@ -3724,8 +3724,8 @@ StdCmdDockOverlayToggleRight::StdCmdDockOverlayToggleRight() :Command("Std_DockOverlayToggleRight") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Toggle &right"); - sToolTipText = QT_TR_NOOP("Show/hide right overlay panel"); + sMenuText = QT_TR_NOOP("Toggle &Right"); + sToolTipText = QT_TR_NOOP("Toggles the visibility of the right overlay panel"); sWhatsThis = "Std_DockOverlayToggleRight"; sStatusTip = sToolTipText; sAccel = "Ctrl+Right"; @@ -3749,8 +3749,8 @@ StdCmdDockOverlayToggleTop::StdCmdDockOverlayToggleTop() :Command("Std_DockOverlayToggleTop") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Toggle &top"); - sToolTipText = QT_TR_NOOP("Show/hide top overlay panel"); + sMenuText = QT_TR_NOOP("Toggle &Top"); + sToolTipText = QT_TR_NOOP("Toggles the visibility of the top overlay panel"); sWhatsThis = "Std_DockOverlayToggleTop"; sStatusTip = sToolTipText; sAccel = "Ctrl+Up"; @@ -3774,8 +3774,8 @@ StdCmdDockOverlayToggleBottom::StdCmdDockOverlayToggleBottom() :Command("Std_DockOverlayToggleBottom") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("Toggle &bottom"); - sToolTipText = QT_TR_NOOP("Show/hide bottom overlay panel"); + sMenuText = QT_TR_NOOP("Toggle &Bottom"); + sToolTipText = QT_TR_NOOP("Toggles the visibility of the bottom overlay panel"); sWhatsThis = "Std_DockOverlayToggleBottom"; sStatusTip = sToolTipText; sAccel = "Ctrl+Down"; @@ -3799,8 +3799,8 @@ StdCmdDockOverlayMouseTransparent::StdCmdDockOverlayMouseTransparent() :Command("Std_DockOverlayMouseTransparent") { sGroup = "View"; - sMenuText = QT_TR_NOOP("Bypass &mouse events in docked overlay windows"); - sToolTipText = QT_TR_NOOP("Bypass all mouse events in docked overlay windows"); + sMenuText = QT_TR_NOOP("Bypass &Mouse Events in Overlay Panels"); + sToolTipText = QT_TR_NOOP("Bypasses all mouse events in docked overlay panels"); sWhatsThis = "Std_DockOverlayMouseTransparent"; sStatusTip = sToolTipText; sAccel = "T, T"; @@ -3841,8 +3841,8 @@ public: :GroupCommand("Std_DockOverlay") { sGroup = "View"; - sMenuText = QT_TR_NOOP("Dock panel overlay"); - sToolTipText = QT_TR_NOOP("Setting docked panel overlay mode"); + sMenuText = QT_TR_NOOP("Overlay Docked Panel"); + sToolTipText = QT_TR_NOOP("Sets the docked panel in overlay mode"); sWhatsThis = "Std_DockOverlay"; sStatusTip = sToolTipText; eType = 0; @@ -3873,9 +3873,9 @@ StdStoreWorkingView::StdStoreWorkingView() : Command("Std_StoreWorkingView") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("St&ore working view"); - sToolTipText = QT_TR_NOOP("Store a document-specific temporary working view"); - sStatusTip = QT_TR_NOOP("Store a document-specific temporary working view"); + sMenuText = QT_TR_NOOP("St&ore Working View"); + sToolTipText = QT_TR_NOOP("Stores a temporary working view for the current document"); + sStatusTip = sToolTipText; sWhatsThis = "Std_StoreWorkingView"; sAccel = "Shift+End"; eType = NoTransaction; @@ -3903,9 +3903,9 @@ StdRecallWorkingView::StdRecallWorkingView() : Command("Std_RecallWorkingView") { sGroup = "Standard-View"; - sMenuText = QT_TR_NOOP("R&ecall working view"); - sToolTipText = QT_TR_NOOP("Recall previously stored temporary working view"); - sStatusTip = QT_TR_NOOP("Recall previously stored temporary working view"); + sMenuText = QT_TR_NOOP("R&ecall Working View"); + sToolTipText = QT_TR_NOOP("Recalls a previously stored temporary working view"); + sStatusTip = sToolTipText; sWhatsThis = "Std_RecallWorkingView"; sAccel = "End"; eType = NoTransaction; @@ -3935,8 +3935,8 @@ StdCmdAlignToSelection::StdCmdAlignToSelection() : Command("Std_AlignToSelection") { sGroup = "View"; - sMenuText = QT_TR_NOOP("&Align to selection"); - sToolTipText = QT_TR_NOOP("Align the view with the selection"); + sMenuText = QT_TR_NOOP("&Align to Selection"); + sToolTipText = QT_TR_NOOP("Aligns the camera view to the selected elements in the 3D view"); sWhatsThis = "Std_AlignToSelection"; sPixmap = "align-to-selection"; eType = Alter3DView; diff --git a/src/Gui/CommandWindow.cpp b/src/Gui/CommandWindow.cpp index 284299abdb..43b1cd5078 100644 --- a/src/Gui/CommandWindow.cpp +++ b/src/Gui/CommandWindow.cpp @@ -54,9 +54,9 @@ StdCmdTileWindows::StdCmdTileWindows() { sGroup = "Window"; sMenuText = QT_TR_NOOP("&Tile"); - sToolTipText = QT_TR_NOOP("Tile the windows"); + sToolTipText = QT_TR_NOOP("Tiles the windows"); sWhatsThis = "Std_TileWindows"; - sStatusTip = QT_TR_NOOP("Tile the windows"); + sStatusTip = sToolTipText; sPixmap = "Std_WindowTileVer"; eType = 0; } @@ -82,9 +82,9 @@ StdCmdCascadeWindows::StdCmdCascadeWindows() { sGroup = "Window"; sMenuText = QT_TR_NOOP("&Cascade"); - sToolTipText = QT_TR_NOOP("Tile pragmatic"); + sToolTipText = QT_TR_NOOP("Tiles pragmatic"); sWhatsThis = "Std_CascadeWindows"; - sStatusTip = QT_TR_NOOP("Tile pragmatic"); + sStatusTip = sToolTipText; sPixmap = "Std_WindowCascade"; eType = 0; } @@ -110,9 +110,9 @@ StdCmdCloseActiveWindow::StdCmdCloseActiveWindow() { sGroup = "Window"; sMenuText = QT_TR_NOOP("&Close"); - sToolTipText = QT_TR_NOOP("Close active window"); + sToolTipText = QT_TR_NOOP("Closes the active window"); sWhatsThis = "Std_CloseActiveWindow"; - sStatusTip = QT_TR_NOOP("Close active window"); + sStatusTip = sToolTipText; // In QMdiSubWindow the 'QKeySequence::Close' shortcut is set which will // collide with this shortcut. Thus the shortcut of QMdiSubWindow will be // reset in MainWindow::addWindow() (#0002631) @@ -142,9 +142,9 @@ StdCmdCloseAllWindows::StdCmdCloseAllWindows() { sGroup = "Window"; sMenuText = QT_TR_NOOP("Close A&ll"); - sToolTipText = QT_TR_NOOP("Close all windows"); + sToolTipText = QT_TR_NOOP("Closes all windows"); sWhatsThis = "Std_CloseAllWindows"; - sStatusTip = QT_TR_NOOP("Close all windows"); + sStatusTip = sToolTipText; sPixmap = "Std_CloseAllWindows"; eType = NoTransaction; } @@ -170,9 +170,9 @@ StdCmdActivateNextWindow::StdCmdActivateNextWindow() { sGroup = "Window"; sMenuText = QT_TR_NOOP("&Next"); - sToolTipText = QT_TR_NOOP("Activate next window"); + sToolTipText = QT_TR_NOOP("Activates the next window"); sWhatsThis = "Std_ActivateNextWindow"; - sStatusTip = QT_TR_NOOP("Activate next window"); + sStatusTip = sToolTipText; sPixmap = "Std_WindowNext"; sAccel = keySequenceToAccel(QKeySequence::NextChild); eType = 0; @@ -199,9 +199,9 @@ StdCmdActivatePrevWindow::StdCmdActivatePrevWindow() { sGroup = "Window"; sMenuText = QT_TR_NOOP("&Previous"); - sToolTipText = QT_TR_NOOP("Activate previous window"); + sToolTipText = QT_TR_NOOP("Switches to the previously active window"); sWhatsThis = "Std_ActivatePrevWindow"; - sStatusTip = QT_TR_NOOP("Activate previous window"); + sStatusTip = sToolTipText; sPixmap = "Std_WindowPrev"; // Depending on the OS 'QKeySequence::PreviousChild' gives // Ctrl+Shift+Backtab instead of Ctrl+Shift+Tab which leads @@ -232,10 +232,11 @@ StdCmdWindows::StdCmdWindows() : Command("Std_Windows") { sGroup = "Window"; - sMenuText = QT_TR_NOOP("&Windows..."); - sToolTipText = QT_TR_NOOP("Windows list"); + sMenuText = QT_TR_NOOP("Choose Open &Window"); + + sToolTipText = QT_TR_NOOP("Displays the open windows"); sWhatsThis = "Std_Windows"; - sStatusTip = QT_TR_NOOP("Windows list"); + sStatusTip = sToolTipText; sPixmap = "Std_Windows"; eType = 0; } @@ -256,10 +257,10 @@ StdCmdUserInterface::StdCmdUserInterface() : Command("Std_UserInterface") { sGroup = "View"; - sMenuText = QT_TR_NOOP("Dock views"); - sToolTipText = QT_TR_NOOP("Dock all top-level views"); + sMenuText = QT_TR_NOOP("Dock Views"); + sToolTipText = QT_TR_NOOP("Docks all top-level views"); sWhatsThis = "Std_UserInterface"; - sStatusTip = QT_TR_NOOP("Dock all top-level views"); + sStatusTip = sToolTipText; eType = 0; } @@ -279,9 +280,9 @@ StdCmdDockViewMenu::StdCmdDockViewMenu() { sGroup = "View"; sMenuText = QT_TR_NOOP("&Panels"); - sToolTipText = QT_TR_NOOP("List of available dock panels"); + sToolTipText = QT_TR_NOOP("Lists available dock panels"); sWhatsThis = "Std_DockViewMenu"; - sStatusTip = QT_TR_NOOP("List of available dock panels"); + sStatusTip = sToolTipText; eType = 0; } @@ -317,7 +318,7 @@ StdCmdToolBarMenu::StdCmdToolBarMenu() sMenuText = QT_TR_NOOP("&Toolbars"); sToolTipText = QT_TR_NOOP("Toggles this window"); sWhatsThis = "Std_ToolBarMenu"; - sStatusTip = QT_TR_NOOP("Toggles this window"); + sStatusTip = sToolTipText; eType = 0; } @@ -349,10 +350,10 @@ StdCmdToggleToolBarLock::StdCmdToggleToolBarLock() :Command("Std_ToggleToolBarLock") { sGroup = "Tools"; - sMenuText = QT_TR_NOOP("Lock toolbars"); - sToolTipText = QT_TR_NOOP("Lock toolbars so they are no longer moveable"); + sMenuText = QT_TR_NOOP("Lock Toolbars"); + sToolTipText = QT_TR_NOOP("Locks toolbars so they are no longer moveable"); sWhatsThis = "Std_ToggleToolBarLock"; - sStatusTip = QT_TR_NOOP("Lock toolbars so they are no longer moveable"); + sStatusTip = sToolTipText; eType = 0; } @@ -409,10 +410,10 @@ StdCmdStatusBar::StdCmdStatusBar() : Command("Std_ViewStatusBar") { sGroup = "View"; - sMenuText = QT_TR_NOOP("Status bar"); + sMenuText = QT_TR_NOOP("Status Bar"); sToolTipText = QT_TR_NOOP("Toggles the status bar"); sWhatsThis = "Std_ViewStatusBar"; - sStatusTip = QT_TR_NOOP("Toggles the status bar"); + sStatusTip = sToolTipText; eType = 0; } @@ -455,10 +456,10 @@ StdCmdWindowsMenu::StdCmdWindowsMenu() : Command("Std_WindowsMenu") { sGroup = "Window"; - sMenuText = QT_TR_NOOP("Activate window"); // Replaced with the name of the window + sMenuText = QT_TR_NOOP("Activate Window"); // Replaced with the name of the window sToolTipText = QT_TR_NOOP("Activates this window"); sWhatsThis = "Std_WindowsMenu"; - sStatusTip = QT_TR_NOOP("Activates this window"); + sStatusTip = sToolTipText; eType = 0; } diff --git a/src/Gui/DAGView/DAGModel.cpp b/src/Gui/DAGView/DAGModel.cpp index 4428d44d70..43d69b24b8 100644 --- a/src/Gui/DAGView/DAGModel.cpp +++ b/src/Gui/DAGView/DAGModel.cpp @@ -125,15 +125,15 @@ Model::Model(QObject *parentIn, const Gui::Document &documentIn) : QGraphicsScen renameAction = new QAction(this); renameAction->setText(tr("Rename")); - renameAction->setStatusTip(tr("Rename object")); + renameAction->setStatusTip(tr("Renames the object")); #ifndef Q_OS_MAC renameAction->setShortcut(Qt::Key_F2); #endif connect(renameAction, &QAction::triggered, this, &Model::renameAcceptedSlot); editingFinishedAction = new QAction(this); - editingFinishedAction->setText(tr("Finish editing")); - editingFinishedAction->setStatusTip(tr("Finish editing object")); + editingFinishedAction->setText(tr("Finish Editing")); + editingFinishedAction->setStatusTip(tr("Finishes editing the object")); connect(this->editingFinishedAction, &QAction::triggered, this, &Model::editingFinishedSlot); diff --git a/src/Gui/Dialogs/AboutApplication.ui b/src/Gui/Dialogs/AboutApplication.ui index d8b4daa7fd..34d61cc78b 100644 --- a/src/Gui/Dialogs/AboutApplication.ui +++ b/src/Gui/Dialogs/AboutApplication.ui @@ -222,7 +222,7 @@" + QT_TRANSLATE_NOOP( "Assembly_CreateBom", - "Create a bill of materials of the current assembly. If an assembly is active, it will be a BOM of this assembly. Else it will be a BOM of the whole document.", + "Creates a bill of materials of the current assembly. If an assembly is active, it will be a BOM of this assembly. Else it will be a BOM of the whole document.", ) + "
" + QT_TRANSLATE_NOOP( "Assembly_CreateBom", - "The BOM object is a document object that stores the settings of your BOM. It is also a spreadsheet object so you can easily visualize the BOM. If you don't need the BOM object to be saved as a document object, you can simply export and cancel the task.", + "The BOM object is a document object that stores the settings of your BOM. It is also a spreadsheet object so you can easily visualize the BOM. If you do not need the BOM object to be saved as a document object, you can simply export and cancel the task.", ) + "
" + QT_TRANSLATE_NOOP( @@ -370,28 +370,28 @@ class TaskAssemblyCreateBom(QtCore.QObject): layout = QtWidgets.QVBoxLayout() layout.setContentsMargins(10, 10, 10, 10) - options_title = QtWidgets.QLabel("" + translate("Assembly", "Options:") + "") + options_title = QtWidgets.QLabel("" + translate("Assembly", "Options") + "") options_text = QtWidgets.QLabel( " - " + translate( "Assembly", - "Sub-assemblies children : If checked, Sub assemblies children will be added to the bill of materials.", + "Sub-assembly children: the children of sub-assemblies will be included in the bill of materials", ) + "\n" " - " + translate( "Assembly", - "Parts children : If checked, Parts children will be added to the bill of materials.", + "Parts children: the children of parts will be added to the bill of materials", ) + "\n" " - " + translate( "Assembly", - "Only parts : If checked, only Part containers and sub-assemblies will be added to the bill of materials. Solids like PartDesign Bodies, fasteners or Part workbench primitives will be ignored.", + "Only parts: adds only part containers and sub-assemblies to the bill of materials. Solids like Part Design bodies, fasteners, or Part workbench primitives are ignored.", ) + "\n" ) - columns_title = QtWidgets.QLabel("" + translate("Assembly", "Columns:") + "") + columns_title = QtWidgets.QLabel("" + translate("Assembly", "Columns") + "") columns_text = QtWidgets.QLabel( " - " + translate( @@ -402,22 +402,22 @@ class TaskAssemblyCreateBom(QtCore.QObject): " - " + translate( "Assembly", - "Custom columns : 'Description' and other custom columns you add by clicking on 'Add column' will not have their data overwritten. If a column name starts with '.' followed by a property name (e.g. '.Length'), it will be auto-populated with that property value. These columns can be renamed by double-clicking or pressing F2 (Renaming a column will currently lose its data).", + "Custom columns : 'Description' and other custom columns you add by clicking on 'Add column' will not have their data overwritten. If a column name starts with '.' followed by a property name (e.g. '.Length'), it will be auto-populated with that property value. These columns can be renamed by double-clicking or pressing F2 (renaming a column will currently lose its data).", ) + "\n" "\n" + translate( "Assembly", - "Any column (custom or not) can be deleted by pressing Del.", + "Any column (custom or not), can be deleted by pressing the Delete key", ) + "\n" ) - export_title = QtWidgets.QLabel("" + translate("Assembly", "Export:") + "") + export_title = QtWidgets.QLabel("" + translate("Assembly", "Export") + "") export_text = QtWidgets.QLabel( " - " + translate( "Assembly", - "The exported file format can be customized in the Spreadsheet workbench preferences.", + "The exported file format can be customized in the Spreadsheet workbench preferences", ) + "\n" ) diff --git a/src/Mod/Assembly/CommandCreateJoint.py b/src/Mod/Assembly/CommandCreateJoint.py index e4ba97910c..57ddbfb863 100644 --- a/src/Mod/Assembly/CommandCreateJoint.py +++ b/src/Mod/Assembly/CommandCreateJoint.py @@ -68,24 +68,23 @@ class CommandCreateJointFixed: pass def GetResources(self): - return { "Pixmap": "Assembly_CreateJointFixed", "MenuText": QT_TRANSLATE_NOOP( "Assembly_CreateJointFixed", - "Create Fixed Joint", + "Fixed Joint", ), "Accel": "F", "ToolTip": "
" + QT_TRANSLATE_NOOP( "Assembly_CreateJointFixed", - "1 - If an assembly is active : Create a joint permanently locking two parts together, preventing any movement or rotation.", + "1 - If an assembly is active : Creates a joint permanently locking two parts together, preventing any movement or rotation", ) + "
" + "" + QT_TRANSLATE_NOOP( "Assembly_CreateJointFixed", - "2 - If a part is active : Position sub parts by matching selected coordinate systems. The second part selected will move.", + "2 - If a part is active: Positions sub-parts by matching selected coordinate systems. The second part selected will move.", ) + "
", "CmdType": "ForEdit", @@ -106,15 +105,14 @@ class CommandCreateJointRevolute: pass def GetResources(self): - return { "Pixmap": "Assembly_CreateJointRevolute", - "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointRevolute", "Create Revolute Joint"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointRevolute", "Revolute Joint"), "Accel": "R", "ToolTip": "" + QT_TRANSLATE_NOOP( "Assembly_CreateJointRevolute", - "Create a Revolute Joint: Allows rotation around a single axis between selected parts.", + "Creates a revolute joint allowing rotation around a single axis between selected parts", ) + "
", "CmdType": "ForEdit", @@ -132,17 +130,14 @@ class CommandCreateJointCylindrical: pass def GetResources(self): - return { "Pixmap": "Assembly_CreateJointCylindrical", - "MenuText": QT_TRANSLATE_NOOP( - "Assembly_CreateJointCylindrical", "Create Cylindrical Joint" - ), + "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointCylindrical", "Cylindrical Joint"), "Accel": "C", "ToolTip": "" + QT_TRANSLATE_NOOP( "Assembly_CreateJointCylindrical", - "Create a Cylindrical Joint: Enables rotation along one axis while permitting movement along the same axis between assembled parts.", + "Creates a cylindrical joint that allows rotation around and translation along a single axis between assembled parts", ) + "
", "CmdType": "ForEdit", @@ -160,15 +155,14 @@ class CommandCreateJointSlider: pass def GetResources(self): - return { "Pixmap": "Assembly_CreateJointSlider", - "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointSlider", "Create Slider Joint"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointSlider", "Slider Joint"), "Accel": "S", "ToolTip": "" + QT_TRANSLATE_NOOP( "Assembly_CreateJointSlider", - "Create a Slider Joint: Allows linear movement along a single axis but restricts rotation between selected parts.", + "Creates a slider joint that allows linear movement along a single axis, but restricts rotation between selected parts", ) + "
", "CmdType": "ForEdit", @@ -186,15 +180,14 @@ class CommandCreateJointBall: pass def GetResources(self): - return { "Pixmap": "Assembly_CreateJointBall", - "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointBall", "Create Ball Joint"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointBall", "Ball Joint"), "Accel": "B", "ToolTip": "" + QT_TRANSLATE_NOOP( "Assembly_CreateJointBall", - "Create a Ball Joint: Connects parts at a point, allowing unrestricted movement as long as the connection points remain in contact.", + "Creates a ball joint that connects parts at a point, allowing unrestricted movement as long as the connection points remain in contact", ) + "
", "CmdType": "ForEdit", @@ -212,20 +205,19 @@ class CommandCreateJointDistance: pass def GetResources(self): - return { "Pixmap": "Assembly_CreateJointDistance", - "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointDistance", "Create Distance Joint"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointDistance", "Distance Joint"), "Accel": "D", "ToolTip": "" + QT_TRANSLATE_NOOP( "Assembly_CreateJointDistance", - "Create a Distance Joint: Fix the distance between the selected objects.", + "Creates a distance joint that fixes the distance between the selected objects", ) + "
" + QT_TRANSLATE_NOOP( "Assembly_CreateJointDistance", - "Create one of several different joints based on the selection. " + "Creates one of several different joints based on the selection" "For example, a distance of 0 between a plane and a cylinder creates a tangent joint. A distance of 0 between planes will make them co-planar.", ) + "
", @@ -244,15 +236,14 @@ class CommandCreateJointParallel: pass def GetResources(self): - return { "Pixmap": "Assembly_CreateJointParallel", - "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointParallel", "Create Parallel Joint"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointParallel", "Parallel Joint"), "Accel": "N", "ToolTip": "" + QT_TRANSLATE_NOOP( "Assembly_CreateJointParallel", - "Create an Parallel Joint: Make the Z axis of selected coordinate systems parallel.", + "Creates a parallel joint that makes the Z-axis of the selected coordinate systems parallel", ) + "
", "CmdType": "ForEdit", @@ -270,17 +261,16 @@ class CommandCreateJointPerpendicular: pass def GetResources(self): - return { "Pixmap": "Assembly_CreateJointPerpendicular", "MenuText": QT_TRANSLATE_NOOP( - "Assembly_CreateJointPerpendicular", "Create Perpendicular Joint" + "Assembly_CreateJointPerpendicular", "Perpendicular Joint" ), "Accel": "M", "ToolTip": "" + QT_TRANSLATE_NOOP( "Assembly_CreateJointPerpendicular", - "Create an Perpendicular Joint: Make the Z axis of selected coordinate systems perpendicular.", + "Creates a perpendicular joint that makes the Z-axis of the selected coordinate systems perpendicular", ) + "
", "CmdType": "ForEdit", @@ -298,15 +288,14 @@ class CommandCreateJointAngle: pass def GetResources(self): - return { "Pixmap": "Assembly_CreateJointAngle", - "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointAngle", "Create Angle Joint"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointAngle", "Angle Joint"), "Accel": "X", "ToolTip": "" + QT_TRANSLATE_NOOP( "Assembly_CreateJointAngle", - "Create an Angle Joint: Fix the angle between the Z axis of selected coordinate systems.", + "Creates an angle joint that fixes the angle between the Z-axis of the selected coordinate systems", ) + "
", "CmdType": "ForEdit", @@ -324,22 +313,21 @@ class CommandCreateJointRackPinion: pass def GetResources(self): - return { "Pixmap": "Assembly_CreateJointRackPinion", "MenuText": QT_TRANSLATE_NOOP( - "Assembly_CreateJointRackPinion", "Create Rack and Pinion Joint" + "Assembly_CreateJointRackPinion", "Rack and Pinion Joint" ), "Accel": "Q", "ToolTip": "" + QT_TRANSLATE_NOOP( "Assembly_CreateJointRackPinion", - "Create a Rack and Pinion Joint: Links a part with a sliding joint with a part with a revolute joint.", + "Creates a rack and pinion joint that links a part with a sliding joint to a part with a revolute joint", ) + "
" + QT_TRANSLATE_NOOP( "Assembly_CreateJointRackPinion", - "Select the same coordinate systems as the revolute and sliding joints. The pitch radius defines the movement ratio between the rack and the pinion.", + "Selects the same coordinate systems as the revolute and sliding joints. The pitch radius defines the movement ratio between the rack and the pinion.", ) + "
", "CmdType": "ForEdit", @@ -357,15 +345,14 @@ class CommandCreateJointScrew: pass def GetResources(self): - return { "Pixmap": "Assembly_CreateJointScrew", - "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointScrew", "Create Screw Joint"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointScrew", "Screw Joint"), "Accel": "W", "ToolTip": "" + QT_TRANSLATE_NOOP( "Assembly_CreateJointScrew", - "Create a Screw Joint: Links a part with a sliding joint with a part with a revolute joint.", + "Creates a screw joint that links a part with a sliding joint to a part with a revolute joint", ) + "
" + QT_TRANSLATE_NOOP( @@ -388,15 +375,14 @@ class CommandCreateJointGears: pass def GetResources(self): - return { "Pixmap": "Assembly_CreateJointGears", - "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointGears", "Create Gears Joint"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointGears", "Gears Joint"), "Accel": "T", "ToolTip": "
" + QT_TRANSLATE_NOOP( "Assembly_CreateJointGears", - "Create a Gears Joint: Links two rotating gears together. They will have inverse rotation direction.", + "Creates a gears joint that links 2 rotating gears together. They will have inverse rotation direction.", ) + "
" + QT_TRANSLATE_NOOP( @@ -419,15 +405,14 @@ class CommandCreateJointBelt: pass def GetResources(self): - return { "Pixmap": "Assembly_CreateJointPulleys", - "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointBelt", "Create Belt Joint"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointBelt", "Belt Joint"), "Accel": "L", "ToolTip": "
" + QT_TRANSLATE_NOOP( "Assembly_CreateJointBelt", - "Create a Belt Joint: Links two rotating objects together. They will have the same rotation direction.", + "Creates a belt joint that links 2 rotating objects together. They will have the same rotation direction.", ) + "
" + QT_TRANSLATE_NOOP( @@ -451,14 +436,13 @@ class CommandGroupGearBelt: def GetResources(self): """Set icon, menu and tooltip.""" - return { "Pixmap": "Assembly_CreateJointGears", - "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointGearBelt", "Create Gear/Belt Joint"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateJointGearBelt", "Gears/Belt Joint"), "ToolTip": "
" + QT_TRANSLATE_NOOP( "Assembly_CreateJointGearBelt", - "Create a Gears/Belt Joint: Links two rotating gears together.", + "Creates a gears or belt joint that links 2 rotating gears together", ) + "
" + QT_TRANSLATE_NOOP( @@ -496,15 +480,14 @@ class CommandToggleGrounded: pass def GetResources(self): - return { "Pixmap": "Assembly_ToggleGrounded", - "MenuText": QT_TRANSLATE_NOOP("Assembly_ToggleGrounded", "Toggle grounded"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_ToggleGrounded", "Toggle Grounded"), "Accel": "G", "ToolTip": "
" + QT_TRANSLATE_NOOP( "Assembly_ToggleGrounded", - "Grounding a part permanently locks its position in the assembly, preventing any movement or rotation. You need at least one grounded part before starting to assemble.", + "Toggles the grounding of a part.\nGrounding a part permanently locks its position in the assembly, preventing any movement or rotation. You need at least one grounded part before starting to assemble.", ) + "
", "CmdType": "ForEdit", diff --git a/src/Mod/Assembly/CommandCreateSimulation.py b/src/Mod/Assembly/CommandCreateSimulation.py index b074172d2a..3e04debab6 100644 --- a/src/Mod/Assembly/CommandCreateSimulation.py +++ b/src/Mod/Assembly/CommandCreateSimulation.py @@ -64,12 +64,12 @@ class CommandCreateSimulation: def GetResources(self): return { "Pixmap": "Assembly_CreateSimulation", - "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateSimulation", "Create Simulation"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateSimulation", "Simulation"), "Accel": "V", "ToolTip": "" + QT_TRANSLATE_NOOP( "Assembly_CreateSimulation", - "Create a simulation of the current assembly.", + "Creates a new simulation of the current assembly", ) + "
", "CmdType": "ForEdit", @@ -495,13 +495,13 @@ class MotionEditDialog: layout = QGridLayout(self.dialog) # Add labels and widgets to the layout - layout.addWidget(QLabel("Joint:"), 0, 0) + layout.addWidget(QLabel("Joint"), 0, 0) layout.addWidget(self.joint_combo, 0, 1) - layout.addWidget(QLabel("Motion Type:"), 1, 0) + layout.addWidget(QLabel("Motion Type"), 1, 0) layout.addWidget(self.motion_type_combo, 1, 1) - layout.addWidget(QLabel("Formula:"), 2, 0) + layout.addWidget(QLabel("Formula"), 2, 0) layout.addWidget(formula_edit, 2, 1) # Add the help label above the buttons diff --git a/src/Mod/Assembly/CommandCreateView.py b/src/Mod/Assembly/CommandCreateView.py index 6cbac7cad6..3c8964d767 100644 --- a/src/Mod/Assembly/CommandCreateView.py +++ b/src/Mod/Assembly/CommandCreateView.py @@ -51,12 +51,12 @@ class CommandCreateView: def GetResources(self): return { "Pixmap": "Assembly_ExplodedView", - "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateView", "Create Exploded View"), + "MenuText": QT_TRANSLATE_NOOP("Assembly_CreateView", "Exploded View"), "Accel": "E", "ToolTip": "" + QT_TRANSLATE_NOOP( "Assembly_CreateView", - "Create an exploded view of the current assembly.", + "Creates an exploded view of the current assembly", ) + "
", "CmdType": "ForEdit", diff --git a/src/Mod/Assembly/CommandInsertLink.py b/src/Mod/Assembly/CommandInsertLink.py index ff2b694ab7..46d160acf1 100644 --- a/src/Mod/Assembly/CommandInsertLink.py +++ b/src/Mod/Assembly/CommandInsertLink.py @@ -46,7 +46,7 @@ tooltip = ( "" + QT_TRANSLATE_NOOP( "Assembly_InsertLink", - "Insert a component into the active assembly. This will create dynamic links to parts, bodies, primitives, and assemblies. To insert external components, make sure that the file is open in the current session", + "Inserts a component into the active assembly. This will create dynamic links to parts, bodies, primitives, and assemblies. To insert external components, make sure that the file is open in the current session", ) + "
" + QT_TRANSLATE_NOOP( @@ -137,7 +137,7 @@ class TaskAssemblyNewPart(JointObject.TaskAssemblyCreateJoint): translate("Assembly", "Save"), QtWidgets.QMessageBox.AcceptRole ) cancelButton = msgBox.addButton( - translate("Assembly", "Don't link"), QtWidgets.QMessageBox.RejectRole + translate("Assembly", "Do not link"), QtWidgets.QMessageBox.RejectRole ) msgBox.exec_() diff --git a/src/Mod/Assembly/CommandSolveAssembly.py b/src/Mod/Assembly/CommandSolveAssembly.py index 84b708fa27..4622655ead 100644 --- a/src/Mod/Assembly/CommandSolveAssembly.py +++ b/src/Mod/Assembly/CommandSolveAssembly.py @@ -52,7 +52,7 @@ class CommandSolveAssembly: "ToolTip": "
" + QT_TRANSLATE_NOOP( "Assembly_SolveAssembly", - "Solve the currently active assembly.", + "Solves the currently active assembly.", ) + "
", "CmdType": "ForEdit", diff --git a/src/Mod/Assembly/Gui/Resources/panels/TaskAssemblyCreateBom.ui b/src/Mod/Assembly/Gui/Resources/panels/TaskAssemblyCreateBom.ui index 6e58c74302..f6ad30d533 100644 --- a/src/Mod/Assembly/Gui/Resources/panels/TaskAssemblyCreateBom.ui +++ b/src/Mod/Assembly/Gui/Resources/panels/TaskAssemblyCreateBom.ui @@ -11,13 +11,13 @@