Skip to content

Commit

Permalink
Fixed "Logout" translation
Browse files Browse the repository at this point in the history
  • Loading branch information
forxer committed Feb 28, 2024
1 parent d67755c commit eac8cb9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
CHANGELOG
=========

0.12.1 (2024-02-28)
-------------------

- Fixed "Logout" translation


0.12.0 (2024-02-27)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion src/Components/Buttons/Actions/Logout.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit eac8cb9

Please sign in to comment.