From: Evan Prodromou Date: Thu, 12 Feb 2004 02:33:21 +0000 (+0000) Subject: Changed default email subject from hard-coded string to LanguageXX.php X-Git-Tag: 1.3.0beta1~991 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=cf68cbfb09d80920ee6276328cd014e014c2835a;p=lhc%2Fweb%2Fwiklou.git Changed default email subject from hard-coded string to LanguageXX.php entry. --- diff --git a/includes/SpecialEmailuser.php b/includes/SpecialEmailuser.php index ababac206f..4912852182 100644 --- a/includes/SpecialEmailuser.php +++ b/includes/SpecialEmailuser.php @@ -57,7 +57,7 @@ class EmailUserForm { $wgOut->setPagetitle( wfMsg( "emailpage" ) ); $wgOut->addWikiText( wfMsg( "emailpagetext" ) ); - if ( ! $wpSubject ) { $wpSubject = "Wikipedia e-mail"; } + if ( ! $wpSubject ) { $wpSubject = wfMsg( "defemailsubject" ); } $emf = wfMsg( "emailfrom" ); $sender = $wgUser->getName(); diff --git a/languages/Language.php b/languages/Language.php index 1b3ca3c75f..1f779af64a 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1057,6 +1057,7 @@ his or her user preferences, the form below will send a single message. The e-mail address you entered in your user preferences will appear as the \"From\" address of the mail, so the recipient will be able to reply.", +"defemailsubject" => "$wgSitename e-mail", "noemailtitle" => "No e-mail address", "noemailtext" => "This user has not specified a valid e-mail address, or has chosen not to receive e-mail from other users.",