feat: lang middleware and filament translations
This commit is contained in:
@@ -13,9 +13,9 @@ enum PacePreference: string implements HasLabel
|
||||
public function getLabel(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::SLOW => 'Lent',
|
||||
self::NORMAL => 'Normal',
|
||||
self::FAST => 'Rapide',
|
||||
self::SLOW => __('enums.pace_preference.slow'),
|
||||
self::NORMAL => __('enums.pace_preference.normal'),
|
||||
self::FAST => __('enums.pace_preference.fast'),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user