Gui: Adjust tooltips for improved translation
Tooltips should not be identical to the command menu entry, it prevents translators from translating them separately.
This commit is contained in:
@@ -2105,8 +2105,8 @@ StdCmdAxisCross::StdCmdAxisCross()
|
||||
{
|
||||
sGroup = "Standard-View";
|
||||
sMenuText = QT_TR_NOOP("Toggle axis cross");
|
||||
sToolTipText = QT_TR_NOOP("Toggle axis cross");
|
||||
sStatusTip = QT_TR_NOOP("Toggle axis 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");
|
||||
sWhatsThis = "Std_AxisCross";
|
||||
sPixmap = "Std_AxisCross";
|
||||
sAccel = "A,C";
|
||||
@@ -2428,9 +2428,9 @@ StdViewZoomIn::StdViewZoomIn()
|
||||
{
|
||||
sGroup = "Standard-View";
|
||||
sMenuText = QT_TR_NOOP("Zoom In");
|
||||
sToolTipText = QT_TR_NOOP("Zoom In");
|
||||
sToolTipText = QT_TR_NOOP("Increase the zoom factor by a fixed amount");
|
||||
sWhatsThis = "Std_ViewZoomIn";
|
||||
sStatusTip = QT_TR_NOOP("Zoom In");
|
||||
sStatusTip = QT_TR_NOOP("Increase the zoom factor by a fixed amount");
|
||||
sPixmap = "zoom-in";
|
||||
sAccel = keySequenceToAccel(QKeySequence::ZoomIn);
|
||||
eType = Alter3DView;
|
||||
@@ -2457,9 +2457,9 @@ StdViewZoomOut::StdViewZoomOut()
|
||||
{
|
||||
sGroup = "Standard-View";
|
||||
sMenuText = QT_TR_NOOP("Zoom Out");
|
||||
sToolTipText = QT_TR_NOOP("Zoom Out");
|
||||
sToolTipText = QT_TR_NOOP("Decrease the zoom factor by a fixed amount");
|
||||
sWhatsThis = "Std_ViewZoomOut";
|
||||
sStatusTip = QT_TR_NOOP("Zoom Out");
|
||||
sStatusTip = QT_TR_NOOP("Decrease the zoom factor by a fixed amount");
|
||||
sPixmap = "zoom-out";
|
||||
sAccel = keySequenceToAccel(QKeySequence::ZoomOut);
|
||||
eType = Alter3DView;
|
||||
@@ -2623,9 +2623,9 @@ StdViewBoxZoom::StdViewBoxZoom()
|
||||
{
|
||||
sGroup = "Standard-View";
|
||||
sMenuText = QT_TR_NOOP("Box zoom");
|
||||
sToolTipText = QT_TR_NOOP("Box zoom");
|
||||
sToolTipText = QT_TR_NOOP("Activate the box zoom tool");
|
||||
sWhatsThis = "Std_ViewBoxZoom";
|
||||
sStatusTip = QT_TR_NOOP("Box zoom");
|
||||
sStatusTip = QT_TR_NOOP("Activate the box zoom tool");
|
||||
sPixmap = "zoom-border";
|
||||
sAccel = "Ctrl+B";
|
||||
eType = Alter3DView;
|
||||
@@ -2693,9 +2693,9 @@ StdBoxSelection::StdBoxSelection()
|
||||
{
|
||||
sGroup = "Standard-View";
|
||||
sMenuText = QT_TR_NOOP("Box selection");
|
||||
sToolTipText = QT_TR_NOOP("Box selection");
|
||||
sToolTipText = QT_TR_NOOP("Activate the box selection tool");
|
||||
sWhatsThis = "Std_BoxSelection";
|
||||
sStatusTip = QT_TR_NOOP("Box selection");
|
||||
sStatusTip = QT_TR_NOOP("Activate the box selection tool");
|
||||
sPixmap = "edit-select-box";
|
||||
sAccel = "Shift+B";
|
||||
eType = AlterSelection;
|
||||
@@ -3123,9 +3123,9 @@ StdCmdMeasureDistance::StdCmdMeasureDistance()
|
||||
{
|
||||
sGroup = "View";
|
||||
sMenuText = QT_TR_NOOP("Measure distance");
|
||||
sToolTipText = QT_TR_NOOP("Measure distance");
|
||||
sToolTipText = QT_TR_NOOP("Activate the distance measurement tool");
|
||||
sWhatsThis = "Std_MeasureDistance";
|
||||
sStatusTip = QT_TR_NOOP("Measure distance");
|
||||
sStatusTip = QT_TR_NOOP("Activate the distance measurement tool");
|
||||
sPixmap = "view-measurement";
|
||||
eType = Alter3DView;
|
||||
}
|
||||
@@ -3302,7 +3302,7 @@ CmdViewMeasureClearAll::CmdViewMeasureClearAll()
|
||||
{
|
||||
sGroup = "Measure";
|
||||
sMenuText = QT_TR_NOOP("Clear measurement");
|
||||
sToolTipText = QT_TR_NOOP("Clear measurement");
|
||||
sToolTipText = QT_TR_NOOP("Clear all visible measurements");
|
||||
sWhatsThis = "View_Measure_Clear_All";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Part_Measure_Clear_All";
|
||||
@@ -3332,7 +3332,7 @@ CmdViewMeasureToggleAll::CmdViewMeasureToggleAll()
|
||||
{
|
||||
sGroup = "Measure";
|
||||
sMenuText = QT_TR_NOOP("Toggle measurement");
|
||||
sToolTipText = QT_TR_NOOP("Toggle measurement");
|
||||
sToolTipText = QT_TR_NOOP("Turn on or off the display of all measurements");
|
||||
sWhatsThis = "View_Measure_Toggle_All";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Part_Measure_Toggle_All";
|
||||
|
||||
Reference in New Issue
Block a user