1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-26 02:42:16 -05:00

I18N: CloseHandler

This commit is contained in:
Sebastian Kaspari 2010-09-05 16:12:48 +02:00
parent 72301331f2
commit 2a55b81049

View File

@ -47,7 +47,7 @@ public class CloseHandler extends BaseHandler
public void execute(String[] params, Server server, Conversation conversation, IRCService service) throws CommandException
{
if (conversation.getType() == Conversation.TYPE_SERVER) {
throw new CommandException("You can't close the server window");
throw new CommandException(service.getString(R.string.close_server_window));
}
if (params.length == 1) {