X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/9558f84b979b45d6f011553a60d100973a21d48e..refs/pull/494/head:/app/Repos/CommentRepo.php diff --git a/app/Repos/CommentRepo.php b/app/Repos/CommentRepo.php index 55af0fe12..ce71b9234 100644 --- a/app/Repos/CommentRepo.php +++ b/app/Repos/CommentRepo.php @@ -46,8 +46,8 @@ class CommentRepo { } public function delete($comment) { - $comment->text = trans('errors.cannot_add_comment_to_draft'); - $comment->html = trans('errors.cannot_add_comment_to_draft'); + $comment->text = trans('entities.comment_deleted'); + $comment->html = trans('entities.comment_deleted'); $comment->active = false; $userId = user()->id; $comment->updated_by = $userId;