Index: trunk/extensions/CentralNotice/CentralNoticeBannerLogPager.php |
— | — | @@ -64,7 +64,7 @@ |
65 | 65 | wfMsg ( 'centralnotice-user-links', $userLink, $userTalkLink ) |
66 | 66 | ); |
67 | 67 | $htmlOut .= Xml::tags( 'td', array( 'valign' => 'top', 'class' => 'primary' ), |
68 | | - $row->tmplog_action |
| 68 | + wfMsg ( 'centralnotice-action-'.$row->tmplog_action ) |
69 | 69 | ); |
70 | 70 | $htmlOut .= Xml::tags( 'td', array( 'valign' => 'top', 'class' => 'primary' ), |
71 | 71 | $bannerLink |
Index: trunk/extensions/CentralNotice/CentralNotice.i18n.php |
— | — | @@ -155,6 +155,9 @@ |
156 | 156 | 'centralnotice-timestamp' => 'Timestamp', |
157 | 157 | 'centralnotice-user' => 'User', |
158 | 158 | 'centralnotice-action' => 'Action', |
| 159 | + 'centralnotice-action-created' => 'created', |
| 160 | + 'centralnotice-action-modified' => 'modified', |
| 161 | + 'centralnotice-action-removed' => 'removed', |
159 | 162 | 'centralnotice-changed' => 'Changed from <span class="cn-old-value">$1</span> to <span class="cn-new-value">$2</span>', |
160 | 163 | 'centralnotice-on' => 'on', |
161 | 164 | 'centralnotice-off' => 'off', |
— | — | @@ -283,6 +286,9 @@ |
284 | 287 | 'centralnotice-timestamp' => '{{Identical|Timestamp}}', |
285 | 288 | 'centralnotice-user' => '{{Identical|User}}', |
286 | 289 | 'centralnotice-action' => '{{Identical|Action}}', |
| 290 | + 'centralnotice-action-created' => 'Indicates which type of action was performed. Should be lower-case, as if it appeared in the middle of a sentence.', |
| 291 | + 'centralnotice-action-modified' => 'Indicates which type of action was performed. Should be lower-case, as if it appeared in the middle of a sentence.', |
| 292 | + 'centralnotice-action-removed' => 'Indicates which type of action was performed. Should be lower-case, as if it appeared in the middle of a sentence.', |
287 | 293 | 'centralnotice-on' => 'indicates a notice is on air |
288 | 294 | |
289 | 295 | {{Identical|On}}', |
Index: trunk/extensions/CentralNotice/CentralNoticeCampaignLogPager.php |
— | — | @@ -118,7 +118,7 @@ |
119 | 119 | wfMsg ( 'centralnotice-user-links', $userLink, $userTalkLink ) |
120 | 120 | ); |
121 | 121 | $htmlOut .= Xml::tags( 'td', array( 'valign' => 'top', 'class' => 'primary' ), |
122 | | - $row->notlog_action |
| 122 | + wfMsg ( 'centralnotice-action-'.$row->notlog_action ) |
123 | 123 | ); |
124 | 124 | $htmlOut .= Xml::tags( 'td', array( 'valign' => 'top', 'class' => 'primary' ), |
125 | 125 | $campaignLink |