11 lines
265 B
PHP
Raw Normal View History

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