mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
11 lines
266 B
PHP
11 lines
266 B
PHP
<?php
|
|
|
|
use Flarum\Event\ConfigureLocales;
|
|
use Illuminate\Contracts\Events\Dispatcher;
|
|
|
|
return function (Dispatcher $events) {
|
|
$events->listen(ConfigureLocales::class, function (ConfigureLocales $event) {
|
|
$event->loadLanguagePackFrom(__DIR__);
|
|
});
|
|
};
|