diff options
Diffstat (limited to 'Echo/includes/formatters/EchoForeignPresentationModel.php')
-rw-r--r-- | Echo/includes/formatters/EchoForeignPresentationModel.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Echo/includes/formatters/EchoForeignPresentationModel.php b/Echo/includes/formatters/EchoForeignPresentationModel.php index 0d040dfc..42e56f81 100644 --- a/Echo/includes/formatters/EchoForeignPresentationModel.php +++ b/Echo/includes/formatters/EchoForeignPresentationModel.php @@ -15,7 +15,8 @@ class EchoForeignPresentationModel extends EchoEventPresentationModel { // notification-header-foreign-alert // notification-header-foreign-notice - return "notification-header-{$this->type}-{$section}"; + // notification-header-foreign-all + return "notification-header-foreign-{$section}"; } public function getHeaderMessage() { @@ -33,7 +34,7 @@ class EchoForeignPresentationModel extends EchoEventPresentationModel { public function getBodyMessage() { $data = $this->event->getExtra(); - $msg = wfMessage( "notification-body-{$this->type}" ); + $msg = wfMessage( 'notification-body-foreign' ); $msg->params( $this->language->listToText( $this->getWikiNames( $data['wikis'] ) ) ); return $msg; } |