File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 2323 'page_referenced_by_menu_item ' => '":page" (referenced by :menu in :menu_item) ' ,
2424 'bulk_delete_successful ' => ':count items deleted. ' ,
2525 ],
26-
26+ 'search ' => [
27+ 'intro_lbl ' => 'Intro ' ,
28+ 'is_published_lbl ' => 'Is published? ' ,
29+ ],
2730 ],
2831 'redirects ' => [
2932 'redirects_lbl ' => 'redirect ' ,
Original file line number Diff line number Diff line change 2323 'page_referenced_by_menu_item ' => '":page" (gerefereerd door :menu in :menu_item) ' ,
2424 'bulk_delete_successful ' => ':count items verwijderd. ' ,
2525 ],
26+ 'search ' => [
27+ 'intro_lbl ' => 'Introductie ' ,
28+ 'is_published_lbl ' => 'Is gepubliceerd? ' ,
29+ ],
2630 ],
2731 'redirects ' => [
2832 'redirects_lbl ' => 'redirect ' ,
Original file line number Diff line number Diff line change @@ -263,14 +263,14 @@ public static function getGlobalSearchResultTitle(Model $record): string
263263 public static function getGlobalSearchResultDetails (Model $ record ): array
264264 {
265265 /** @var Page $record */
266- $ published = flexiblePagesTrans ( ' columns .is_published_state_unpublished ' );
266+ $ published = trans ( ' filament-flexible-content-blocks::filament-flexible-content-blocks .is_published_state_unpublished ' );
267267 if ($ record ->isPublished ()) {
268- $ published = flexiblePagesTrans ( ' columns.is_published_state_published ' );
268+ $ published = trans ( ' filament-flexible-content-blocks::filament-flexible-content-blocks. columns.is_published_state_published ' );
269269 }
270270
271271 return [
272- flexiblePagesTrans ('form_component .intro_lbl ' ) => Str::limit (strip_tags ($ record ->intro )),
273- flexiblePagesTrans ('columns .is_published ' ) => $ published ,
272+ flexiblePagesTrans ('pages.search .intro_lbl ' ) => Str::limit (strip_tags ($ record ->intro )),
273+ flexiblePagesTrans ('pages.search .is_published ' ) => $ published ,
274274 ];
275275 }
276276}
You can’t perform that action at this time.
0 commit comments