Index: trunk/extensions/CodeReview/CodeReview.i18n.php |
— | — | @@ -25,6 +25,10 @@ |
26 | 26 | 'code-rev-modified-c' => 'copied', |
27 | 27 | 'code-rev-modified-d' => 'deleted', |
28 | 28 | 'code-rev-modified-m' => 'modified', |
| 29 | + 'code-rev-comment-by' => 'Comment by', |
| 30 | + 'code-rev-comment-submit' => 'Submit comment', |
| 31 | + 'code-rev-comment-preview' => 'Preview', |
| 32 | + 'code-rev-diff' => 'Diff', |
29 | 33 | |
30 | 34 | 'repoadmin' => 'Repository Administration', |
31 | 35 | 'repoadmin-new-legend' => 'Create a new repository', |
Index: trunk/extensions/CodeReview/SpecialCode.php |
— | — | @@ -244,7 +244,7 @@ |
245 | 245 | <tr><td valign="top">' . wfMsgHtml( 'code-rev-paths' ) . '</td><td valign="top">' . $paths . '</td></tr> |
246 | 246 | </table>'; |
247 | 247 | $html .= |
248 | | - "<h2>Diff</h2>" . |
| 248 | + "<h2>" . wfMsgHtml( 'code-rev-diff' ) . "</h2>" . |
249 | 249 | "<div class='mw-codereview-diff'>" . |
250 | 250 | $this->formatDiff() . |
251 | 251 | "</div>"; |
— | — | @@ -308,7 +308,7 @@ |
309 | 309 | global $wgOut, $wgLang; |
310 | 310 | return '<div class="mw-codereview-comment">' . |
311 | 311 | '<div class="mw-codereview-comment-meta">' . |
312 | | - 'Comment by ' . |
| 312 | + wfMsgHtml( 'code-rev-comment-by' ) . ' ' . |
313 | 313 | $this->mSkin->userLink( $comment->user, $comment->userText ) . |
314 | 314 | $this->mSkin->userToolLinks( $comment->user, $comment->userText ) . |
315 | 315 | ' ' . |
— | — | @@ -335,9 +335,9 @@ |
336 | 336 | Xml::textArea( 'wpTextbox1', '' ) . |
337 | 337 | '</div>' . |
338 | 338 | '<div>' . |
339 | | - Xml::submitButton( 'Submit comment', array( 'name' => 'wpSave' ) ) . |
| 339 | + Xml::submitButton( wfMsg( 'code-rev-comment-submit' ), array( 'name' => 'wpSave' ) ) . |
340 | 340 | ' ' . |
341 | | - Xml::submitButton( 'Preview', array( 'name' => 'wpPreview' ) ) . |
| 341 | + Xml::submitButton( wfMsg( 'code-rev-comment-preview' ), array( 'name' => 'wpPreview' ) ) . |
342 | 342 | '</div>' . |
343 | 343 | '</div>' . |
344 | 344 | '</form>'; |