]> git.mxchange.org Git - friendica.git/commitdiff
Issue 14890: Translate page titles
authorMichael <heluecht@pirati.ca>
Fri, 18 Apr 2025 03:45:04 +0000 (03:45 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 18 Apr 2025 03:45:04 +0000 (03:45 +0000)
src/App/Page.php

index a9fc9674a0c3dff04254fc638a73f622967dc603..623f464086cf4851440e1539bdf37b1ae0a1fc88 100644 (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