Skip to content

Commit 593392b

Browse files
committed
Fix translation
1 parent e5ff87c commit 593392b

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
"statikbe/laravel-filament-flexible-content-blocks": "dev-main"
3030
},
3131
"require-dev": {
32+
"larastan/larastan": "^2.9||^3.0",
3233
"laravel/pint": "^1.14",
3334
"nunomaduro/collision": "^8.1.1",
34-
"larastan/larastan": "^2.9||^3.0",
3535
"orchestra/testbench": "^10.0.0",
3636
"pestphp/pest": "^3.0",
3737
"pestphp/pest-plugin-arch": "^3.0",

resources/views/tailwind/pages/tag_index.blade.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
@if($tag->seo_description)
1414
<p class="text-lg text-gray-600 mb-6">
15-
{{ $tag->getTranslation('seo_description', app()->getLocale()) }}
15+
{!! $tag->getTranslation('seo_description', app()->getLocale()) !!}
1616
</p>
1717
@endif
1818

@@ -79,14 +79,10 @@
7979
@else
8080
<div class="text-center py-12">
8181
<p class="text-gray-600 text-lg">
82-
@lang('filament-flexible-content-block-pages::tag_pages.no_content', ['tag' => $tag->getTranslation('name', app()->getLocale())])
82+
{{ flexiblePagesTrans('tag_pages.no_content', ['tag' => $tag->getTranslation('name', app()->getLocale())]) }}
8383
</p>
8484
</div>
8585
@endif
8686
</div>
8787
</main>
88-
89-
<footer>
90-
<div>{{flexiblePagesSetting(Settings::SETTING_FOOTER_COPYRIGHT)}}</div>
91-
</footer>
9288
</x-flexible-pages-base-layout>

src/Resources/SettingsResource.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ public static function table(Table $table): Table
6969
{
7070
return $table
7171
->columns([
72-
Tables\Columns\TextColumn::make(Settings::SETTING_SITE_TITLE)
73-
->label(trans('filament.settings_lbl')),
72+
Tables\Columns\TextColumn::make(Settings::SETTING_SITE_TITLE),
7473
])
7574
->filters([
7675
//

0 commit comments

Comments
 (0)