translate base

This commit is contained in:
Mekan1206
2026-07-31 18:08:08 +05:00
parent a794dacd39
commit 581cb8241c
413 changed files with 9087 additions and 428 deletions

View File

@@ -6,12 +6,16 @@ namespace App\Filament\Widgets;
use App\Models\Employee;
use Filament\Widgets\ChartWidget;
class MonthlyHiringChart extends ChartWidget
{
protected ?string $heading = 'Monthly Hiring (Last 12 Months)';
protected int | string | array $columnSpan = 1;
public function getHeading(): ?string
{
return __('hr.widgets.monthly_hiring');
}
protected function getType(): string
{
return 'bar';
@@ -35,7 +39,7 @@ class MonthlyHiringChart extends ChartWidget
return [
'datasets' => [
[
'label' => 'New Hires',
'label' => __('hr.widgets.new_hires'),
'data' => $data,
'backgroundColor' => '#3b82f6',
],