Fix translations for settings' titles
MODIFY
resources/lang/en/models.php
resources/lang/en/models.php
<?php
return [
+ 'spaces' => 'Spaces',
+ 'space' => 'Space',
+
'tags' => 'Tags',
'tag' => 'Tag',

MODIFY
resources/views/settings/account.blade.php
resources/views/settings/account.blade.php
@extends('settings.layout')
@section('settings_title')
- <h2 class="mb-3">Account</h2>
+ <h2 class="mb-3">{{ __('general.account') }}</h2>
@endsection
@section('settings_body')

MODIFY
resources/views/settings/layout.blade.php
resources/views/settings/layout.blade.php
<li><a href="/settings/profile"><i class="fas fa-user fa-sm"></i> {{ __('general.profile') }}</a></li>
<li><a href="/settings/account"><i class="fas fa-lock fa-sm"></i> {{ __('general.account') }}</a></li>
<li><a href="/settings/preferences"><i class="fas fa-sliders-h fa-sm"></i> {{ __('general.preferences') }}</a></li>
- <li><a href="/settings/spaces"><i class="fas fa-rocket fa-sm"></i> {{ __('general.spaces') }}</a></li>
+ <li><a href="/settings/spaces"><i class="fas fa-rocket fa-sm"></i> {{ __('models.spaces') }}</a></li>
</ul>
</div>
</div>

MODIFY
resources/views/settings/preferences.blade.php
resources/views/settings/preferences.blade.php
@extends('settings.layout')
@section('settings_title')
- <h2 class="mb-3">Preferences</h2>
+ <h2 class="mb-3">{{ __('general.preferences') }}</h2>
@endsection
@section('settings_body')

MODIFY
resources/views/settings/profile.blade.php
resources/views/settings/profile.blade.php
@extends('settings.layout')
@section('settings_title')
- <h2 class="mb-3">Profile</h2>
+ <h2 class="mb-3">{{ __('general.profile') }}</h2>
@endsection
@section('settings_body')

MODIFY
resources/views/settings/spaces/index.blade.php
resources/views/settings/spaces/index.blade.php
@extends('settings.layout')
@section('settings_title')
- <h2>Spaces</h2>
+ <h2>{{ __('models.spaces') }}</h2>
<p class="mt-1 mb-3">Spaces can be used to separate your finances in Budget. For example&mdash;you can have a space for your personal finances and another space for your business' finances.</p>
@endsection

Fix translations for settings' titles