Skip to content

Commit

Permalink
fix(view): fix translate
Browse files Browse the repository at this point in the history
  • Loading branch information
shevelev-anatoliy committed Jun 23, 2024
1 parent 5bb5d5d commit d2bbbbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<x-recipe id="custom-select-filter" title="{{ $title ?? 'Рецепт' }}">
<x-recipe id="custom-select-filter" title="{{ $title ?? 'Recipe' }}">

<x-code language="php">
namespace App\MoonShine\Resources;
Expand All @@ -7,12 +7,13 @@

class PostResource extends ModelResource
{

//...

public function filters(): array
{
return [
Select::make('Активность', 'active')
Select::make('Activity status', 'active')
->options([
'0' => 'Only NOT active',
'1' => 'Only active',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@

class PostResource extends ModelResource
{

//...

public function filters(): array
{
return [
Select::make('Активность', 'active')
Select::make('Статус активности', 'active')
->options([
'0' => 'Только НЕ активные',
'1' => 'Только активные',
Expand Down

0 comments on commit d2bbbbd

Please sign in to comment.