mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Locales: Performed cleanup and alignment of locale handling
- Reduced app settings down to what's required. - Used new view-shared $locale object instead of using globals via config. - Aligned language used to default on "locale" instead of mixing locale/language. For #4501
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('users.parts.language-option-row', ['value' => setting()->getUser($user, 'language', config('app.default_locale'))])
|
||||
@include('users.parts.language-option-row', ['value' => $user->getLanguage())])
|
||||
</div>
|
||||
|
||||
<div class="text-right">
|
||||
|
Reference in New Issue
Block a user