Skip to content

Commit 761ebe4

Browse files
committed
Translated Theme View Panel
1 parent 202d374 commit 761ebe4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

resources/lang/en/messages.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@
267267
'Upload themes' => 'Upload themes+',
268268
'Delete themes' => 'Delete themes+',
269269
'Download themes' => 'Download themes+',
270+
'Delete a theme' => 'Delete a theme+',
270271

271272
########Theme Updater Blade########
272273
'Theme Updater' => 'Theme Updater+',

resources/views/panel/theme.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
<div class="row">
1313
<div class="col-sm-12">
1414

15-
<h2 class="mb-4"><i class="bi bi-brush"> Delete a theme</i></h2>
15+
<h2 class="mb-4"><i class="bi bi-brush"> {{__('messages.Delete a theme')}}</i></h2>
1616

1717
<form action="{{ route('deleteTheme') }}" enctype="multipart/form-data" method="post">
1818
@csrf
1919

2020
<div class="form-group col-lg-8">
21-
<h3>Delete theme</h3>
21+
<h3>{{__('messages.Delete theme')}}</h3>
2222
<select class="form-control" name="deltheme">
2323
<?php if ($handle = opendir('themes')) {
2424
while (false !== ($entry = readdir($handle))) {
@@ -27,11 +27,11 @@
2727
</select>
2828

2929
</div>
30-
<button type="submit" class="mt-3 ml-3 btn btn-danger">Delete theme</button>
30+
<button type="submit" class="mt-3 ml-3 btn btn-danger">{{__('messages.Delete theme')}}</button>
3131
</form>
3232
</details>
3333

34-
<br><br><a class="btn btn-primary" href="{{ url('/studio/theme') }}"><i class="bi bi-arrow-left-short"></i> Back</a>
34+
<br><br><a class="btn btn-primary" href="{{ url('/studio/theme') }}"><i class="bi bi-arrow-left-short"></i> {{__('messages.Back')}}</a>
3535

3636
</div>
3737
</div>

0 commit comments

Comments
 (0)