diff --git a/ThanksPresentationModel.php b/ThanksPresentationModel.php index ee6b2d0b..9139d6b9 100644 --- a/ThanksPresentationModel.php +++ b/ThanksPresentationModel.php @@ -23,6 +23,12 @@ class EchoThanksPresentationModel extends EchoEventPresentationModel { } } + public function getCompactHeaderMessage() { + $msg = parent::getCompactHeaderMessage(); + $msg->params( $this->getViewingUserForGender() ); + return $msg; + } + public function getBodyMessage() { $comment = $this->getEditComment(); if ( $comment ) { diff --git a/i18n/en.json b/i18n/en.json index ed64880f..d1478a2f 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -26,7 +26,7 @@ "notification-thanks-diff-link": "your edit", "notification-thanks": "[[User:$1|$1]] {{GENDER:$1|thanked}} you for $2 on [[:$3]].", "notification-header-edit-thank": "$1 {{GENDER:$2|thanked}} {{GENDER:$4|you}} for your edit on $3.", - "notification-compact-header-edit-thank": "$1 {{GENDER:$2|thanked}} {{GENDER:$4|you}}.", + "notification-compact-header-edit-thank": "$1 {{GENDER:$2|thanked}} {{GENDER:$3|you}}.", "notification-bundle-header-edit-thank": "{{PLURAL:$1|One person|$1 people|100=99+ people}} thanked {{GENDER:$3|you}} for your edit on $2.", "notification-thanks-email-subject": "$1 {{GENDER:$1|thanked}} you for your edit on {{SITENAME}}", "notification-thanks-email-batch-body": "$1 {{GENDER:$1|thanked}} you for your edit on $2.",