* No point passing sitename in parameter, as needs to be accompanied with grammar...
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 17 Jun 2008 08:03:34 +0000 (08:03 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Tue, 17 Jun 2008 08:03:34 +0000 (08:03 +0000)
includes/specials/Emailuser.php
languages/messages/MessagesEn.php

index bf4eea7..4e7045d 100644 (file)
@@ -155,7 +155,7 @@ class EmailUserForm {
                $footerArgs[1] = $from->name;
                $footerArgs[2] = $to->name;
                $footerArgs[3] = $prefsTitle->getFullURL();
-               $this->text = $this->text . "\n" . wfMsg( 'emailuserfooter', $footerArgs );
+               $this->text = $this->text . "\n" . wfMsgExt( 'emailuserfooter', 'parsemag', $footerArgs );
                
                if( wfRunHooks( 'EmailUser', array( &$to, &$from, &$subject, &$this->text ) ) ) {
 
@@ -190,7 +190,7 @@ class EmailUserForm {
                        $mailResult = UserMailer::send( $to, $mailFrom, $subject, $this->text, $replyTo );
 
                        if( WikiError::isError( $mailResult ) ) {
-                               return $mailResult;                     
+                               return $mailResult;
                                
                        } else {
 
index 3606efa..5dac099 100644 (file)
@@ -2014,9 +2014,9 @@ The e-mail address you entered in your user preferences will appear as the "From
 'emailccsubject'  => 'Copy of your message to $1: $2',
 'emailsent'       => 'E-mail sent',
 'emailsenttext'   => 'Your e-mail message has been sent.',
-'emailuserfooter' => 'Sent automatically by $1 to $2 for $3
-Please note, $1 cannot be held responsible for the content of this email.
-The option to remove yourself from these mailings is in your preferences
+'emailuserfooter' => 'Sent automatically by {{SITENAME}} to $2 for $3.
+Please note, {{SITENAME}} cannot be held responsible for the content of this email.
+The option to remove yourself from these mailings is in your preferences.
 Check your preferences at $4 and uncheck "Enable e-mail from other users."',
 
 # Watchlist