Document generated messages

Change-Id: I89101839f7c056cdd509e000fb0bbc8573f97515
This commit is contained in:
Ed Sanders 2023-11-30 11:52:11 +00:00
parent deeaf16bdb
commit 1e77d0163f
3 changed files with 8 additions and 0 deletions

View file

@ -59,6 +59,8 @@ class EchoCoreThanksPresentationModel extends EchoEventPresentationModel {
}
public function getCompactHeaderMessage() {
// The following message is used here:
// * notification-compact-header-edit-thank
$msg = parent::getCompactHeaderMessage();
$msg->params( $this->getViewingUserForGender() );
return $msg;

View file

@ -23,6 +23,8 @@ class EchoFlowThanksPresentationModel extends FlowPresentationModel {
$msg->params( $this->getViewingUserForGender() );
return $msg;
} else {
// The following message is used here:
// * notification-header-flow-thank
$msg = parent::getHeaderMessage();
$msg->plaintextParams( $this->getTopicTitle() );
$msg->params( $this->getTruncatedTitleText( $this->event->getTitle(), true ) );
@ -32,6 +34,8 @@ class EchoFlowThanksPresentationModel extends FlowPresentationModel {
}
public function getCompactHeaderMessage() {
// The following message is used here:
// * notification-compact-header-flow-thank
$msg = parent::getCompactHeaderMessage();
$msg->params( $this->getViewingUserForGender() );
return $msg;

View file

@ -307,6 +307,8 @@ class Hooks implements
];
$notifications['edit-thank'] = [
// The following message is generated by the category name:
// * echo-category-title-edit-thank
'category' => 'edit-thank',
'group' => 'positive',
'section' => 'message',