diff options
author | Blue <bluesansdouze@gmail.com> | 2009-05-21 15:14:52 +0200 |
---|---|---|
committer | Blue <bluesansdouze@gmail.com> | 2009-05-21 15:14:52 +0200 |
commit | a9df0306b4949f10287657a229e1f8d33cfae5e9 (patch) | |
tree | b3dff4b9f36e12d1492d534943796017a955bc3e /src/commandhandler.cpp | |
parent | 7b76f0e8c4c489254d7519e2916b951601423801 (diff) | |
parent | b85793ec89e57ae20140957f833a06b874eb3120 (diff) | |
download | mana-a9df0306b4949f10287657a229e1f8d33cfae5e9.tar.gz mana-a9df0306b4949f10287657a229e1f8d33cfae5e9.tar.bz2 mana-a9df0306b4949f10287657a229e1f8d33cfae5e9.tar.xz mana-a9df0306b4949f10287657a229e1f8d33cfae5e9.zip |
Merge branch 'master' of git@gitorious.org:tmw/mainline
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r-- | src/commandhandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp index f2fafed4..aaca632a 100644 --- a/src/commandhandler.cpp +++ b/src/commandhandler.cpp @@ -110,7 +110,7 @@ void CommandHandler::handleCommand(const std::string &command, ChatTab *tab) } else { - tab->chatLog("Unknown command"); + tab->chatLog(_("Unknown command.")); } } @@ -167,7 +167,7 @@ void CommandHandler::handleHelp(const std::string &args, ChatTab *tab) tab->showHelp(); // Allow the tab to show it's help - tab->chatLog(_("For more information, type /help <command>")); + tab->chatLog(_("For more information, type /help <command>.")); } else if (args == "help") // Do this before tabs so they can't change it { @@ -344,7 +344,7 @@ void CommandHandler::handleQuery(const std::string &args, ChatTab *tab) { if (chatWindow->addWhisperTab(args, true)) return; - tab->chatLog(strprintf(_("Cannot create a whisper tab for nick '%s'! " + tab->chatLog(strprintf(_("Cannot create a whisper tab for nick \"%s\"! " "It either already exists, or is you."), args.c_str()), BY_SERVER); } @@ -358,7 +358,7 @@ void CommandHandler::handleJoin(const std::string &args, ChatTab *tab) std::string::size_type pos = args.find(' '); std::string name(args, 0, pos); std::string password(args, pos+1); - tab->chatLog("Requesting to join channel " + name); + tab->chatLog(strprintf(_("Requesting to join channel %s."), name.c_str())); Net::getChatHandler()->enterChannel(name, password); } |