Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 11 无法获取翻译描述 #16

Open
loserc6 opened this issue Jul 30, 2024 · 1 comment
Open

Laravel 11 无法获取翻译描述 #16

loserc6 opened this issue Jul 30, 2024 · 1 comment

Comments

@loserc6
Copy link

loserc6 commented Jul 30, 2024

vendor/jiannei/laravel-enum/src/Support/Traits/EnumEnhance.php:31
$key = "$localizationGroup.".static::class.'.'.$this->name;
需变更成value

$key = "$localizationGroup." . static::class . '.' . $this->value;
@jiannei
Copy link
Owner

jiannei commented Aug 8, 2024

欢迎提交 pr :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants