summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-06 00:59:03 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-06 00:59:24 +0200
commit624edc260d78809c48e6e88b9fbec9609338899e (patch)
tree4abe92166205cfdf213e9cac545cca3cc36fff97 /src/gui/popupmenu.cpp
parent7bcc913e2f360ebac056fb7badf46931815555cd (diff)
downloadManaVerse-624edc260d78809c48e6e88b9fbec9609338899e.tar.gz
ManaVerse-624edc260d78809c48e6e88b9fbec9609338899e.tar.bz2
ManaVerse-624edc260d78809c48e6e88b9fbec9609338899e.tar.xz
ManaVerse-624edc260d78809c48e6e88b9fbec9609338899e.zip
Add translation for some strings/ Rebuild translations and update russian translation.
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp20
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()));
}
}