summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-16 16:15:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-16 16:15:34 +0300
commitfe6a120ea38daaad39f6952a886c20269cfedca6 (patch)
tree4595d63a2ab9764873657182fbf2ab2b985474bf /src/gui/windows/tradewindow.cpp
parent6279b10249efa59b3161b014899465fe4bb08da4 (diff)
downloadmv-fe6a120ea38daaad39f6952a886c20269cfedca6.tar.gz
mv-fe6a120ea38daaad39f6952a886c20269cfedca6.tar.bz2
mv-fe6a120ea38daaad39f6952a886c20269cfedca6.tar.xz
mv-fe6a120ea38daaad39f6952a886c20269cfedca6.zip
Move chatmsgtype into separate file.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r--src/gui/windows/tradewindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp
index 305106af8..a6300d060 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -389,7 +389,7 @@ void TradeWindow::action(const ActionEvent &event)
{
// TRANSLATORS: trade error
localChatTab->chatLog(_("You don't have enough money."),
- BY_SERVER);
+ ChatMsgType::BY_SERVER);
}
v = curMoney;
}
@@ -475,7 +475,8 @@ bool TradeWindow::checkItem(const Item *const item) const
{
// TRANSLATORS: trade error
localChatTab->chatLog(_("Failed adding item. You can not "
- "overlap one kind of item on the window."), BY_SERVER);
+ "overlap one kind of item on the window."),
+ ChatMsgType::BY_SERVER);
}
return false;
}