Move locale files

This commit is contained in:
Toby Zerner 2015-07-22 16:05:24 +09:30
parent 2e5cccd5e6
commit 91010d1607
4 changed files with 4 additions and 4 deletions

View File

@ -21,11 +21,11 @@ class LocaleServiceProvider extends ServiceProvider
public function registerLocale(LocaleManager $manager, $locale)
{
$dir = __DIR__.'/../../locale/'.$locale;
$path = __DIR__.'/../../locale/'.$locale;
$manager->addTranslations($locale, $dir.'/translations.yml');
$manager->addConfig($locale, $dir.'/config.php');
$manager->addJsFile($locale, $dir.'/config.js');
$manager->addTranslations($locale, $path.'.yml');
$manager->addConfig($locale, $path.'.php');
$manager->addJsFile($locale, $path.'.js');
}
public function register()