summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorKess Vargavind <vargavind@gmail.com>2009-05-21 09:38:06 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-23 21:44:50 +0200
commitee6aea38c7d3dba0c4b6dab7f22f303dfbc14019 (patch)
treede48c84dabb09e8307760f0bf90e6479366a6bfa /src/commandhandler.cpp
parentcf9caaefeb69cafcf273028d12f074d5d1737bf9 (diff)
downloadMana-ee6aea38c7d3dba0c4b6dab7f22f303dfbc14019.tar.gz
Mana-ee6aea38c7d3dba0c4b6dab7f22f303dfbc14019.tar.bz2
Mana-ee6aea38c7d3dba0c4b6dab7f22f303dfbc14019.tar.xz
Mana-ee6aea38c7d3dba0c4b6dab7f22f303dfbc14019.zip
Fixed a few strings for better translation
Just a few notes that would help us translators immensly: * Please do not split one sentence into several strings * Please try to refrain from inserting extra spaces into the strings (cherry picked from commit 9712489ef67f95d6a5fa1fc3102bb7c4ee6a1f59)
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp8
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);
}