1
0
Fork 0

app/Http/Livewire/Recipes.php: translate the placeholder value in the profession option array.

This commit is contained in:
Henrik Hautakoski 2021-07-31 14:15:35 +02:00
parent 531da903ae
commit fe7d275caf

View file

@ -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();
}