summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/partyhandler.cpp
diff options
context:
space:
mode:
authorKess Vargavind <vargavind@gmail.com>2009-08-07 13:33:14 +0200
committerKess Vargavind <vargavind@gmail.com>2009-08-07 14:18:45 +0200
commit6460413ee2f50be561fd0824e3eaa9c2c09415b1 (patch)
tree86691035f8d0d3bfac86249b63a160fab924c43c /src/net/tmwserv/partyhandler.cpp
parent6ab1e52df06baea2ad00d4e87378f220534795c8 (diff)
downloadmana-6460413ee2f50be561fd0824e3eaa9c2c09415b1.tar.gz
mana-6460413ee2f50be561fd0824e3eaa9c2c09415b1.tar.bz2
mana-6460413ee2f50be561fd0824e3eaa9c2c09415b1.tar.xz
mana-6460413ee2f50be561fd0824e3eaa9c2c09415b1.zip
Gettext fixes
Trying to use the same kind of capitalization and interpunctuation for various parts of the gui, melding a few split strings, updating POTFILES.in and adding translators' notes.
Diffstat (limited to 'src/net/tmwserv/partyhandler.cpp')
-rw-r--r--src/net/tmwserv/partyhandler.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/tmwserv/partyhandler.cpp b/src/net/tmwserv/partyhandler.cpp
index 557a3a43..2af0e4cb 100644
--- a/src/net/tmwserv/partyhandler.cpp
+++ b/src/net/tmwserv/partyhandler.cpp
@@ -100,8 +100,8 @@ void PartyHandler::handleMessage(MessageIn &msg)
int id = msg.readInt16(); // being id
std::string name = msg.readString();
- localChatTab->chatLog(strprintf(_("%s joined the "
- "party."), name.c_str()));
+ localChatTab->chatLog(strprintf(_("%s joined the party.",
+ name.c_str()));
if (!player_node->isInParty())
player_node->setInParty(true);
@@ -117,7 +117,8 @@ void PartyHandler::handleMessage(MessageIn &msg)
case CPMSG_PARTY_REJECTED:
{
std::string name = msg.readString();
- localChatTab->chatLog(name + "rejected your invite.");
+ localChatTab->chatLog(strprintf(_("%s rejected your invite."),
+ name.c_str()));
} break;
}
}