diff options
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r-- | src/gui/popupmenu.cpp | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 6e241fe11..799b61374 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -1345,13 +1345,15 @@ void PopupMenu::showPopup(int x, int y, Button *button) if (btn->isVisible()) { - mBrowserBox->addRow(strprintf("@@hide button_%s|Hide %s@@", - btn->getActionEventId().c_str(), btn->getCaption().c_str())); + mBrowserBox->addRow(strprintf("@@hide button_%s|%s %s@@", + btn->getActionEventId().c_str(), _("Hide"), + btn->getCaption().c_str())); } else { - mBrowserBox->addRow(strprintf("@@show button_%s|Show %s@@", - btn->getActionEventId().c_str(), btn->getCaption().c_str())); + mBrowserBox->addRow(strprintf("@@show button_%s|%s %s@@", + btn->getActionEventId().c_str(), _("Show"), + btn->getCaption().c_str())); } } mBrowserBox->addRow("##3---"); @@ -1376,13 +1378,15 @@ void PopupMenu::showPopup(int x, int y, ProgressBar *b) if (bar->isVisible()) { - mBrowserBox->addRow(strprintf("@@hide bar_%s|Hide %s@@", - bar->getActionEventId().c_str(), bar->getId().c_str())); + mBrowserBox->addRow(strprintf("@@hide bar_%s|%s %s@@", + bar->getActionEventId().c_str(), _("Hide"), + bar->getId().c_str())); } else { - mBrowserBox->addRow(strprintf("@@show bar_%s|Show %s@@", - bar->getActionEventId().c_str(), bar->getId().c_str())); + mBrowserBox->addRow(strprintf("@@show bar_%s|%s %s@@", + bar->getActionEventId().c_str(), _("Show"), + bar->getId().c_str())); } } |