mirror of https://github.com/MarceauKa/shaark.git
🐛 Default locale on fresh install
This commit is contained in:
parent
ff0db5296d
commit
162b38cf3d
|
@ -76,7 +76,7 @@ class AppServiceProvider extends ServiceProvider
|
|||
View::composer(
|
||||
'layouts.partials.scripts',
|
||||
function (\Illuminate\View\View $view) {
|
||||
$locale = config('app.locale');
|
||||
$locale = app('shaark')->getLocale() ?? 'en';
|
||||
|
||||
if ($locale !== 'en') {
|
||||
$path = resource_path(sprintf('lang/%s.json', $locale));
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
# 1.2.42
|
||||
|
||||
## Fixed
|
||||
|
||||
- Default locale on fresh install ([#75](https://github.com/MarceauKa/shaark/issues/75))
|
||||
|
||||
# 1.2.41
|
||||
|
||||
## Added
|
||||
|
|
Loading…
Reference in New Issue