mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
Added KnownTranslationKeys (generated) and start using it
This commit is contained in:
@@ -109,7 +109,7 @@ class Language{
|
||||
}
|
||||
|
||||
public function getName() : string{
|
||||
return $this->get("language.name");
|
||||
return $this->get(KnownTranslationKeys::LANGUAGE_NAME);
|
||||
}
|
||||
|
||||
public function getLang() : string{
|
||||
|
Reference in New Issue
Block a user