# HG changeset patch # User Dan # Date 1201641655 18000 # Node ID 9829ca63b53ab990f98aee46d02c1006b11420b9 # Parent f0978aed065a3f028662f5b651910d8faf1f0250 Localized stray string "list of registered members" in UCP diff -r f0978aed065a -r 9829ca63b53a language/english/user.json --- a/language/english/user.json Mon Jan 28 21:54:44 2008 -0500 +++ b/language/english/user.json Tue Jan 29 16:20:55 2008 -0500 @@ -201,6 +201,8 @@ sec_pm_drafts: 'Drafts', sec_pm_archive: 'Archive', + btn_memberlist: 'list of registered members', + // CP home intro_heading_main: '%username%, welcome to your control panel', intro_para1: 'Here you can make changes to your profile, view statistics on yourself on this site, and set your preferences.', diff -r f0978aed065a -r 9829ca63b53a plugins/SpecialUserPrefs.php --- 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')