From 624edc260d78809c48e6e88b9fbec9609338899e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 6 Mar 2011 00:59:03 +0200 Subject: Add translation for some strings/ Rebuild translations and update russian translation. --- src/gui/popupmenu.cpp | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'src/gui/popupmenu.cpp') 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())); } } -- cgit v1.2.3-60-g2f50