mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 09:27:03 +03:00
add lang
This commit is contained in:
parent
1bdddbeb09
commit
fa18e6d3ab
1 changed files with 180 additions and 181 deletions
|
|
@ -74,8 +74,7 @@ class PageController extends Controller
|
|||
];
|
||||
|
||||
|
||||
public function __construct(string $appName, IRequest $request, IL10N $l)
|
||||
{
|
||||
public function __construct(string $appName, IRequest $request, IL10N $l) {
|
||||
parent::__construct($appName, $request);
|
||||
$this->l = $l;
|
||||
$lang = \strtolower(\str_replace('_', '-', $l->getLocaleCode()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue