From 9250203ff53e9326088dd093af9f7d686c1de65b Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 28 Aug 2006 07:12:10 +0000 Subject: [PATCH] Added a better string as per MDL-6379 --- admin/roles/assign.php | 4 ++-- lang/en_utf8/role.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/roles/assign.php b/admin/roles/assign.php index a4dce64524..8bff683a75 100755 --- a/admin/roles/assign.php +++ b/admin/roles/assign.php @@ -48,7 +48,7 @@ $strpotentialusers = get_string('potentialusers', 'role'); $strexistingusers = get_string('existingusers', 'role'); $straction = get_string('assignroles', 'role'); - $strcurrentrole = get_string('currentrole', 'role'); + $strroletoassign = get_string('roletoassign', 'role'); $strcurrentcontext = get_string('currentcontext', 'role'); $strsearch = get_string('search'); $strshowall = get_string('showall'); @@ -169,7 +169,7 @@ if ($courseid) { print (''); } - print (''.$strcurrentrole.': '); + print (''.$strroletoassign.': '); choose_from_menu ($assignableroles, 'roleid', $roleid, 'choose', $script='rolesform.submit()'); print (''); diff --git a/lang/en_utf8/role.php b/lang/en_utf8/role.php index 7c6d8d0b8b..0a45a95ffe 100644 --- a/lang/en_utf8/role.php +++ b/lang/en_utf8/role.php @@ -12,6 +12,7 @@ $string['overrideroles'] = 'Override roles'; $string['potentialusers'] = '$a potential users'; $string['prevent'] = 'Prevent'; $string['prohibit'] = 'Prohibit'; +$string['roletoassign'] = 'Role to assign'; $string['site:doanything'] = 'Allowed to do everything'; $string['legacy:guest'] = 'LEGACY ROLE: Guest'; -- 2.39.5