diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b7cfb6..e366a8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ CHANGELOG ========= +0.12.1 (2024-02-28) +------------------- + +- Fixed "Logout" translation + + 0.12.0 (2024-02-27) ------------------- diff --git a/src/Components/Buttons/Actions/Logout.php b/src/Components/Buttons/Actions/Logout.php index db9fff6..be4adc9 100644 --- a/src/Components/Buttons/Actions/Logout.php +++ b/src/Components/Buttons/Actions/Logout.php @@ -28,7 +28,7 @@ public function __construct( public bool $novalidate = true, ) { $action = $action === '' ? \route('logout') : $action; - $text ??= Str::ucfirst('Logout'); + $text ??= Str::ucfirst('action.logout'); $formId ??= 'logout-'.Str::random(32); parent::__construct(