i18n tweak: Use 'colon-separator' instead of hardcoded colon
authorRaimond Spekking <raymond@users.mediawiki.org>
Mon, 2 Nov 2009 19:06:16 +0000 (19:06 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Mon, 2 Nov 2009 19:06:16 +0000 (19:06 +0000)
includes/FileDeleteForm.php
includes/Title.php
includes/specials/SpecialUndelete.php

index bfd3670..b2620c3 100644 (file)
@@ -99,7 +99,7 @@ class FileDeleteForm {
                                $log = new LogPage( 'delete' );
                                $logComment = wfMsgForContent( 'deletedrevision', $oldimage );
                                if( trim( $reason ) != '' )
-                                       $logComment .= ": {$reason}";
+                                       $logComment .= wfMsgForContent( 'colon-separator' ) . $reason;
                                        $log->addEntry( 'delete', $title, $logComment );
                        }
                } else {
index e461529..d0b28e5 100644 (file)
@@ -2880,7 +2880,7 @@ class Title {
                $comment = wfMsgForContent( '1movedto2_redir', $this->getPrefixedText(), $nt->getPrefixedText() );
 
                if ( $reason ) {
-                       $comment .= ": $reason";
+                       $comment .= wfMsgForContent( 'colon-separator' ) . $reason;
                }
 
                $now = wfTimestampNow();
index 12be578..9a16f09 100644 (file)
@@ -358,7 +358,7 @@ class PageArchive {
                }
 
                if( trim( $comment ) != '' )
-                       $reason .= ": {$comment}";
+                       $reason .= wfMsgForContent( 'colon-separator' ) . $comment;
                $log->addEntry( 'restore', $this->title, $reason );
 
                return array($textRestored, $filesRestored, $reason);