feat: add i18n support for Vietnamese and English
Some checks failed
Tests / PHP 8.3 (push) Has been cancelled
Tests / PHP 8.4 (push) Has been cancelled
Tests / PHP 8.5 (push) Has been cancelled

This commit is contained in:
2026-05-04 10:40:39 +00:00
parent 3a8db5cae6
commit 8c6b71cb8a
64 changed files with 4652 additions and 254 deletions

View File

@@ -12,10 +12,10 @@ enum HandoverStatus: string
public function label(): string
{
return match ($this) {
self::NOT_READY => 'Chưa đủ điều kiện',
self::READY => 'Đủ điều kiện',
self::HANDED_OVER => 'Đã bàn giao',
self::SCHEDULED => 'Đã lên lịch',
self::NOT_READY => __('enums.handover.not_ready'),
self::READY => __('enums.handover.ready'),
self::HANDED_OVER => __('enums.handover.handed_over'),
self::SCHEDULED => __('enums.handover.scheduled'),
};
}