--- a/plugins/SpecialUserPrefs.php Mon Jan 28 21:54:44 2008 -0500
+++ b/plugins/SpecialUserPrefs.php Tue Jan 29 16:20:55 2008 -0500
@@ -46,6 +46,7 @@
function userprefs_jbox_setup(&$button, &$tb, &$menubtn)
{
global $db, $session, $paths, $template, $plugins; // Common objects
+ global $lang;
if ( $paths->namespace != 'Special' || $paths->page_id != 'Preferences' )
return false;
@@ -54,7 +55,7 @@
$template->toolbar_menu = '';
$button->assign_vars(array(
- 'TEXT' => 'list of registered members',
+ 'TEXT' => $lang->get('usercp_btn_memberlist'),
'FLAGS' => '',
'PARENTFLAGS' => '',
'HREF' => makeUrlNS('Special', 'Memberlist')