summaryrefslogtreecommitdiff
path: root/src/net/ea/tradehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-03 12:33:11 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-03 12:51:43 +0300
commit04fbf07c41bf78dea11aa9b7098c80f0da3801e3 (patch)
tree05df787f04d3d59a6d3c0711a895d77018d84b6b /src/net/ea/tradehandler.cpp
parenta3855d22fce6a33ace394f50f33571e489bab299 (diff)
downloadmv-04fbf07c41bf78dea11aa9b7098c80f0da3801e3.tar.gz
mv-04fbf07c41bf78dea11aa9b7098c80f0da3801e3.tar.bz2
mv-04fbf07c41bf78dea11aa9b7098c80f0da3801e3.tar.xz
mv-04fbf07c41bf78dea11aa9b7098c80f0da3801e3.zip
add comments for translators.
Diffstat (limited to 'src/net/ea/tradehandler.cpp')
-rw-r--r--src/net/ea/tradehandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index 91bd4de69..03dc1bcac 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -99,7 +99,9 @@ void TradeHandler::processTradeRequest(Net::MessageIn &msg)
!= tradePartnerName)
{
tradeWindow->clear();
+ // TRANSLATORS: trade message
confirmDlg = new ConfirmDialog(_("Request for Trade"),
+ // TRANSLATORS: trade message
strprintf(_("%s wants to trade with you, do"
" you accept?"), tradePartnerName.c_str()), true);
confirmDlg->addActionListener(&listener);
@@ -144,6 +146,7 @@ void TradeHandler::processTradeResponse(Net::MessageIn &msg)
if (tradeWindow)
{
tradeWindow->reset();
+ // TRANSLATORS: trade header
tradeWindow->setCaption(strprintf(_("Trade: You and %s"),
tradePartnerName.c_str()));
tradeWindow->initTrade(tradePartnerName);