mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Allow translation of 'Changes applied' message on CommentHandler
Co-Authored-By: Cheddam <cheddam@me.com>
This commit is contained in:
parent
74afde6d9b
commit
f0998faafb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user