diff options
author | Ira Rice <irarice@gmail.com> | 2009-02-05 14:19:44 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-05 14:19:44 -0700 |
commit | f001a53b494e8b357eba6f7c0cad9afe3258dda8 (patch) | |
tree | df9022247ff6a3a26d01c66c0389a9c386b636c2 /src/net/buysellhandler.cpp | |
parent | 69d6f5fce3ee7ac1888c537e8e222431f8fc45da (diff) | |
download | mana-f001a53b494e8b357eba6f7c0cad9afe3258dda8.tar.gz mana-f001a53b494e8b357eba6f7c0cad9afe3258dda8.tar.bz2 mana-f001a53b494e8b357eba6f7c0cad9afe3258dda8.tar.xz mana-f001a53b494e8b357eba6f7c0cad9afe3258dda8.zip |
Exposed some more strings I found to be translatable.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/net/buysellhandler.cpp')
-rw-r--r-- | src/net/buysellhandler.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/net/buysellhandler.cpp b/src/net/buysellhandler.cpp index 5292b6f9..67c79ec4 100644 --- a/src/net/buysellhandler.cpp +++ b/src/net/buysellhandler.cpp @@ -35,6 +35,8 @@ #include "../gui/chat.h" #include "../gui/sell.h" +#include "../utils/gettext.h" + extern BuyDialog *buyDialog; extern Window *buySellDialog; extern SellDialog *sellDialog; @@ -104,27 +106,27 @@ void BuySellHandler::handleMessage(MessageIn *msg) } } else { - chatWindow->chatLog("Nothing to sell", BY_SERVER); + chatWindow->chatLog(_("Nothing to sell"), BY_SERVER); current_npc = 0; } break; case SMSG_NPC_BUY_RESPONSE: if (msg->readInt8() == 0) { - chatWindow->chatLog("Thanks for buying", BY_SERVER); + chatWindow->chatLog(_("Thanks for buying"), BY_SERVER); } else { // Reset player money since buy dialog already assumed purchase // would go fine buyDialog->setMoney(player_node->mGp); - chatWindow->chatLog("Unable to buy", BY_SERVER); + chatWindow->chatLog(_("Unable to buy"), BY_SERVER); } break; case SMSG_NPC_SELL_RESPONSE: if (msg->readInt8() == 0) { - chatWindow->chatLog("Thanks for selling", BY_SERVER); + chatWindow->chatLog(_("Thanks for selling"), BY_SERVER); } else { - chatWindow->chatLog("Unable to sell", BY_SERVER); + chatWindow->chatLog(_("Unable to sell"), BY_SERVER); } break; } |