Give std_SelBack and std_selforward proper names and tooltips.

This commit is contained in:
Paddle
2023-09-20 12:15:40 +02:00
parent 696a48d3b4
commit d8151af335

View File

@@ -3577,10 +3577,12 @@ StdCmdSelBack::StdCmdSelBack()
:Command("Std_SelBack")
{
sGroup = "View";
sMenuText = QT_TR_NOOP("&Back");
sToolTipText = QT_TR_NOOP("Go back to previous selection");
sMenuText = QT_TR_NOOP("Selection Back");
sToolTipText = QT_TR_NOOP("<p>The Std SelBack command restores the previous"
" recorded Tree view selection. Note that selections are only recorded if"
" Tree RecordSelection mode is switched on.</p>");
sWhatsThis = "Std_SelBack";
sStatusTip = QT_TR_NOOP("Go back to previous selection");
sStatusTip = sToolTipText;
sPixmap = "sel-back";
sAccel = "S, B";
eType = AlterSelection;
@@ -3607,10 +3609,12 @@ StdCmdSelForward::StdCmdSelForward()
:Command("Std_SelForward")
{
sGroup = "View";
sMenuText = QT_TR_NOOP("&Forward");
sToolTipText = QT_TR_NOOP("Repeat the backed selection");
sMenuText = QT_TR_NOOP("Selection Forward");
sToolTipText = QT_TR_NOOP("<p>The Std SelForward command restores the next "
"recorded Tree view selection. Note that selections are only recorded if "
"Tree RecordSelection mode is switched on.</p>");
sWhatsThis = "Std_SelForward";
sStatusTip = QT_TR_NOOP("Repeat the backed selection");
sStatusTip = sToolTipText;
sPixmap = "sel-forward";
sAccel = "S, F";
eType = AlterSelection;