mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-02-16 15:00:14 -05:00
I18N: Added stubs for translation
This commit is contained in:
parent
90459a156f
commit
5e78c020a1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user