More language files

This commit is contained in:
Shoghi Cervantes
2015-04-11 12:56:38 +02:00
parent de052a79de
commit c2138aa30c
32 changed files with 311 additions and 116 deletions

View File

@ -32,7 +32,7 @@ class PardonCommand extends VanillaCommand{
parent::__construct(
$name,
"Allows the specified player to use this server",
"/pardon <player>"
"%commands.unban.usage"
);
$this->setPermission("pocketmine.command.unban.player");
}
@ -50,7 +50,7 @@ class PardonCommand extends VanillaCommand{
$sender->getServer()->getNameBans()->remove($args[0]);
Command::broadcastCommandMessage($sender, "Pardoned " . $args[0]);
Command::broadcastCommandMessage($sender, new TranslationContainer("commands.unban.success", $args[0]));
return true;
}