mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Base translations moved to submodule!
This commit is contained in:
@ -26,7 +26,7 @@ use pocketmine\event\TranslationContainer;
|
||||
|
||||
class BaseLang{
|
||||
|
||||
const FALLBACK_LANGUAGE = "en";
|
||||
const FALLBACK_LANGUAGE = "eng";
|
||||
|
||||
protected $langName;
|
||||
|
||||
@ -38,7 +38,7 @@ class BaseLang{
|
||||
$this->langName = strtolower($lang);
|
||||
|
||||
if($path === null){
|
||||
$path = \pocketmine\PATH . "src/pocketmine/lang/base/";
|
||||
$path = \pocketmine\PATH . "src/pocketmine/lang/locale/";
|
||||
}
|
||||
|
||||
$this->loadLang($path . $this->langName . ".ini", $this->lang);
|
||||
|
Reference in New Issue
Block a user