BUG 1653 - Removing hardcoded messages in Special:Allmessages
authorJens Frank <jeluf@users.mediawiki.org>
Sun, 13 Mar 2005 09:03:58 +0000 (09:03 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Sun, 13 Mar 2005 09:03:58 +0000 (09:03 +0000)
includes/SpecialAllmessages.php
languages/Language.php

index 21085bc..fa7e0b3 100644 (file)
@@ -100,9 +100,9 @@ function makeHTMLText( $messages ) {
 
        <table border='1' cellspacing='0' width='100%'>
        <tr bgcolor='#b2b2ff'>
-               <th>Name</th>
-               <th>Default text</th>
-               <th>Current text</th>
+               <th>" . wfMsg('allmessagesname') . "</th>
+               <th>" . wfMsg('allmessagesdefault') . "</th>
+               <th>" . wfMsg('allmessagescurrent')  . "</th>
        </tr>";
        
        wfProfileIn( "$fname-check" );
index dd38d22..51c3725 100644 (file)
@@ -1555,6 +1555,9 @@ article [[Train]].
 # Namespace 8 related
 
 'allmessages'  => 'All system messages',
+'allmessagesname' => 'Name',
+'allmessagesdefault' => 'Default text',
+'allmessagescurrent' => 'Current text',
 'allmessagestext'      => 'This is a list of all system messages available in the MediaWiki: namespace.',
 'allmessagesnotsupportedUI' => 'Your current interface language <b>$1</b> is not supported by Special:AllMessages at this site. ',
 'allmessagesnotsupportedDB' => 'Special:AllMessages not supported because wgUseDatabaseMessages is off.',