r57694 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57693‎ | r57694 | r57695 >
Date:00:42, 14 October 2009
Author:aaron
Status:ok
Tags:
Comment:
bug 20854: removed hardcoded English from r41211
Modified paths:
  • /trunk/extensions/CodeReview/CodeReview.i18n.php (modified) (history)
  • /trunk/extensions/CodeReview/ui/CodeRevisionView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeReview.i18n.php
@@ -72,6 +72,7 @@
7373 'code-rev-comment-by' => 'Comment by $1',
7474 'code-rev-comment-submit' => 'Submit comment',
7575 'code-rev-comment-preview' => 'Preview',
 76+ 'code-rev-inline-preview' => 'Preview:',
7677 'code-rev-diff' => 'Diff',
7778 'code-rev-diff-link' => 'diff',
7879 'code-rev-purge-link' => 'purge',
Index: trunk/extensions/CodeReview/ui/CodeRevisionView.php
@@ -560,7 +560,7 @@
561561
562562 if ( $comment->id === 0 ) {
563563 $linkId = 'cpreview';
564 - $permaLink = "<b>Preview:</b> ";
 564+ $permaLink = '<strong>'.wfMsgHtml('code-rev-inline-preview').'</strong> ';
565565 } else {
566566 $linkId = 'c' . intval( $comment->id );
567567 $permaLink = $this->mSkin->link( $this->commentLink( $comment->id ), "#" );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r41211CodeReview: make comment previews work :)brion00:44, 24 September 2008

Status & tagging log