mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
creating translation pt_BR for radio component
This commit is contained in:
@@ -425,5 +425,10 @@ return [
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'radio' => [
|
||||
'true' => 'Yes',
|
||||
'false' => 'No',
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
@@ -426,4 +426,9 @@ return [
|
||||
|
||||
],
|
||||
|
||||
'radio' => [
|
||||
'true' => 'Sim',
|
||||
'false' => 'Não',
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
@@ -34,8 +34,8 @@ class Radio extends Field
|
||||
public function boolean(?string $trueLabel = null, ?string $falseLabel = null): static
|
||||
{
|
||||
$this->options([
|
||||
1 => $trueLabel ?? __('filament-forms::components.select.boolean.true'),
|
||||
0 => $falseLabel ?? __('filament-forms::components.select.boolean.false'),
|
||||
1 => $trueLabel ?? __('filament-forms::components.radio.true'),
|
||||
0 => $falseLabel ?? __('filament-forms::components.radio.false'),
|
||||
]);
|
||||
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user