1
0
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:
Dan Brown
2023-09-17 13:29:06 +01:00
parent b292cf7090
commit ac9a65945f
14 changed files with 116 additions and 80 deletions

View File

@@ -14,7 +14,7 @@
<div class="setting-list">
@include('users.parts.form')
@include('users.parts.language-option-row', ['value' => old('setting.language') ?? config('app.default_locale')])
@include('users.parts.language-option-row', ['value' => old('setting.language') ?? config('app.locale')])
</div>
<div class="form-group text-right">