11 lines
266 B
PHP
Raw Normal View History

2015-09-25 15:37:00 +09:30
<?php
2015-10-07 23:07:44 +10:30
use Flarum\Event\ConfigureLocales;
2016-01-11 09:40:57 +01:00
use Illuminate\Contracts\Events\Dispatcher;
2015-09-25 15:37:00 +09:30
2015-10-07 23:07:44 +10:30
return function (Dispatcher $events) {
2016-01-11 09:40:57 +01:00
$events->listen(ConfigureLocales::class, function (ConfigureLocales $event) {
$event->loadLanguagePackFrom(__DIR__);
2015-09-25 15:37:00 +09:30
});
};