Added KnownTranslationKeys (generated) and start using it

This commit is contained in:
Dylan K. Taylor
2021-06-29 22:46:04 +01:00
parent f02817bcd3
commit 94e16f416d
57 changed files with 802 additions and 286 deletions

View File

@@ -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{