Skip to content

Commit

Permalink
Fix TL strings
Browse files Browse the repository at this point in the history
  • Loading branch information
momijizukamori committed Aug 4, 2023
1 parent 08ce963 commit 437a5e1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions resources/lang/en/ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
return [
'skip' => 'Skip to content',
'login' => 'Login',
'search' => 'Search',
'npo' => 'Lolibrary Inc is a 501(c)(3) non-profit incorporated in the USA.',
'categories' => 'Categories',
'recent_items' => 'Recent Items',
Expand Down Expand Up @@ -90,17 +89,18 @@
'add' => 'Why not <a href=":link">search for some items to add</a>?',
],

// 'search' => [
// 'brands' => 'Brands',
// 'categories' => 'Categories',
// 'tags' => 'Tags',
// 'features' => 'Features',
// 'colors' => 'Colors',
// 'match_type' => 'Match',
// 'match_any' => 'Any',
// 'match_all' => 'All',
// 'match_none' => 'None',
// ],
'search' => [
'title' => 'Search',
'brands' => 'Brands',
'categories' => 'Categories',
'tags' => 'Tags',
'features' => 'Features',
'colors' => 'Colors',
'match_type' => 'Match',
'match_any' => 'Any',
'match_all' => 'All',
'match_none' => 'None',
],

'item' => [
'brand' => 'Brand',
Expand Down
4 changes: 2 additions & 2 deletions resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@
@include('components.navbar.dropdown')
@endguest

<li class="d-sm-none"><a class="nav-link" href="{{ route('search') }}">{{ __('ui.search') }}</a></li>
<li class="d-sm-none"><a class="nav-link" href="{{ route('search') }}">{{ __('ui.search.title') }}</a></li>
</ul>

<form class="form-inline pl-md-3 d-none d-sm-flex" action="{{ route('search') }}" method="get">
<input class="form-control mr-sm-2" name="search" autocomplete="off" type="search" placeholder="{{ __('ui.search') }}" aria-label="{{ __('ui.search') }}">
<input class="form-control mr-sm-2" name="search" autocomplete="off" type="search" placeholder="{{ __('ui.search.title') }}" aria-label="{{ __('ui.search.title') }}">
<button class="btn btn-outline-primary my-2 my-sm-0" type="submit"><i class="far fa-search" aria-label="Search Icon"></i></button>
</form>
</div>
Expand Down

0 comments on commit 437a5e1

Please sign in to comment.