Revert r37223 "keeping the consistence of the function name string"
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 7 Jul 2008 20:27:52 +0000 (20:27 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 7 Jul 2008 20:27:52 +0000 (20:27 +0000)
Incorrect use of UI language message in content-language text

includes/specials/SpecialEmailuser.php
languages/messages/MessagesCs.php
languages/messages/MessagesEn.php

index 205002f..3874c6a 100644 (file)
@@ -150,7 +150,7 @@ class EmailUserForm {
 
                // Add a standard footer and trim up trailing newlines
                $this->text = rtrim($this->text) . "\n\n---\n" . wfMsgExt( 'emailuserfooter',
-                       array( 'content', 'parsemag' ), array( $from->name, $to->name, wfMsg ('emailuser') ) );
+                       array( 'content', 'parsemag' ), array( $from->name, $to->name ) );
                
                if( wfRunHooks( 'EmailUser', array( &$to, &$from, &$subject, &$this->text ) ) ) {
 
index 9408655..59629c1 100644 (file)
@@ -1666,7 +1666,6 @@ Zobrazení můžete zúžit výběrem typu záznamu, uživatelského jména nebo
 'emailccsubject'  => 'Kopie Vaší zprávy pro uživatele $1: $2',
 'emailsent'       => 'Zpráva odeslána',
 'emailsenttext'   => 'Váš e-mail byl odeslán.',
-'emailuserfooter' => 'Tento e-mail byl zaslal(a) $1 uživateli/uživatelce $2 s použitím funkce „$3“ na {{grammar:6sg|{{SITENAME}}}}.',
 
 # Watchlist
 'watchlist'            => 'Sledované stránky',
index 673e7bd..028cc60 100644 (file)
@@ -2039,7 +2039,7 @@ 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' => 'This e-mail was sent by $1 to $2 by the "$3" function at {{SITENAME}}.',
+'emailuserfooter' => 'This e-mail was sent by $1 to $2 by the "Email user" function at {{SITENAME}}.',
 
 # Watchlist
 'watchlist'            => 'My watchlist',