feat: add i18n support for Vietnamese and English
This commit is contained in:
@@ -11,9 +11,9 @@ enum ContractStatus: string
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::ACTIVE => 'Đang hiệu lực',
|
||||
self::EXPIRED => 'Hết hạn',
|
||||
self::LIQUIDATED => 'Đã thanh lý',
|
||||
self::ACTIVE => __('enums.contract_status.active'),
|
||||
self::EXPIRED => __('enums.contract_status.expired'),
|
||||
self::LIQUIDATED => __('enums.contract_status.liquidated'),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user