mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +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__);
|
|
});
|
|
};
|