translate base
This commit is contained in:
@@ -14,10 +14,10 @@ enum BonusType: string
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::Performance => 'Performance',
|
||||
self::Holiday => 'Holiday',
|
||||
self::Retention => 'Retention',
|
||||
self::Other => 'Other',
|
||||
self::Performance => __('enums.bonus_type.performance'),
|
||||
self::Holiday => __('enums.bonus_type.holiday'),
|
||||
self::Retention => __('enums.bonus_type.retention'),
|
||||
self::Other => __('enums.bonus_type.other'),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user