Updated language submodule

This commit is contained in:
Dylan K. Taylor 2018-08-06 20:52:53 +01:00
parent 09dadc72bc
commit c947909c2e
2 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit 638dc473cafa32542bc5c940482f59140bab1333
Subproject commit 66c471358956c4c826837868af04eab08f3cfdbf

View File

@ -91,7 +91,7 @@ class SetupWizard{
}
private function showLicense() : bool{
$this->message($this->lang->get("welcome_to_pocketmine"));
$this->message($this->lang->translateString("welcome_to_pocketmine", [\pocketmine\NAME]));
echo <<<LICENSE
This program is free software: you can redistribute it and/or modify
@ -102,7 +102,7 @@ class SetupWizard{
LICENSE;
$this->writeLine();
if(strtolower($this->getInput($this->lang->get("accept_license"), "n", "y/N")) !== "y"){
$this->error($this->lang->get("you_have_to_accept_the_license"));
$this->error($this->lang->translateString("you_have_to_accept_the_license", [\pocketmine\NAME]));
sleep(5);
return false;
@ -219,7 +219,7 @@ LICENSE;
private function endWizard(){
$this->message($this->lang->get("you_have_finished"));
$this->message($this->lang->get("pocketmine_plugins"));
$this->message($this->lang->get("pocketmine_will_start"));
$this->message($this->lang->translateString("pocketmine_will_start", [\pocketmine\NAME]));
$this->writeLine();
$this->writeLine();