creating translation pt_BR for radio component

This commit is contained in:
Eduardo
2023-11-27 21:12:07 -03:00
parent 7d3d500194
commit e85254ff9b
3 changed files with 12 additions and 2 deletions
@@ -425,5 +425,10 @@ return [
],
],
'radio' => [
'true' => 'Yes',
'false' => 'No',
],
];
@@ -426,4 +426,9 @@ return [
],
'radio' => [
'true' => 'Sim',
'false' => 'Não',
],
];
+2 -2
View File
@@ -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;