mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Issue 14890: Translate page titles
This commit is contained in:
parent
cd3d412a59
commit
85e5dfc8cf
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ class Page implements ArrayAccess
|
||||||
) {
|
) {
|
||||||
// Default title: current module called
|
// Default title: current module called
|
||||||
if (empty($this->page['title']) && $args->getModuleName()) {
|
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
|
// Prepend the sitename to the page title
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue