Removed hardcoded messages in Special:Listusers.
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Thu, 24 Mar 2005 09:26:20 +0000 (09:26 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Thu, 24 Mar 2005 09:26:20 +0000 (09:26 +0000)
includes/SpecialListusers.php
languages/Language.php

index 559ef6a..ae315f0 100644 (file)
@@ -64,7 +64,7 @@ class ListUsersPage extends QueryPage {
                // form header
                $out = '<form method="get" action="'.$action.'">' .
                                '<input type="hidden" name="title" value="'.$special.'" />' .
-                               'Group: <select name="group">';
+                               wfMsg( 'speciallistusersgrouplabel' ) . '<select name="group">';
 
                // get all group names and id
                $dbr = & wfGetDB( DB_SLAVE );
@@ -82,7 +82,7 @@ class ListUsersPage extends QueryPage {
                }
                $out .= '</select> ';
 
-               $out .= 'User: <input type="text" name="username" /> ';
+               $out .= wfMsg( 'speciallistusersuserlabel' ) . '<input type="text" name="username" /> ';
 
                // OK button, end of form.
                $out .= '<input type="submit" /></form>';
index 400611d..99cab57 100644 (file)
@@ -1788,6 +1788,10 @@ ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\');
 'specialloguserlabel' => 'User: ',
 'speciallogtitlelabel' => 'Title: ',
 
+# labels for Group: and User: ond Special:Listusers
+'speciallistusersuserlabel' => 'User: ',
+'speciallistusersgrouplabel' => 'Group: ',
+
 'passwordtooshort' => 'Your password is too short. It must have at least $1 characters.',
 
 );