mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-11 05:55:33 +00:00
Language: added getAll()
This commit is contained in:
parent
ff2391e74a
commit
d19f0bf7be
@ -173,6 +173,14 @@ class Language{
|
|||||||
return $this->internalGet($id) ?? $id;
|
return $this->internalGet($id) ?? $id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string[]
|
||||||
|
* @phpstan-return array<string, string>
|
||||||
|
*/
|
||||||
|
public function getAll() : array{
|
||||||
|
return $this->lang;
|
||||||
|
}
|
||||||
|
|
||||||
protected function parseTranslation(string $text, ?string $onlyPrefix = null) : string{
|
protected function parseTranslation(string $text, ?string $onlyPrefix = null) : string{
|
||||||
$newString = "";
|
$newString = "";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user