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 23
23
'page_referenced_by_menu_item ' => '":page" (referenced by :menu in :menu_item) ' ,
24
24
'bulk_delete_successful ' => ':count items deleted. ' ,
25
25
],
26
-
26
+ 'search ' => [
27
+ 'intro_lbl ' => 'Intro ' ,
28
+ 'is_published_lbl ' => 'Is published? ' ,
29
+ ],
27
30
],
28
31
'redirects ' => [
29
32
'redirects_lbl ' => 'redirect ' ,
Original file line number Diff line number Diff line change 23
23
'page_referenced_by_menu_item ' => '":page" (gerefereerd door :menu in :menu_item) ' ,
24
24
'bulk_delete_successful ' => ':count items verwijderd. ' ,
25
25
],
26
+ 'search ' => [
27
+ 'intro_lbl ' => 'Introductie ' ,
28
+ 'is_published_lbl ' => 'Is gepubliceerd? ' ,
29
+ ],
26
30
],
27
31
'redirects ' => [
28
32
'redirects_lbl ' => 'redirect ' ,
Original file line number Diff line number Diff line change @@ -263,14 +263,14 @@ public static function getGlobalSearchResultTitle(Model $record): string
263
263
public static function getGlobalSearchResultDetails (Model $ record ): array
264
264
{
265
265
/** @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 ' );
267
267
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 ' );
269
269
}
270
270
271
271
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 ,
274
274
];
275
275
}
276
276
}
You can’t perform that action at this time.
0 commit comments