From fe7d275caf3eae5124caebe6761974eb0ac8e3af Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sat, 31 Jul 2021 14:15:35 +0200 Subject: [PATCH] app/Http/Livewire/Recipes.php: translate the placeholder value in the profession option array. --- app/Http/Livewire/Recipes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Livewire/Recipes.php b/app/Http/Livewire/Recipes.php index 9cad6a7..62312e8 100644 --- a/app/Http/Livewire/Recipes.php +++ b/app/Http/Livewire/Recipes.php @@ -46,7 +46,7 @@ class Recipes extends Component return [Str::lower($item['name']) => $item['name']]; }); - $this->profession_options = collect(['' => '-- Profession --']) + $this->profession_options = collect(['' => '-- ' . __('Profession') . ' --']) ->merge($options) ->toArray(); }