Index: trunk/extensions/EmailPage/EmailPage_body.php |
— | — | @@ -66,11 +66,11 @@ |
67 | 67 | $from = "<option>$wgEmergencyContact</option>"; |
68 | 68 | $ue = $wgUser->getEmail(); |
69 | 69 | if( $wgUser->isValidEmailAddr( $ue ) ) $from = "<option>$ue</option>$from"; else $ue = ""; |
70 | | - $wgOut->addHTML( "<tr id=\"ea-from\"><th align=\"right\">" . wfMsg( 'ea-from' ) . ":</th>" ); |
| 70 | + $wgOut->addHTML( "<tr id=\"ea-from\"><th align=\"right\">" . wfMsg( 'ea-from' ) . "</th>" ); |
71 | 71 | $wgOut->addHTML( "<td><select name=\"ea-from\">$from</select></td></tr>\n" ); |
72 | 72 | |
73 | 73 | # To |
74 | | - $wgOut->addHTML( "<tr id=\"ea-to\"><th align=\"right\" valign=\"top\">" . wfMsg( 'ea-to' ) . ":</th>" ); |
| 74 | + $wgOut->addHTML( "<tr id=\"ea-to\"><th align=\"right\" valign=\"top\">" . wfMsg( 'ea-to' ) . "</th>" ); |
75 | 75 | $wgOut->addHTML( "<td><textarea name=\"ea-to\" rows=\"2\" style=\"width:100%\">{$this->to}</textarea>" ); |
76 | 76 | $wgOut->addHTML( "<br /><small><i>(" . wfMsg( 'ea-to-info' ) . ")</i></small>" ); |
77 | 77 | |
— | — | @@ -90,7 +90,7 @@ |
91 | 91 | $wgOut->addHTML( "</td></tr>" ); |
92 | 92 | |
93 | 93 | # Cc |
94 | | - $wgOut->addHTML( "<tr id=\"ea-cc\"><th align=\"right\">" . wfMsg( 'ea-cc' ) . ":</th>" ); |
| 94 | + $wgOut->addHTML( "<tr id=\"ea-cc\"><th align=\"right\">" . wfMsg( 'ea-cc' ) . "</th>" ); |
95 | 95 | $wgOut->addHTML( "<td>" . |
96 | 96 | Xml::element( 'input', array( |
97 | 97 | 'type' => 'text', |
— | — | @@ -101,7 +101,7 @@ |
102 | 102 | . "</td></tr>" ); |
103 | 103 | |
104 | 104 | # Subject |
105 | | - $wgOut->addHTML( "<tr id=\"ea-subject\"><th align=\"right\">" . wfMsg( 'ea-subject' ) . ":</th>" ); |
| 105 | + $wgOut->addHTML( "<tr id=\"ea-subject\"><th align=\"right\">" . wfMsg( 'ea-subject' ) . "</th>" ); |
106 | 106 | $wgOut->addHTML( "<td>" . |
107 | 107 | Xml::element( 'input', array( |
108 | 108 | 'type' => 'text', |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | . "</td></tr>" ); |
114 | 114 | |
115 | 115 | # Message |
116 | | - $wgOut->addHTML( "<tr id=\"ea-message\"><th align=\"right\" valign=\"top\">" . wfMsg( 'ea-message' ) . ":</th>" ); |
| 116 | + $wgOut->addHTML( "<tr id=\"ea-message\"><th align=\"right\" valign=\"top\">" . wfMsg( 'ea-message' ) . "</th>" ); |
117 | 117 | $wgOut->addHTML( "<td><textarea name=\"ea-message\" rows=\"3\" style=\"width:100%\">{$this->message}</textarea>" ); |
118 | 118 | $wgOut->addHTML( "<br /><i><small>(" . wfMsg( 'ea-message-info' ) . ")</small></i></td></tr>" ); |
119 | 119 | |
— | — | @@ -133,7 +133,7 @@ |
134 | 134 | } |
135 | 135 | $db->freeResult( $res ); |
136 | 136 | if( $options ) { |
137 | | - $wgOut->addHTML( "<tr id=\"ea-css\"><th align=\"right\">" . wfMsg( 'ea-style' ) . ":</th><td>" ); |
| 137 | + $wgOut->addHTML( "<tr id=\"ea-css\"><th align=\"right\">" . wfMsg( 'ea-style' ) . "</th><td>" ); |
138 | 138 | $wgOut->addHTML( "<select name=\"ea-css\"><option />$options</select>" ); |
139 | 139 | $wgOut->addHTML( " <small><i>(" . wfMsg( 'ea-selectcss' ) . ")</i></small></td></tr>" ); |
140 | 140 | } |
— | — | @@ -150,7 +150,7 @@ |
151 | 151 | } |
152 | 152 | $db->freeResult( $res ); |
153 | 153 | if( $options ) { |
154 | | - $wgOut->addHTML( "<tr id=\"ea-data\"><th align=\"right\">" . wfMsg( 'ea-data' ) . ":</th><td>" ); |
| 154 | + $wgOut->addHTML( "<tr id=\"ea-data\"><th align=\"right\">" . wfMsg( 'ea-data' ) . "</th><td>" ); |
155 | 155 | $wgOut->addHTML( "<select name=\"ea-record\"><option />$options</select>" ); |
156 | 156 | $wgOut->addHTML( " <small><i>(" . wfMsg( 'ea-selectrecord' ) . ")</i></small></td></tr>" ); |
157 | 157 | } |
Index: trunk/extensions/EmailPage/EmailPage.i18n.php |
— | — | @@ -14,30 +14,30 @@ |
15 | 15 | $messages['en'] = array( |
16 | 16 | 'e-mailpage' => "E-mail page", |
17 | 17 | 'ea-desc' => "Send rendered HTML page to an e-mail address or list of addresses using [http://phpmailer.sourceforge.net phpmailer]", |
18 | | - 'ea-heading' => "E-mailing the page [[$1]]", |
| 18 | + 'ea-heading' => 'E-mailing the page "[[$1]]"', |
19 | 19 | 'ea-group-info' => "Additionally you can send the page to the members of a group", |
20 | | - 'ea-pagesend' => "Page \"$1\" sent from $2", |
21 | | - 'ea-nopage' => "No page was specified for sending, please use the E-mail links from the sidebar or page actions.", |
| 20 | + 'ea-pagesend' => 'Page "$1" sent from $2', |
| 21 | + 'ea-nopage' => "No page was specified for sending, please use the e-mail link from the sidebar or page actions.", |
22 | 22 | 'ea-norecipients' => "No valid e-mail addresses found!", |
23 | | - 'ea-listrecipients' => "Listing {{PLURAL:$1|Recipient|$1 recipients}}", |
| 23 | + 'ea-listrecipients' => 'Listing {{PLURAL:$1|recipient|$1 recipients}}', |
24 | 24 | 'ea-error' => "'''Error sending [[$1]]:''' ''$2''", |
25 | 25 | 'ea-denied' => "Permission denied", |
26 | 26 | 'ea-sent' => "Page [[$1]] sent successfully to '''$2''' {{PLURAL:$2|recipient|recipients}} by [[User:$3|$3]].", |
27 | 27 | 'ea-compose' => "Compose content", |
28 | 28 | 'ea-show' => "View recipient list", |
29 | | - 'ea-from' => "From", |
30 | | - 'ea-to' => "To", |
31 | | - 'ea-to-info' => "Email addresses can be separated with one or more semicolon, comma, asterisk or newline characters", |
32 | | - 'ea-cc' => "Cc", |
| 29 | + 'ea-from' => 'From:', |
| 30 | + 'ea-to' => 'To:', |
| 31 | + 'ea-to-info' => "E-mail addresses can be separated with one or more semicolon, comma, asterisk or newline characters", |
| 32 | + 'ea-cc' => 'CC:', |
33 | 33 | 'ea-send' => "Send", |
34 | | - 'ea-subject' => "Subject", |
35 | | - 'ea-message' => "Message", |
| 34 | + 'ea-subject' => 'Subject:', |
| 35 | + 'ea-message' => 'Message:', |
36 | 36 | 'ea-message-info' => "Prepend content with optional wikitext message", |
37 | | - 'ea-style' => "Style", |
38 | | - 'ea-selectcss' => "You can select a CSS stylesheet", |
| 37 | + 'ea-style' => 'Style:', |
| 38 | + 'ea-selectcss' => "You can select a stylesheet", |
39 | 39 | 'ea-data' => "Data", |
40 | 40 | 'ea-selectrecord' => "These templates can be used to fill in fields in the message content", |
41 | | - 'ea-allusers' => "ALL USERS" |
| 41 | + 'ea-allusers' => "All users" |
42 | 42 | ); |
43 | 43 | |
44 | 44 | /** Message documentation (Message documentation) |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -385,6 +385,10 @@ |
386 | 386 | |
387 | 387 | Email Address Image |
388 | 388 | |
| 389 | +Email Page |
| 390 | +aliasfile = EmailPage/EmailPage.alias.php |
| 391 | +descmsg = ea-desc |
| 392 | + |
389 | 393 | Embed Video |
390 | 394 | |
391 | 395 | Emergency DeSysop |