Base translations moved to submodule!

This commit is contained in:
Shoghi Cervantes
2015-04-11 15:31:22 +02:00
parent 414549659a
commit 5a0d1affcc
7 changed files with 12 additions and 252 deletions

View File

@ -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);