From f0998faafba52fa0b7a9922171c0ad0ac1bf10ce Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Fri, 22 Mar 2019 15:43:19 +1300 Subject: [PATCH] Allow translation of 'Changes applied' message on CommentHandler Co-Authored-By: Cheddam --- src/Admin/CommentsGridFieldBulkAction/CommentHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Admin/CommentsGridFieldBulkAction/CommentHandler.php b/src/Admin/CommentsGridFieldBulkAction/CommentHandler.php index 2b60ac4..fd66019 100644 --- a/src/Admin/CommentsGridFieldBulkAction/CommentHandler.php +++ b/src/Admin/CommentsGridFieldBulkAction/CommentHandler.php @@ -35,7 +35,7 @@ abstract class CommentHandler extends Handler $response->addSuccessRecord($comment); } - $response->setMessage('Changes applied'); + $response->setMessage(_t(__CLASS__ . '.CHANGES_APPLIED', 'Changes applied')); return $response; }