Issue 14890: Translate page titles

This commit is contained in:
Michael 2025-04-18 03:45:04 +00:00
parent cd3d412a59
commit 85e5dfc8cf

View file

@ -198,7 +198,7 @@ class Page implements ArrayAccess
) {
// Default title: current module called
if (empty($this->page['title']) && $args->getModuleName()) {
$this->page['title'] = ucfirst($args->getModuleName());
$this->page['title'] = $l10n->t(ucfirst($args->getModuleName()));
}
// Prepend the sitename to the page title