Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
Fix package name.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Apr 28, 2021
1 parent 5f4c8cb commit f969ee6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"overtrue"
],
"require": {
"caouecs/laravel4-lang": "~2.0"
"laravel-lang/lang": "~2.0"
},
"autoload": {
"psr-4": {
Expand All @@ -21,4 +21,4 @@
"email": "anzhengchao@gmail.com"
}
]
}
}
4 changes: 2 additions & 2 deletions src/TranslationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ protected function registerLoader()
{
$this->app->singleton('translation.loader', function($app)
{
$multiLangPath = __DIR__ . '/../../../caouecs/laravel4-lang';
$multiLangPath = __DIR__ . '/../../../laravel-lang/lang';

return new FileLoader($app['files'], $app['path.lang'], $multiLangPath);
});
}
Expand Down

0 comments on commit f969ee6

Please sign in to comment.