Remove welcome.blade.php and update various views to use translation functions for improved localization support. Changes include updating labels, titles, and alerts across multiple pages to utilize the __('') function, enhancing the application's internationalization capabilities.

This commit is contained in:
2025-07-29 16:39:27 +05:00
parent e927a912e1
commit 834822e182
13 changed files with 87 additions and 364 deletions

View File

@@ -5,7 +5,7 @@
@include('web.layouts.meta-tags')
<!-- Title of Site -->
<title>@isset($title) {{ "{$title} |" }} @endisset {{ $settings->name }}</title>
<title>@isset($title) {{ "{$title} " . __('|') . " " }} @endisset {{ $settings->name }}</title>
<!-- Favicons -->
@include('web.layouts.favicons')

View File

@@ -8,8 +8,8 @@
<div class="col-lg-4 col-sm-6">
<div class="footer__four-widget mr-40">
<a href="/" class="logo align-items-center d-flex gap-2">
<img src="/web/assets/img/logo-small.png" style="height: 35px;" alt="Gujurly Inžener logo">
<span style="font-size: 2em;color: var(--text-heading-color);">Gujurly Inžener</span>
<img src="/web/assets/img/logo-small.png" style="height: 35px;" alt="{{ __('Gujurly Inžener logo') }}">
<span style="font-size: 2em;color: var(--text-heading-color);">{{ __('Gujurly Inžener') }}</span>
</a>
<h5>{{ $settings->footer_company_header }}</h5>
</div>
@@ -32,7 +32,7 @@
<li><a href="{{ route('about-us.index') }}">{{ __('About Us') }}</a></li>
<li><a href="{{ route('our-solutions.index') }}">{{ __('Our solutions') }}</a></li>
<li><a href="{{ route('career.index') }}">{{ __('Career Opportunities') }}</a></li>
<li><a href="{{ route('success.index') }}">{{ __('Success stories') }}</a></li>
<li><a href="{{ route('success.index') }}">{{ __('Success Stories') }}</a></li>
</ul>
</div>
</div>
@@ -43,7 +43,7 @@
<div class="footer-widget-menu">
<ul>
<li><a href="{{ route('terms') }}">{{ __('Terms & Conditions') }}</a></li>
<li><a href="{{ route('privacy') }}">{{ __('Privacy policy') }}</a></li>
<li><a href="{{ route('privacy') }}">{{ __('Privacy Policy') }}</a></li>
</ul>
</div>
</div>

View File

@@ -8,8 +8,8 @@
<div class="switch__tab-area-item">
<h5>{{ __('Mode') }}</h5>
<div class="switch__tab-area-item-button type-dark-mode">
<button class="active" data-mode="light">{{ __('light') }}</button>
<button data-mode="dark-mode">{{ __('dark') }}</button>
<button class="active" data-mode="light">{{ __('Light') }}</button>
<button data-mode="dark-mode">{{ __('Dark') }}</button>
</div>
</div>
</div>