I18N: Added stubs for translation

This commit is contained in:
Sebastian Kaspari 2010-09-05 15:56:58 +02:00
parent 90459a156f
commit 5e78c020a1
1 changed files with 2 additions and 0 deletions

View File

@ -221,6 +221,7 @@ public class CommandParser
errorMessage.setColor(Message.COLOR_RED);
conversation.addMessage(errorMessage);
// XXX:I18N - How to get a context here? (command_syntax)
Message usageMessage = new Message("Syntax: " + command.getUsage());
conversation.addMessage(usageMessage);
@ -266,6 +267,7 @@ public class CommandParser
public void handleUnknownCommand(String type, Server server, Conversation conversation, IRCService service)
{
if (conversation != null) {
// XXX:I18N - How to get a context here? (unknown_command)
Message message = new Message("Unknown command: " + type);
message.setColor(Message.COLOR_RED);
conversation.addMessage(message);