mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 16:23:37 +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__);
|
|
});
|
|
};
|