diff --git a/src/lang/Language.php b/src/lang/Language.php index 3c61a0cdd9..57c5c78e1d 100644 --- a/src/lang/Language.php +++ b/src/lang/Language.php @@ -173,6 +173,14 @@ class Language{ return $this->internalGet($id) ?? $id; } + /** + * @return string[] + * @phpstan-return array + */ + public function getAll() : array{ + return $this->lang; + } + protected function parseTranslation(string $text, ?string $onlyPrefix = null) : string{ $newString = "";