Skip to content

Commit

Permalink
Merge pull request #3165 from CihanSenturk/fix-delete-button-message
Browse files Browse the repository at this point in the history
Fixed delete button message text
  • Loading branch information
cuneytsenturk committed May 16, 2024
2 parents 5e0f0c7 + 2718722 commit ab96ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/View/Components/DeleteButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ protected function getModelTitle()
$group = $page;
$page = (! empty($this->route)) ? $paths[1] : $paths[2];

$title = trans_choice($group . '::general.' . $page, 1);
$title = trans_choice($group . '::general.' . str_replace('-', '_', $page), 1);
}

return $title;
Expand Down

0 comments on commit ab96ae7

Please sign in to comment.