mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
improve filament trans + user profile actions
This commit is contained in:
@@ -33,7 +33,7 @@ class ExamUser extends NexusModel
|
||||
|
||||
public function getStatusTextAttribute(): string
|
||||
{
|
||||
return self::$status[$this->status]['text'] ?? '';
|
||||
return nexus_trans('exam-user.status.' . $this->status);
|
||||
}
|
||||
|
||||
public function getIsDoneTextAttribute(): string
|
||||
|
||||
Reference in New Issue
Block a user