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

@@ -13,9 +13,9 @@ enum ApprovalStatus: string
public function label(): string
{
return match ($this) {
self::Pending => 'Pending',
self::Approved => 'Approved',
self::Rejected => 'Rejected',
self::Pending => __('enums.approval_status.pending'),
self::Approved => __('enums.approval_status.approved'),
self::Rejected => __('enums.approval_status.rejected'),
};
}