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
e1d8b3660c
commit
1bdddbeb09
1 changed files with 181 additions and 180 deletions
|
|
@ -74,7 +74,8 @@ public const LANGUAGE_TO_LOCALE_MAP = [
|
|||
];
|
||||
|
||||
|
||||
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