Skip to content

Commit 202d374

Browse files
committed
Translated Side View Panel
1 parent 87393bd commit 202d374

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

resources/lang/en/messages.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,13 @@
107107
'Manage Users' => 'Manage Users+',
108108
'Footer Pages' => 'Footer Pages+',
109109
'Site Customization' => 'Site Customization+',
110+
'Site Logo' => 'Site logo+',
110111
'Personalization' => 'Personalization+',
111112
'Links' => 'Links+',
112113
'Appearance' => 'Appearance+',
113114
'Themes' => 'Themes+',
115+
'Favicon' => 'Favicon+',
116+
'Home message' => 'Home message+',
114117

115118
'View Page' => 'View Page+',
116119
'Share your profile' => 'Share your profile+',

resources/views/panel/site.blade.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,28 @@
1515
<div class="col-sm-12">
1616

1717
<section class="text-gray-400">
18-
<h2 class="mb-4 card-header"><i class="bi bi-person"> Site Customization</i></h2>
18+
<h2 class="mb-4 card-header"><i class="bi bi-person">{{__('messages.Site Customization')}}</i></h2>
1919
<div class="card-body p-0 p-md-3">
2020

2121
<form action="{{ route('editSite') }}" enctype="multipart/form-data" method="post">
2222
@csrf
2323
<div class="form-group col-lg-8">
24-
<label>Site logo</label>@if(file_exists(base_path("assets/linkstack/images/").findFile('avatar')))<a title="Remove icon" class="hvr-grow p-1 text-danger" style="padding-left:5px;" href="{{ route('delAvatar') }}"><i class="bi bi-trash-fill"></i></a>@endif
24+
<label>{{__('messages.Site Logo')}}</label>@if(file_exists(base_path("assets/linkstack/images/").findFile('avatar')))<a title="Remove icon" class="hvr-grow p-1 text-danger" style="padding-left:5px;" href="{{ route('delAvatar') }}"><i class="bi bi-trash-fill"></i></a>@endif
2525
<div class="mb-3">
2626
<input type="file" class="form-control form-control-lg" name="image" aria-label="Large file input example">
2727
</div>
2828
</div>
2929
<div class="form-group col-lg-8">
30-
<label>Favicon</label>@if(file_exists(base_path("assets/linkstack/images/").findFile('favicon')))<a title="Remove icon" class="hvr-grow p-1 text-danger" style="padding-left:5px;" href="{{ route('delFavicon') }}"><i class="bi bi-trash-fill"></i></a>@endif
30+
<label>{{__('messages.Favicon')}}</label>@if(file_exists(base_path("assets/linkstack/images/").findFile('favicon')))<a title="Remove icon" class="hvr-grow p-1 text-danger" style="padding-left:5px;" href="{{ route('delFavicon') }}"><i class="bi bi-trash-fill"></i></a>@endif
3131
<div class="mb-3">
3232
<input type="file" class="form-control form-control-lg" name="icon" aria-label="Large file input example">
3333
</div><br>
3434
</div>
3535
<div class="form-group col-lg-8">
36-
<h3>Home message</h3>
36+
<h3>{{__('messages.Home message')}}</h3>
3737
<textarea class="form-control ckeditor" name="message" rows="3">{{ $home_message }}</textarea>
3838
</div>
39-
<button type="submit" class="mt-3 ml-3 btn btn-primary">Save</button>
39+
<button type="submit" class="mt-3 ml-3 btn btn-primary">{{__('messages.Save')}}</button>
4040
</form>
4141

4242
</div>

0 commit comments

Comments
 (0)