Skip to content

Commit

Permalink
Translate widget header and collection widget title
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell committed Nov 28, 2023
1 parent 5ca436a commit 441d1c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/widgets/collection.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="h-6 w-6 mr-2 text-gray-800">
@cp_svg('icons/light/content-writing')
</div>
<span>{{ $title }}</span>
<span>{{ __($title) }}</span>
</a>
</h2>
@can('create', ['Statamic\Contracts\Entries\Entry', $collection])
Expand Down
2 changes: 1 addition & 1 deletion resources/views/widgets/header.blade.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<h2 class="{{ $classes }}">{{ $text }}</h2>
<h2 class="{{ $classes }}">{{ __($text) }}</h2>

0 comments on commit 441d1c8

Please sign in to comment.